CrossValidator class abstract

A factory and an interface for all the cross validator types

Constructors

CrossValidator.kFold(DataFrame samples, {int numberOfFolds = 5, DType dtype = dTypeDefaultValue})
Creates a k-fold validator to evaluate the quality of a ML model.
factory
CrossValidator.lpo(DataFrame samples, int p, {DType dtype = dTypeDefaultValue})
Creates a LPO validator to evaluate the quality of a ML model.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

evaluate(ModelFactory createModel, MetricType metricType, {DataPreprocessFn? onDataSplit}) Future<Vector>
Returns a future that is resolved with a vector of scores of quality of a model depending on given metricType
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited