Description Usage Arguments Value Examples
A helper function used by the GetModelWeights function. It uses the given data to predict and pull the metric from the data.
| 1 | GetWeightsFromTestingSet(ensemble, df.train, test.set, train.type)
 | 
| ensemble | The training data to build the models. | 
| df.train | The predictions of the model, given in DataFrame format. | 
| test.set | The data test set so that metrics can be calculated. | 
| train.type | The metric to be used in getting model weights. We pull this metric from the confusion matrix. | 
A vector containg weights for the Ensemble's models.
| 1 2 | # This function is used by Ensemble. It's usage is as follows:
# return(GetWeightsFromTestingSet(ensemble, weights, test.set, train.type))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.