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
- 984 views
- $5.00
Related Questions
- Prove that $\int_{-\infty}^{\infty}\frac{\cos ax}{x^4+1}dx=\frac{\pi}{2}e^{-\frac{a}{\sqrt{2}}}(\cos \frac{a}{\sqrt{2}}+\sin \frac{a}{\sqrt{2}} )$
- Basic calc question
- Find the composition function $fog(x)$
- Proving f is continuous
- What is this question asking and how do you solve it?
- Does an inequality of infinite sums imply another?
- How to recalculate 2D polygon side lengths when tilt is applied in 3D space?
- Evluate $\int_{|z|=3}\frac{1}{z^5(z^2+z+1)}\ dz$