Description Usage Arguments Value
View source: R/PSB_functions.R
Train Adaboost models for multiple rounds and get model F1 for each round.
1 2 3 4 5 6 7 8 9 | adaboostTrain(
featureMatrix,
testFold = 5,
rounds = 10,
threshold = 0.5,
iteration = 10,
mfinal = 100,
mfinal.sequence = NA
)
|
featureMatrix |
The data.frame that featureMatrix function outputs. |
testFold |
Portion of data.frame to be used as Test set. |
threshold |
The proportion of positive votes to be seen as consensus. |
iteration |
Number of iterations in training round. |
mfinal |
The mfinal value in boosting function. See more in ?adabog::boosting |
mfinal.sequence |
The list of mfinal values used. Length must be the same as iteration. Only enter when mfinal is not provided. |
round |
Number of training rounds. |
The adaboost model with the highest augmented F1 value and vecters of all pre-augmented and augmented rounds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.