About the scikit-learn API

Asked 1 years ago, Updated 1 years ago, 112 views

This is a question about regression using scikit-learn's decision tree.

In this algorithm,
.score and
predictive accuracy The .features_importances_indicates the importance of feature quantities is
I'm sure there are, but
How is each regression calculated?

For classification, the former is the percentage that was correctly classified. I remember that the latter is a characteristic amount that greatly reduces the degree of impurities...
How is it expressed in regression?

I would appreciate your encouragement.

python machine-learning

2022-09-30 21:31

1 Answers

feature importances is Gini Severity, score is R^2 score.
If you're talking about how it's actually calculated, you can see the source code.


2022-09-30 21:31

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.