-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Ensure all attributes are documented #14312
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
Comments
I have already found at least one mismatch in attribute documentation in NMF class description. I think I can take some of this work. I am almost ready to propose some changes within |
Missing attribute docstrings for each estimatorReference this issue in your PR
|
I can take up the
|
I'm working on LinearRegression, [rank_, singular_]. |
I'm working on LinearSVC, [n_iter_] and LinearSVR, [n_iter_] |
I'll take up
|
nevermind, misread where attributes are missing and where not |
It's looking like there is also |
I will work on TfidfVectorizer, [fixed_vocabulary_] |
I will work on:
|
I'm working on:
EDIT: opened an issue to change these attributes from public to private (reference: #14364) |
I am working on: |
I will work on:
|
I'm working on Lasso. |
I'm now working on adding the attribute |
I'm working on LarsCV. |
@thomasjpfan it is said in the classes Therefore, these attributes probably don't need documentation anymore, right? |
The attributes |
Since we are deprecating them I would say we would not need document them.
Yup those should be deprecated then removed if they are not already. |
The So these attributes also don't need documentation right? |
Right @Abilityguy, thanks for pointing out that. |
I can see below mismatch in RidgeGCV : and in BaseRidgeCV: Can I take it up? I am first timer and wants to contribute. |
@marenwestermann in the class FeatureAgglomeration, it is said that, in version 0.21, n_connected_components_ was added to replace n_components_, then n_components_ would be false positive right..? |
@srivathsa729 from my understanding yes. However, it would be good if one of the core developers could double check. |
I will take up ElasticNet |
Documentation of the attributes X_offset_ and X_scale_ for BayesianRidge has been added with #18607 . |
The attribute output_2d_ is deprecated in DummyClassifier and DummyRegressor (see #14933). |
I ran the script provided by @amueller at the top of this PR (the code needs to be slightly modified because things have moved around). I couldn't find any more attributes that need to be documented with the exception of |
Hello. I wanted to take this on as a first issue, but it seems that all attributes have already been documented? |
Thanks @marenwestermann for checking! This is very helpful. |
It turns out that all detections from the script in the descriptions are false positives, I'm closing this one. Thanks to all the contributors for their helpful work! |
as discussed in #13385 we need to ensure all attributes are documented.
if you want to work on this, you should pick a specific submodule and fix all the attribute documentation mismatches in that submodule.
Here's a script to find remaining ones (there might be some false positives):
The text was updated successfully, but these errors were encountered: