-
Notifications
You must be signed in to change notification settings - Fork 4
Add docstrings! #26
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
Add docstrings! #26
Conversation
There is no need to document any methods in MLJ interface code. The focus in JuliaAI/MLJ.jl#913 is on documenting the model types and that's where all documentation goes. While Julia is not OO, in this case we are kind of organising the documentation as if it were, and so a model docstring here looks a bit like an estimator docstring in sk-learn. As you can see from the DecisionTree.jl example, if a model implements All possible operations are listed here for example. The operations |
Codecov Report
@@ Coverage Diff @@
## dev #26 +/- ##
=======================================
Coverage 94.44% 94.44%
=======================================
Files 1 1
Lines 90 90
=======================================
Hits 85 85
Misses 5 5
Continue to review full report at Codecov.
|
Co-authored-by: Anthony Blaom, PhD <[email protected]>
I've finished reviewing LinearRegressor. Nice example. |
Woohoo! I should have linear classification and count regression knocked out soon, just working out these examples! |
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Still need example for count regressor, and the usual fitted params et. al.
Co-authored-by: Anthony Blaom, PhD <[email protected]>
@josephsdavid Very embarrassing, but I wrote "marginal" when I meant "conditional" in my suggestions for the intro docstrings. I've edited them accordingly. 😳 |
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still looks like we need to check consistency of item line beginnings (lower case?) and endings (no period?)
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
Co-authored-by: Anthony Blaom, PhD <[email protected]>
* reformat code to adhere to bluestyle format (no logical changes made) * replace macro with macro and drop Parameters.jl dependency * Update ci.yml * Add docstrings! (#26) * add docstring skeletons * blue compliance * linear regression done? * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Add LinearBinaryClassifier Still need example for count regressor, and the usual fitted params et. al. * update docs with suggested header * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * resolve scitype issue * fix more scitype issues * formatting and details * more scitypes * add count regression example * marginal -> conditional * cleanup * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * see also fix * scitype fix * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * drop regressor wiki * touch up * tidied up * add crabs and consistent capitalizations/punctuations * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * Update src/MLJGLMInterface.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * cleaned up Co-authored-by: Anthony Blaom, PhD <[email protected]> Co-authored-by: OkonSamuel <[email protected]> Co-authored-by: Okon Samuel <[email protected]> Co-authored-by: David Josephs <[email protected]>
Week one of GSOD work! in service of #25 and #913