adaboostTrain: Train a set of Adaboost models

Description Usage Arguments Value

View source: R/PSB_functions.R

Description

Train Adaboost models for multiple rounds and get model F1 for each round.

Usage

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
)

Arguments

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.

Value

The adaboost model with the highest augmented F1 value and vecters of all pre-augmented and augmented rounds.


ShaoxunLiu/proteinStructureBoost documentation built on Dec. 18, 2021, 1:05 p.m.