Vita
Public Member Functions | List of all members
vita::validation_strategy Class Referenceabstract

Interface for specific training / cross validation techniques (e.g. More...

#include <validation_strategy.h>

Inherited by vita::as_is_validation, vita::dss, and vita::holdout_validation.

Public Member Functions

virtual void close (unsigned)
 De-initializes the data structures needed for the validation strategy. More...
 
virtual void init (unsigned)=0
 Initializes the data structures needed for the validation strategy. More...
 
virtual bool shake (unsigned)
 Changes the training environment. More...
 

Detailed Description

Interface for specific training / cross validation techniques (e.g.

one holdout validation, dynamic subsect selection...).

Definition at line 25 of file validation_strategy.h.

Member Function Documentation

◆ close()

virtual void vita::validation_strategy::close ( unsigned  )
inlinevirtual

De-initializes the data structures needed for the validation strategy.

Note
Called at the end of the evolution (one time per run).

Reimplemented in vita::dss.

Definition at line 49 of file validation_strategy.h.

◆ init()

virtual void vita::validation_strategy::init ( unsigned  )
pure virtual

Initializes the data structures needed for the validation strategy.

Note
Called at the beginning of the evolution (one time per run).

Implemented in vita::dss, vita::holdout_validation, and vita::as_is_validation.

◆ shake()

virtual bool vita::validation_strategy::shake ( unsigned  )
inlinevirtual

Changes the training environment.

Returns
true if the training environment has changed

By default does nothing, signalling that nothing is changed.

Note
Called at the beginning of every generation (multiple times per run).

Reimplemented in vita::dss.

Definition at line 44 of file validation_strategy.h.


The documentation for this class was generated from the following file: