Public Member Functions | Protected Attributes

CModelSelection Class Reference

Detailed Description

Abstract base class for model selection. Takes a parameter tree which specifies parameters for model selection, and a cross-validation instance and searches for the best combination of parameters in the abstract method select_model(), which has to be implemented in concrete sub-classes.

Definition at line 30 of file ModelSelection.h.

Inheritance diagram for CModelSelection:
Inheritance graph

List of all members.

Public Member Functions

 CModelSelection (CModelSelectionParameters *model_parameters, CCrossValidation *cross_validation)
virtual ~CModelSelection ()
virtual CParameterCombinationselect_model ()=0
virtual const char * get_name () const

Protected Attributes


Constructor & Destructor Documentation

CModelSelection ( CModelSelectionParameters model_parameters,
CCrossValidation cross_validation 


model_parameters parameter tree with model parameters to optimize
cross_validation cross-validation instance to use for evaluation of a certain combination of parameters

Definition at line 18 of file ModelSelection.cpp.

~CModelSelection (  )  [virtual]


Definition at line 33 of file ModelSelection.cpp.

Member Function Documentation

virtual const char* get_name (  )  const [virtual]
name of the SGSerializable

Implements CSGObject.

Reimplemented in CGridSearchModelSelection.

Definition at line 51 of file ModelSelection.h.

virtual CParameterCombination* select_model (  )  [pure virtual]

abstract method to select model

best combination of model parameters

Implemented in CGridSearchModelSelection.

Member Data Documentation

cross validation

Definition at line 57 of file ModelSelection.h.

model parameters

Definition at line 55 of file ModelSelection.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation