Inconsistent documentation in neighbors/classification.py
See original GitHub issuePer this line, the shape of the first argument, X
, is n_query
by n_feature
. However, subsequent lines (and the code itself) seem to call it n_samples
by n_outputs
. The code is pretty self explanatory, but it would be nice that lines 138 and 144 are consistent.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
User guide: contents — scikit-learn 1.2.0 documentation
User Guide: Supervised learning- Linear Models- Ordinary Least Squares, Ridge regression and classification, Lasso, Multi-task Lasso, Elastic-Net, ...
Read more >fx86 - Profile - Bountysource
fx86 commented on this issueInconsistent documentation in neighbors/classification.py. scikit-learn 3 years ago.
Read more >RESCRIPt: Reproducible sequence taxonomy reference database ...
Nucleotide sequence and taxonomy reference databases are critical resources for widespread applications including marker-gene and metagenome sequencing for ...
Read more >Poor Documentation: Why It Happens and How to Fix It
Determining the specifics of what constitutes poor documentation is the first step. According to Drew K.
Read more >Distribution of difference between each predictor and a trivial model ...
These techniques predict defects at the granularity of typical software assets, such as components and files. In this paper, we investigate feature-oriented ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing because the original issue regarding consistency between
X
and the output is fixed onmain
:https://github.com/scikit-learn/scikit-learn/blob/8d6d7d9f408642ae7394801f2d44db62aa0d5b0c/sklearn/neighbors/_classification.py#L574-L581
I can take this up! If this is not already taken up.
ping @jnothman @leotrs
On Thu, 17 Jan 2019 at 8:32 AM, Joel Nothman notifications@github.com wrote:
– (Handheld)