1 #ifndef _theplu_yat_classifier_sampler_
2 #define _theplu_yat_classifier_sampler_
27 #include "yat/utility/Index.h"
33 namespace classifier {
59 size_t size(
void)
const;
const Target & training_target(size_t i) const
std::vector< utility::Index > validation_index_
index of validation sets for the partitions
Definition: Sampler.h:99
Class for containing sample labels.
Definition: Target.h:47
Sampler(const Target &target, size_t N)
Constructor.
std::vector< Target > validation_target_
Targets for validation sets for the partitions.
Definition: Sampler.h:101
Class for storing indices of, e.g., a MatrixLookup.
Definition: Index.h:41
std::vector< Target > training_target_
Targets for training sets for the partitions.
Definition: Sampler.h:97
const utility::Index & training_index(size_t i) const
std::vector< utility::Index > training_index_
index of training sets for the partitions
Definition: Sampler.h:95
Interface class for dividing samples into training and validation.
Definition: Sampler.h:39
const Target & target(void) const
const utility::Index & validation_index(size_t i) const
const Target & validation_target(size_t i) const