8000
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
The Beta-divergence loss functions example promotes the usage of a non-public function from a non-public module.
from sklearn.decomposition._nmf import _beta_divergence
Having this example in the gallery the users might think that they are encouraged to import from an internal API.
Consider the aforementioned function as public API. That means that the function should be renamed and imported from a public module.
or
Remove the example.
The text was updated successfully, but these errors were encountered:
I agree. I am fine with both options, with a slight preference for making the function public. The function is already well documented and tested.
Sorry, something went wrong.
Hi All, Can I take on this one?
Yes
beta_divergence
Successfully merging a pull request may close this issue.
The Beta-divergence loss functions example promotes the usage of a non-public function from a non-public module.
Having this example in the gallery the users might think that they are encouraged to import from an internal API.
Potential fixes:
Consider the aforementioned function as public API. That means that the function should be renamed and imported from a public module.
or
Remove the example.
The text was updated successfully, but these errors were encountered: