Articles → MACHINE LEARNING → Variance Reduction Splitting Criteria In The Decision Tree For Regression Problems

Variance Reduction Splitting Criteria In The Decision Tree For Regression Problems






When Is This Criterion Used?





Example




HouseSize (sq ft.)Price (₹ lakhs)
H180030
H2100040
H3120050
H4150065
H5180080




  1. Sort by continuous value.
  2. Find the midpoint between two consecutive numbers.
  3. Find the parent variance of the target variable.
  4. For Each Midpoint: Compute Left And Right Variances, Weighted Average Variance, And Variance Reduction.
  5. Conclusion.

Sort By Continuous Value





Find The Midpoint Between Two Consecutive Numbers


Consecutive ValuesMidpoint
(800, 1000)900
(1000, 1200)1100
(1200, 1500)1350
(1500, 1800)1650



Find The Parent Variance Of The Target Variable




(30 + 40 + 50 + 65 + 80)/5 = 53




[(30−53)²+(40−53)²+(50−53)²+(65−53)²+(80−53)²]/5



For Each Midpoint: Compute Left And Right Variances, Weighted Average Variance, And Variance Reduction


MidpointLeft LeafRight LeafWeighted average varianceVariance reduction (Parent variance − Weighted variance)
900[30]

Mean = 30

Variance = (30 – 30)²/1 = 0
[40, 50, 65, 80]

Mean = 58.75

Variance = (45 − 58.75)² + (50 − 58.75)² + (65 − 58.75)² + (80 − 58.75)²/4= 189.0625
(1/5)*0 + (4/5)*189.0625 = 151.25316 – 151.25 = 164.75
1100[30, 40]

Mean = 35

Variance = (30 − 35)² + (40 − 35)²/2 = 25
[50, 65, 80]

Mean = 65

Variance =(50 − 65)² + (65 − 65)² + (80 − 55)²/3 = 283.33
(2/5)*25 + (3/5)*283.33 = 172316-172 = 144
1350[30, 40, 50]

Mean = 40

Variance= (30 − 40)² + (40 − 40)² + (50 − 40)²/3 = 66.67
[65, 80]

Mean = 72.5

Variance = (65 − 72.5)² + (80 − 72.5)²/2=56.25
(3/5)*66.67 + (2/5)*56.25 = 62.5316-62.5 = 253.5
1650[30, 40, 50, 65]

Mean = 46.25

Variance = (30 − 46.25)² + (40 − 46.25)² + (50 − 46.25)² + (65 − 46.25)²/4=167.1875
[80]

Mean = 80

Variance = (80 – 80)2/1 = 0
(4/5)*167.1875 + (1/5)*0 = 133.75316-133.75=182.25



Conclusion







Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, September 30, 2025

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250