Download presentation
Presentation is loading. Please wait.
Published byAlberta Lyons Modified over 6 years ago
1
Trees Nodes Is Temp>30? False True Temp<=30° Temp>30°
Dies Dies Lives Terminal or Leaf Nodes
2
Trees Classification Trees Regression Trees Boosted Trees
Predicted outcome is a class (cover type) Regression Trees Predicted outcome is a value (percent) Boosted Trees Combines classification and regression trees Random Forests Combines many trees to improve fit
3
Classification Trees Reflectance < 0.1 False True Water
Snow or Cloud Ground
4
Classification Tree Snow or Ice Water Ground 0.0 0.1 0.9 1.0
Group activity, draw the tree for this data. 0.0 0.1 0.9 1.0 Reflectance
5
Regression Trees Precipitation < 0.5 True False
Suitability=0.0 Suitability=0.3 Suitability=0.5 Suitability=0.0
6
Regression Trees 1.0 0.5 Suitability 0.3 0.0 0.0 0.1 0.5 1.0
7
Trees Classification and Regression Trees
Predictors can be continuous or categorical Easy to interpret and understand Robust Easy to validate Statistical methods well understood Can still make really complex trees that over fit the data!
8
Regression Trees in GIS
Geospatial and regression tree analysis to map groundwater depth for manual well drilling suitability in the Zinder region of Niger
9
CA Housing Prices
10
CA Housing Prices
11
Building Trees Goals: Approach:
Find the tree with the least number of “nodes” (branches) that best represents the phenomenon Approach: Minimize the “deviance” that the samples have from the model
12
R squared With continuous response, we can use R2 Where:
𝑅 2 =1− 𝑆𝑆 𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙𝑠 𝑆𝑆 𝑡𝑜𝑡𝑎𝑙 𝑆𝑆 𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙𝑠 = ( 𝑦 𝑖 − 𝑓 𝑖 ) 2 𝑆𝑆 𝑡𝑜𝑡𝑎𝑙 = ( 𝑦 𝑖 − 𝑦 𝑖 ) 2 Where: 𝑦 𝑖 = observed values 𝑓 𝑖 = predicted values 𝑦 𝑖 = mean of observed data SS residuals = sum of squares of the residuals SS total = total sum of squares See: R2 = coefficient of determination
13
Regression Trees in GIS
Length of branch indicates amount of deviance explained Length of the Geospatial and regression tree analysis to map groundwater depth for manual well drilling suitability in the Zinder region of Niger
14
Regression Trees Analysis of Object Oriented Software, Science Direct
15
Additional Resources An Introduction to Categorical Data Analysis
By ALAN AGRESTI Page 85 R Documentation:
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.