Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about sci-learn packet of Decision Tree(CART) #1

Open
mimiao2017 opened this issue Aug 13, 2017 · 0 comments
Open

about sci-learn packet of Decision Tree(CART) #1

mimiao2017 opened this issue Aug 13, 2017 · 0 comments

Comments

@mimiao2017
Copy link
Owner

classifier:

criterion : string, optional (default=”gini”). Supported criteria are “gini” for the Gini impurity and “entropy” for the information gain.

regressor:

criterion : Supported criteria are “mse” for the mean squared error, which is equal to variance reduction as feature selection criterion and minimizes the L2 loss using the mean of each terminal node, “friedman_mse”, which uses mean squared error with Friedman’s improvement score for potential splits, and “mae” for the mean absolute error, which minimizes the L1 loss using the median of each terminal node.

impurity decrease = N_t / N * (impurity - N_t_R / N_t * right_impurity - N_t_L / N_t * left_impurity)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant