We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the fit data has only one value, hence the std is 0, the current code has a workaround to avoid crashing later on when trying to crash:
https://github.com/DAI-Lab/Copulas/blob/f27d86d50db8e8e94c43bf6c0f17f650bffdd6ce/copulas/univariate/gaussian.py#L45
Wouldn't it be better to capture and implement this exceptional situation by just making all samples constant, equal to the mean?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the fit data has only one value, hence the std is 0, the current code has a workaround to avoid crashing later on when trying to crash:
https://github.com/DAI-Lab/Copulas/blob/f27d86d50db8e8e94c43bf6c0f17f650bffdd6ce/copulas/univariate/gaussian.py#L45
Wouldn't it be better to capture and implement this exceptional situation by just making all samples constant, equal to the mean?
The text was updated successfully, but these errors were encountered: