Data Science Desktop Survival Guide
by Graham Williams |
|||||
Complexity Parameter Behaviour |
We don't see much of the true behaviour of the complexity parameter with our small dataset. We can build a more interesting model based on the larger weatherAUS dataset from rattle.
If we build a default model then we can plot the complexity parameter as before.
tmodel <- rpart(form, ds[vars])
plotcp(tmodel)
|