Class ValidatorBase¶
Defined in File validator.h
Inheritance Relationships¶
Base Type¶
public marian::TrainingObserver
(Class TrainingObserver)
Derived Types¶
public marian::Validator< DataSet, BuilderType >
(Template Class Validator)public marian::Validator< data::Corpus, models::ICriterionFunction >
(Template Class Validator)public marian::Validator< data::Corpus, models::IModel >
(Template Class Validator)public marian::Validator< data::MNISTData, models::IModel >
(Template Class Validator)
Class Documentation¶
-
class
ValidatorBase
: public marian::TrainingObserver¶ Base class for validators.
Subclassed by marian::Validator< DataSet, BuilderType >, marian::Validator< data::Corpus, models::ICriterionFunction >, marian::Validator< data::Corpus, models::IModel >, marian::Validator< data::MNISTData, models::IModel >
Public Functions
-
ValidatorBase
(bool lowerIsBetter)¶
-
virtual
~ValidatorBase
()¶
-
virtual float
validate
(const std::vector<Ptr<ExpressionGraph>> &graphs, Ptr<const TrainingState> state) = 0¶
-
float &
lastBest
()¶
-
size_t &
stalled
()¶
-
float
initScore
()¶
-
void
actAfterLoaded
(TrainingState &state)¶
-