I am trying to write a custom split function for decision trees in sklearn by editing the file - scikit-learn/tree/_criterion.pyx
I have copied the existing MSE and p