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
- 855 views
- $5.00
Related Questions
- Evaluate $\int \frac{dx}{x \sqrt{1+\ln x}}$
- Evaluate $\int_0^{\frac{\pi}{2}}\frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}} dx$
- Not sure what I'm doing wrong
- Find the domain of the function $f(x)=\frac{\ln (1-\sqrt{x})}{x^2-1}$
- Evaluate $\int ...\int_{R_n}dV_n(x_1^2 + x_2^2 + ... + x_n^2)$ , where $n$ and $R_n$ is defined in the body of this question.
- Integrate $\int e^{\sqrt{x}}dx$
- Find the values of a, for which the system is consistent. Give a geometric interpretation of the solution(s).
- Business Calculus. Finding the deriviative.