stats not found
muellermarkus opened this issue · comments
I tried to load and use the KDITransformer inplace of the QuantileTransformer. I get the error that stats
has not been found. It seems like the import of the scipy.stats is not working out. You currently import it as import scipy.stats as spst
but refer to it as stats
.
kditransform/kditransform/kdi_transformer.py
Line 440 in 72641da
@muellermarkus - thanks for catching this! I've pushed a fix (commit 7c6c85d), so this should work now, assuming you're installing from source. (I will update the pypi package soon as well.)
One caveat is that I support output_distribution='normal'
for backwards-compatibility, but never experimented with it, and I would recommend using the default output_distribution='uniform'
for most use-cases.
Fixed as of commit 7c6c85d, which is now uploaded to v0.2 release on PyPI.