Branch: refs/heads/master
Home: https://github.com/scikit-learn/scikit-learn
Commit: 90570ab0319c39ad89ea94ce1884ffefb6c79090
https://github.com/scikit-learn/scikit-learn/commit/90570ab0319c39ad89ea94ce...
Author: Adrin Jalali
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M sklearn/tree/_criterion.pxd
M sklearn/tree/_criterion.pyx
M sklearn/tree/_splitter.pxd
M sklearn/tree/_splitter.pyx
M sklearn/tree/_tree.pyx
M sklearn/tree/_utils.pxd
Log Message:
-----------
MNT simplify some tree code with memoryviews (#12886)
* simplify apply_dense with memoryviews
* change more Xs to memviews in splitter
* remove commented out lines
* trying to remove y_stride
* float->dtype_t
* criterion has no more y_stride
* remove redundant constructs and handle const y input
* fix criterion docstring for y's dtype
* revert docstring for y
* formatting: no space between type name and [:, :]
* remove redundant X
* more cleanup on criterion
* address comment