1/17
Looks like no tags are added yet.
Validation Method
The data is split in half into the training data and the testing data. We measure the quality of the predictions on the testing data using MSE. This method results in higher variation due to the model being built on a smaller dataset.
Leave-one-out Cross-validation (LOOCV)
We choose one point to leave out and test using the remaining n-1 data points. A drawback for this method is that it is resource intensive, with n different models being used.
k-fold Cross-validation
The data is randomly broken down into k different subsets, then we build a model using k-1 of those parts, then test on the remaining part.
Bootstrapping
Allows us to generate new data sets from an existing one by drawing at random and with replacement from our known data set. This means that we have repeatable values.
Decision Tree
An alternative approach to regression and classification by attempting to stratify or classify the data and use subgroups to make predictions.
Leaf (Terminal Node)
The endpoint value of a decision tree which is used for making a prediction
Recursive Binary Splitting
The technique which gives trees their distinctive quality and carried out through the following process:
Choose a variable
Make an optimal binary split
Repeat ad nauseum (until finished)
Pruning
Trees can be easily overfit, so this technique optimizes the predictive value of the tree and prevent overfitting.
Cost Complexity Pruning
The pruning technique seeking the subtree that minimizes Σ(yi-ŷi)²+α|T| where
α is the tuning parameter
|T| is the number of terminal nodes
E=1-maxk{p^mk}
The error rate of a classification tree’s prediction where p^mk is the proportion of data in the mth region in the kth class.
G=ΣKk=1p^mk(1-p^mk)
The Gini Index for a classification tree (optimized when p^mk=0.5). A low value for G indicates a high level of node purity (most observations in various regions are assigned correctly)
D=-ΣKk=1p^mkln(p^mk)
Entropy, another method for assessing a classification tree’s prediction power. It is very similar to the Gini Index in terms of output, however, the two aren’t exactly interchangeable.
High Variance
Decision trees have this significant disadvantage that is defined by small changes to the data set yielding wildly different trees.
Ensemble Methods
Do a bunch of simple things and aggregate the results somehow to reduce the high variance of decision trees.
Bagging
An ensemble method that builds on the success of bootstrapping to reduce variance through averaging.
Out-of-the-bag (OOB) Error Estimation
Find the prediction over all trees which xi was not used and average (regression). Find the most common output over all the trees where xi was not used (classification).
Variance Importance
When this phenomenon occurs, it should reduce the RSS/Gini a lot each time it’s used for a split.
Random Forests
Using the same bootstrapping method to generate B different training data sets with m<p randomly selected predictors to use in making the tree (typically around m<√p).