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?
![Babaduras](https://matchmaticians.com/storage/user/105178/thumb/AAcHTtdbRJSP7BZBgbm_Fb-ZH-NdLwp21VO9f_y2JqAJ7td8-avatar-512.jpg)
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.
1.9K
-
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
- 354 views
- $5.00
Related Questions
- Derivative of $\int_{\sin x}^{x^2} \cos (t)dt$
- Let $ X = x i+ y j+z k$, and $r=||X||$. Prove that $\nabla (\frac{1}{r})=-\frac{X}{r^3}.$
- Spot my mistake and fix it so that it matches with the correct answer. The problem is calculus based.
- Differentiate $f(x)=\int_{\tan x}^{0} \frac{\cos t}{1+e^t}dt$
- Beginner Differential Equations - Growth Rate Question
- Two persons with the same number of acquaintance in a party
- Proving f is continuous
- Find a general solution for $\int at^ne^{bt}dt$, where $n$ is any integer, and $a$ and $b$ are real constants.