[MRG +1] Fix text data tutorial#6923
Conversation
|
Also, after the fix, I get the following Is this expected behaviour? I couldn't find the origin of this. |
|
LGTM. Not sure what recent change triggered this. |
|
Hi, I am not sure if it is correct but I suppose the to should fix the warning IMO. Cheers. |
| mean score and the parameters setting corresponding to that score:: | ||
|
|
||
| >>> gs_clf.best_score_ | ||
| >>> gs_clf.best_score_ # doctest: +ELLIPSIS |
There was a problem hiding this comment.
@jnothman Fixed. Instead of two spaces, I have aligned it with rest of the existing # doctest: +ELLIPSIS declarations.
#6697 I suspect. |
|
This looks good to me, and I'm happy to merge; let me know if you'd rather add in a fix for the print statement. |
- Fix a typo. - Fix a floating point error in doctests. - Fix `VisibleDepricationWarning` due to conversion of an array with ndim > 0 to an index. - Convert `print` to `log` to avoid doctests failure. Fixes: #6927 Signed-off-by: Rohan Jain <[email protected]>
|
Included the fix for |
|
Thanks. |
- Fix a typo. - Fix a floating point error in doctests. - Fix `VisibleDepricationWarning` due to conversion of an array with ndim > 0 to an index. - Convert `print` to `log` to avoid doctests failure. Fixes: scikit-learn#6927 Signed-off-by: Rohan Jain <[email protected]>
- Fix a typo. - Fix a floating point error in doctests. - Fix `VisibleDepricationWarning` due to conversion of an array with ndim > 0 to an index. - Convert `print` to `log` to avoid doctests failure. Fixes: scikit-learn#6927 Signed-off-by: Rohan Jain <[email protected]>
Reference Issue
Getting a doctest error in my local:
What does this implement/fix? Explain your changes.
Use
doctest: +ELLIPSISto fix the issue and fix a type in the document.Any other comments?
None