CART Gini cost function
How is CART impurity cost function minimized?
$$J(k,t_k) = \frac{m_{left}}{m}G_{left}+\frac{m_{right}}{m}G_{right}$$
where
$$G_{left/right}$$ measures the impurity of the left/right subset
and
$$m_{left/right }$$ is the number of instances in the left/right subset$$
So how to minimize it? Should I try all possible feature values linearly and calculclate loss function for each of them?
106
Answer
Answers can only be viewed under the following conditions:
- The questioner was satisfied with and accepted the answer, or
- The answer was evaluated as being 100% correct by the judge.
2.1K
-
okay, nice, thanks
The answer is accepted.
Join Matchmaticians Affiliate Marketing
Program to earn up to a 50% commission on every question that your affiliated users ask or answer.
- answered
- 892 views
- $5.00
Related Questions
- Applications of Integration [Calculus 1 and 2]
- Help formulating sine function
- 3 Multi-step response questions
- Under the hood of Hard Margin SVM
- Show that the line integral $ \oint_C y z d x + x z d y + x y d z$ is zero along any closed contour C .
- Finding only one real root for a function
- Compute $\oint_C y^2dx+3xydy $ where where $C$ is the counter clickwise oriented boundary of upper-half unit disk
- Prove that $\int _0^{\infty} \frac{1}{1+x^{2n}}dx=\frac{\pi}{2n}\csc (\frac{\pi}{2n})$