8. Model evaluationΒΆ
Initiates the main model evaluatoin dictionary for a range of model metric scores. |
|
Appends the computed metric score per run to the main output dictionary. |
|
Initiates and empty main output dataframe. |
|
Appends output dataframe of each simulation to main output dataframe. |
|
Computes a range of model evaluation metrics and appends the resulting scores to a dictionary. |
|
Determines a range of model accuracy values for each polygon. |
|
Initiates empty lists for range of variables needed to plot ROC-curve per simulation. |
|
Saves data needed to plot mean ROC and standard deviation to csv-files. |
|
Computes the correlation matrix for a dataframe. |
|
Determines relative importance of each feature (i.e. |
|
Returns a dataframe with the mean permutation importance of the features used to train a RF tree model. |