Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: raise Exception when an item in distributions is not a valid distribution #42

Open
amirpaster opened this issue Sep 5, 2021 · 0 comments

Comments

@amirpaster
Copy link

When an item in the distributions list is not a valid distribution, the fit method yields warnings, e.g.:
WARNING:root:SKIPPED normal distribution (taking more than 30 seconds)
WARNING:fitter.fitter:normal was not fitted. no parameters available
These are IMHO ambiguous and should be replaced by raising an exception

The above behaviour can be generated by the following commands
f = Fitter(data, distributions=['beta', 'gamma', 'normal'])
f.fit()
which yield the following result https://gist.github.com/amirpaster/c25bac5e4cacae04fe538742f8b6e1cf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant