C# Class AIMA.Core.Learning.Learners.AdaBoostLearner

Inheritance: Learner
Datei anzeigen Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
AdaBoostLearner ( List learners, DataSet ds ) : System
predict ( Example e ) : String
test ( DataSet ds ) : int[]
train ( DataSet ds ) : void

Private Methods

Method Description
adjustExampleWeights ( DataSet ds, Learner l, double error ) : void
calculateError ( DataSet ds, Learner l ) : double
createTargetValueLearnerTable ( List targetValues, Example e ) : Table
getTargetValueWithTheMaximumVotes ( List targetValues, Table table ) : String
initializeExampleWeights ( int size ) : void
initializeHypothesisWeights ( int size ) : void
scoreOfValue ( String targetValue, Table table, List learners ) : double
weightedMajority ( Example e ) : String

Method Details

AdaBoostLearner() public method

public AdaBoostLearner ( List learners, DataSet ds ) : System
learners List
ds AIMA.Core.Learning.Framework.DataSet
return System

predict() public method

public predict ( Example e ) : String
e AIMA.Core.Learning.Framework.Example
return String

test() public method

public test ( DataSet ds ) : int[]
ds AIMA.Core.Learning.Framework.DataSet
return int[]

train() public method

public train ( DataSet ds ) : void
ds AIMA.Core.Learning.Framework.DataSet
return void