-
Notifications
You must be signed in to change notification settings - Fork 22
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
Create MLJ-compliant doc strings #145
Comments
Would you have reference / example regarding these docstring format? |
Yes, we have both. See https://alan-turing-institute.github.io/MLJ.jl/dev/adding_models_for_general_use/#Document-strings . If you also have a "native" interface for your MLJ objects, this can of course be worked into the doc string. Happy to review |
WIP for JuliaAI/MLJ.jl#913 |
@ablaom If you have time, let me know what you think of https://evovest.github.io/EvoTrees.jl/dev/. Models in particular are found under the Models section. Working out the docs, I had a few observations:
|
@jeremiedb Immensely appreciate this effort, and the feedback. Currently swamped with reviews, but I will get to this eventually. I'm guessing what you have is already can be safely assumed a big improvement, so not super urgent, right?
A conscious decision. We did not want StatsBase.jl as a dependency of MLJModelInterface.jl, which is supposed to be super lightweight. StatBase has a number of dependencies itself which we did not want to impose on implementers of our API. Is this design decision causing you some grief or just the usual inconvenience of living with some name conflicts?
I think there is some growing feeling that it's okay for packages to own separate methods, or at least this is increasingly difficult to avoid universally. After all, the StatsBase API for
I understand the objection, but I feel this is one of those terminological decisions it is difficult to get consensus about. In any case, I think that boat has sailed as far as MLJ is concerned. I think the docs are pretty consistent within MLJ, no? I mean "In MLJ a model is ..." is scattered pretty ubiquitously in the docs and tutorials, no? |
@jeremiedb Saw your recent doc PR and thought I'd flag this. I understand you may not have the bandwidth just now, but should be aware there is now an "official" format for these strings, so you don't work against it unwittingly.
The text was updated successfully, but these errors were encountered: