Classes | Public Member Functions

Data_Set_Interpreter Class Reference

Turns vector<double> into a collection of training samples, this is only a base class, no relevant implementation. More...

#include <helpers.h>

Inheritance diagram for Data_Set_Interpreter:
Inheritance graph
[legend]
Collaboration diagram for Data_Set_Interpreter:
Collaboration graph
[legend]

List of all members.

Classes

struct  Sample
 Training sample, consists of input and desired output pair. More...
struct  Stats
 Container of statistics gathered over training data set. More...

Public Member Functions

 Data_Set_Interpreter (unsigned int network_inputs_count, unsigned int network_outputs_count, const std::vector< double > *data_set)
 Constructor.
virtual
Data_Set_Interpreter::Sample 
operator[] (const unsigned int i)=0
 Training samples are addressed by 0-based index.
virtual void refresh ()=0
 Re-index training samples (use when training set was modified).
virtual unsigned int get_samples_count ()
 Returns total count of training samples found in dataset and indexed.
virtual Data_Set_Interpreter::Stats get_stats ()
 Returns dataset statistics.

Detailed Description

Turns vector<double> into a collection of training samples, this is only a base class, no relevant implementation.

MCPN Logo
kr0st © 2010