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
- 960 views
- $5.00
Related Questions
- Find value of cos(2x)
- A rectangular garden plot is to be fenced off along the property line.
- Explain partial derivatives v2
- Use Green’s theorem to compute $\int_C x^2 ydx − xy^2 dy$ where $C$ is the circle $x^2 + y ^2 = 4$ oriented counter-clockwise.
- Calculating the derivatative
- Find the coordinates of the point $(1,1,1)$ in Spherical coordinates
- Explain partial derivatives v3
- Banach fixed-point theorem and the map $Tf(x)=\int_0^x f(s)ds $ on $C[0,1]$