ConvNet  1.0
A GPU-based C++ implementation of Convolutional Neural Nets
 All Classes Namespaces Functions Variables
Public Member Functions | Protected Attributes | List of all members
TextDataIterator Class Reference

An iterator over data stored in a text file. More...

#include <datahandler.h>

Inheritance diagram for TextDataIterator:
DataIterator

Public Member Functions

 TextDataIterator (const config::DataStreamConfig &config)
 
virtual void GetNext (float *data_out)
 
- Public Member Functions inherited from DataIterator
 DataIterator (const config::DataStreamConfig &config)
 
virtual void Seek (int row)
 
void Preprocess (Matrix &m)
 
void AddNoise (Matrix &input, Matrix &output)
 
int GetDims () const
 
int GetDataSetSize () const
 
void AddPCANoise (Matrix &m)
 
void SetJitterVariables (int max_offset)
 
void Jitter (Matrix &source, Matrix &dest)
 

Protected Attributes

float * data_
 
- Protected Attributes inherited from DataIterator
int num_dims_
 
int dataset_size_
 
int row_
 
Matrix mean_
 
Matrix std_
 
Matrix pca_noise1_
 
Matrix pca_noise2_
 
Matrix eig_values_
 
Matrix eig_vectors_
 
Matrix width_offset_
 
Matrix height_offset_
 
Matrix flip_bit_
 
const string file_pattern_
 
const int num_colors_
 
const int gpu_id_
 
const bool translate_
 
const bool flip_
 
const bool normalize_
 
const bool pixelwise_normalize_
 
const bool add_pca_noise_
 
const float pca_noise_stddev_
 

Additional Inherited Members

- Static Public Member Functions inherited from DataIterator
static DataIteratorChooseDataIterator (const config::DataStreamConfig &config)
 
- Protected Member Functions inherited from DataIterator
void LoadMeans (const string &data_file)
 

Detailed Description

An iterator over data stored in a text file.

Each data vector on a new line. Whitespace separated.


The documentation for this class was generated from the following files: