skpro icon indicating copy to clipboard operation
skpro copied to clipboard

[ENH] adapter for `scipy` distributions

Open fkiraly opened this issue 1 year ago • 0 comments

Adapting scipy distributions is very formulaic and could easily be dealt with by an adapter class. This also avoids duplication in implementation efforts, as scipy is a core dependency.

This may require some abstraction around methods, but it seems mostly like a delegator class, as scipy does its own broadcasting.

Further discrepancies to be mindful of:

  • energy and similar integrals are not implemented in scipy
  • the class parameterization is different, scipy uses class methods whereas skpro uses __init__ based parameterization

Good first issue with a design/architecture flavour, can be leveraged to cover a lot of ground in https://github.com/sktime/skpro/issues/22.

fkiraly avatar Mar 31 '24 12:03 fkiraly