scikit-learn源码阅读
文章平均质量分 55
scikit-learn源码阅读
a flying bird
永远飞翔的鸟
展开
-
sklearn/tree/_criterion.pyx
注解:原创 2021-02-14 21:19:08 · 346 阅读 · 0 评论 -
sklearn\tree\_splitter.pyx
_splitter用于最优特征分裂的搜索,根据传入的criterion(分裂准则)计算相关衡量指标,确定最有分裂点。 X : object This contains the inputs. Usually it is a 2d numpy array. y : ndarray, dtype=DOUBLE_t This is the vector of targets, or true labels, for the sam...原创 2021-02-16 10:26:10 · 276 阅读 · 0 评论