validate
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
validate.type
Members list
Value members
Concrete methods
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Type parameters
- T
-
the type of training and test data.
Value parameters
- testx
-
test data.
- testy
-
test data labels.
- trainer
-
a code block to return a classifier trained on the given data.
- x
-
training data.
- y
-
training labels.
Attributes
- Returns
-
the trained classifier.
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Value parameters
- test
-
test data.
- train
-
training data.
- trainer
-
a code block to return a classifier trained on the given data.
Attributes
- Returns
-
the trained classifier.
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Type parameters
- T
-
the type of training and test data.
Value parameters
- testx
-
test data.
- testy
-
test data labels.
- trainer
-
a code block to return a classifier trained on the given data.
- x
-
training data.
- y
-
training labels.
Attributes
- Returns
-
the trained classifier.
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Test a generic classifier. The accuracy will be measured and printed out on standard output.
Value parameters
- test
-
test data.
- train
-
training data.
- trainer
-
a code block to return a classifier trained on the given data.
Attributes
- Returns
-
the trained classifier.