ml.rf¶
Functions for the random forest classifier.
Functions
|
Evaluate the random forest classifiers and return confusion matrices for both features. |
General plotting parameters for the Kulik Lab. |
|
|
|
|
Load data from CSV files for each mimo in the given list. |
|
Plot confusion matrices for distance and charge features. |
|
Plot the average charge and distance data for the given MIMO types. |
|
Plot Gini importance bar plots for the top 20 features for each feature type. |
|
Plot the ROC curve for the test data of the charge and distance features. |
|
Preprocess data for training and testing by splitting it based on the given test fraction. |
|
|
|
Train random forest classifiers for the distance and charge features. |