OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
DataSetView.h File Reference
#include <Eigen/Core>
#include <vector>
#include <OpenANN/io/DataSet.h>

Go to the source code of this file.

Classes

class  OpenANN::DataSetView
 An index-based dataset wrapper for representing efficient dataset views on any DataSet instance. More...
 

Namespaces

 OpenANN
 

Functions

void OpenANN::split (std::vector< DataSetView > &groups, DataSet &dataset, int numberOfGroups, bool shuffling=true)
 Split the current DataSet into a specific number of DataSetView groups. More...
 
void OpenANN::split (std::vector< DataSetView > &groups, DataSet &dataset, double ratio=0.5, bool shuffling=true)
 Split the current DataSet into two DataSetViews where the number of containing instances are controlled by a ratio flag. More...
 
void OpenANN::merge (DataSetView &merging, std::vector< DataSetView > &groups)
 Merge all viewing instances from a DataSetView into another existing one. More...
 
DataSetView OpenANN::sample (DataSet &dataSet, double fraction, bool replacement)
 Sample random instances from the original data set. More...