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?

92
Answer
Answers can be viewed only if
- The questioner was satisfied and accepted the answer, or
- The answer was disputed, but the judge evaluated it as 100% correct.
1.1K
-
okay, nice, thanks
The answer is accepted.
Join Matchmaticians Affiliate Marketing
Program to earn up to 50% commission on every question your affiliated users ask or answer.
- answered
- 126 views
- $5.00
Related Questions
- Need Upper Bound of an Integral
- Explain what the problem means in laymens terms.
- Riemann Sums for computing $\int_0^3 x^3 dx$
- A rectangular garden plot is to be fenced off along the property line.
- Evaluate $\int \sqrt{\tan x} dx$
- Use Rouche’s Theorem to show that all roots of $z ^6 + (1 + i)z + 1 = 0$ lines inside the annulus $ \frac{1}{2} \leq |z| \leq \frac{5}{4}$
- Solve the attached problem
- Find $\lim_{x \rightarrow} x^2 \sin(1/x) $. Cite theorems used and show all work