You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which part of the documentation needs improvement?
Which part of the documentation needs improvement? Documentation API (so enhance the code source docstring). Indeed:
The skore documentation will soon be launched (#412). Same as in scikit-learn, there will be an API tab. Actually, what is done in Sphinx documentation is that all the content of the documentation on our classes is automatically built from the docstring of the code source.
For the documentation of the Project class, it needs to be mentioned that the class isn't supposed to be instantiated directly; rather, the user should first run python3 -m skore create project.skore and then in their script run project = skore.load("project.skore")
TODO: once the cross-validate PR is validated, check that it's compliant with the rest (from the PR, it looks ok to me).
To me, it will be all good. @sylvaincom do you see any other part of the repo that needs better documentation?
Hmm I think we're aiming at DS users that will probably ignore the front end and back end API to focus on ML API such as cross validation and train test split
But having a minimal clean docstring everywhere is nice to have I think
Which part of the documentation needs improvement?
Which part of the documentation needs improvement? Documentation API (so enhance the code source docstring). Indeed:
The
skore
documentation will soon be launched (#412). Same as in scikit-learn, there will be an API tab. Actually, what is done in Sphinx documentation is that all the content of the documentation on our classes is automatically built from the docstring of the code source.Example with scikit-learn's logistic regression
The documentation API looks like this:
...
while the corresponding docstring in the code base looks like this:
...
Describe the problem found in the documentation
Currently, our docstring is quite poor:
Especially, for machine learning stuff such as
skore.cross_validate
, it will have to be properly documented cc @augustebaum, @MarieS-WiMLDS.Suggested improvement
Please write docstring everywhere! For each class, describe its attributes, etc. For each method of each class, document it.
Additional context
No response
The text was updated successfully, but these errors were encountered: