Identify feature dependencies using Random Forests
masterFeatures in machine learning are rarely independent. To identify if a feature $x$ is dependent on other features, you can train a model using $x$ as the target and all other features as predictors.
Because random forests provide an out-of-bag (OOB) error estimate, the feature dependence functions in this project use random forest models to calculate this. A high $R^2$ prediction error indicates that feature $x$ is highly dependent on the other features.