thomasjpfan on main
MAINT pin max numpydoc for now … (compare)
should work all OS I think
cd doc make html
_build/htmlfolder and you can search for the
sklearn/metrics/pairwise.py. My question is, are the examples run in the doc building process and output is generated or I am supposed to manually write the output of the example in the docstring of a function?
KDTreeregarding the issue. But I looked into
sklearn/neighbors/kd_tree.pyxand it looks like
KDTreeis inheriting its docstring from
BinaryTree. So can someone tell me an elegant way to append my note docstring to the inherited docstring of
KDTreeor if I could do something else to solve this issue.
pip install --editable .as stated in the docs https://scikit-learn.org/stable/developers/advanced_installation.html#building-from-source but I am getting this error. Can someone help me out.
ERROR: Cannot uninstall 'scikit-learn'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Hi team, I am new to Cpython but really wants to play with the internals of sklearn. I want to test out some of the cdef classes in the pyx file but looks like the methods are inaccessible within Python. Any thought?
from sklearn.tree import _utils ph = _utils.PriorityHeap(100) dir(ph)
And I cannot find call methods like pop, push.
Usually how does the workflow look like if I want to play with the internals of sklearn within Jupyter notebook.
%%cython # requires numpy headers from sklearn.tree._utils cimport Stack s = Stack(10) print(s.top) >>> AttributeError: 'sklearn.tree._utils.Stack' object has no attribute 'top'