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.
2K
-
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
- 554 views
- $5.00
Related Questions
- Evaluate $\int \ln(\sqrt{x+1}+\sqrt{x}) dx$
- Find the derivative of $f(x)=\int_{\ln x}^{\sin x} \cos u du$
- There are two questions about calculus
- Derivatives again. Thank you!
- Compute $\lim\limits_{x \rightarrow 0} \frac{1-\frac{1}{2}x^2-\cos(\frac{x}{1-x^2})}{x^4}$
- Does $\lim_{(x,y)\rightarrow (0,0)}\frac{(x^2-y^2) \cos (x+y)}{x^2+y^2}$ exists?
- Applied calc question 2 and 3
- Please answer the attached question about Riemann integrals