I would like to create a single decision tree from my data, but I want the decision tree to make the first split using a feature that I selected, not necessarily the feature that creates the best split. The library doesn't seem to support it, I looked in the source code and it seems that this functionality is implemented deeply inside the sklearn library. Maybe someone has a better solution before I dive into forking the sklearn library?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.