|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MTLearner
Method Summary | |
---|---|
void |
init(clus.data.rows.RowData data,
clus.main.Settings sett)
Initialize the MTLearner |
void |
initXVal(int nrFolds)
|
clus.data.rows.RowData |
LearnModel(TargetSet targets)
Learns a model for the complete trainingset and returns predictions for the testset |
clus.data.rows.RowData |
LearnModel(TargetSet targets,
int foldNr)
Learns a model for fold foldNr and returns the predictions for the remaining data |
void |
setData(clus.data.rows.RowData data)
|
void |
setTestData(clus.data.rows.RowData test)
|
Method Detail |
---|
void init(clus.data.rows.RowData data, clus.main.Settings sett)
data
- The datasetsett
- The settings fileclus.data.rows.RowData LearnModel(TargetSet targets, int foldNr)
targets
- The targets used in the MT modelfoldNr
- The fold to learn a model for
clus.data.rows.RowData LearnModel(TargetSet targets) throws java.lang.Exception
targets
- The targets used in the MT model
throws
- an exception if the testset is not set by setTestData();
java.lang.Exception
void setData(clus.data.rows.RowData data)
void setTestData(clus.data.rows.RowData test)
void initXVal(int nrFolds)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |