#include <BCIDataSet.h>
| Enumerator | 
|---|
| TRAINING |  | 
| TEST |  | 
| DEMO |  | 
 
 
      
        
          | BCIDataSet::BCIDataSet | ( | const std::string & | directory, | 
        
          |  |  | const std::string & | subject, | 
        
          |  |  | const std::string & | dataType, | 
        
          |  |  | bool | loadNow = true | 
        
          |  | ) |  |  | 
      
 
 
  
  | 
        
          | virtual BCIDataSet::~BCIDataSet | ( | ) |  |  |  | inlinevirtual | 
 
 
      
        
          | void BCIDataSet::buildInstance | ( | int | epoch, | 
        
          |  |  | int | t0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void BCIDataSet::clear | ( | ) |  |  | 
      
 
 
      
        
          | void BCIDataSet::decimate | ( | int | factor = 1) |  |  | 
      
 
 
      
        
          | void BCIDataSet::determineDimension | ( | ) |  |  | 
      
 
 
      
        
          | Eigen::MatrixXd BCIDataSet::extractInstance | ( | int | epoch, | 
        
          |  |  | int | t0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | std::string BCIDataSet::fileName | ( | const std::string & | type) |  |  | 
      
 
 
This function is called after an iteration of the optimization algorithm. 
It could log results, modify or extend the data set or whatever. 
- Parameters
- 
  
  
Implements OpenANN::DataSet.
 
 
  
  | 
        
          | Eigen::VectorXd & BCIDataSet::getInstance | ( | int | n) |  |  |  | virtual | 
 
Get the input of the ith instance. 
- Parameters
- 
  
  
- Returns
- input 
Implements OpenANN::DataSet.
 
 
      
        
          | void BCIDataSet::getOffsets | ( | int | i, | 
        
          |  |  | int & | epoch, | 
        
          |  |  | int & | t0 | 
        
          |  | ) |  |  | 
      
 
 
  
  | 
        
          | Eigen::VectorXd & BCIDataSet::getTarget | ( | int | n) |  |  |  | virtual | 
 
Get the output of the ith instance. 
- Parameters
- 
  
  
- Returns
- output 
Implements OpenANN::DataSet.
 
 
      
        
          | char BCIDataSet::getTargetChar | ( | int | i) |  |  | 
      
 
 
  
  | 
        
          | virtual int BCIDataSet::inputs | ( | ) |  |  |  | inlinevirtual | 
 
Input dimensions of instances. 
- Returns
- number of inputs 
Implements OpenANN::DataSet.
 
 
      
        
          | void BCIDataSet::load | ( | ) |  |  | 
      
 
 
      
        
          | void BCIDataSet::loadFlashing | ( | ) |  |  | 
      
 
 
      
        
          | void BCIDataSet::loadSignal | ( | ) |  |  | 
      
 
 
      
        
          | void BCIDataSet::loadStimulusCode | ( | ) |  |  | 
      
 
 
      
        
          | void BCIDataSet::loadStimulusType | ( | ) |  |  | 
      
 
 
      
        
          | void BCIDataSet::loadTargetChar | ( | ) |  |  | 
      
 
 
  
  | 
        
          | virtual int BCIDataSet::outputs | ( | ) |  |  |  | inlinevirtual | 
 
Output dimensions of instances. 
- Returns
- number of outputs 
Implements OpenANN::DataSet.
 
 
      
        
          | void BCIDataSet::reset | ( | ) |  |  | 
      
 
 
  
  | 
        
          | virtual int BCIDataSet::samples | ( | ) |  |  |  | inlinevirtual | 
 
Number of instances. 
Assumes that the data set has a fixed size, at least for one iteration of the optimization algorithm. 
- Returns
- number of examples 
Implements OpenANN::DataSet.
 
 
      
        
          | void BCIDataSet::setupInterface | ( | ) |  |  | 
      
 
 
      
        
          | Eigen::VectorXd BCIDataSet::toVector | ( | const Eigen::MatrixXd & | matrix) |  |  | 
      
 
 
      
        
          | bool BCIDataSet::decimated | 
      
 
 
      
        
          | std::string BCIDataSet::directory | 
      
 
 
      
        
          | int BCIDataSet::downSamplingFactor | 
      
 
 
      
        
          | Eigen::MatrixXd BCIDataSet::flashing | 
      
 
 
      
        
          | std::vector<std::vector<Eigen::VectorXd> > BCIDataSet::instanceLabel | 
      
 
 
      
        
          | std::vector<std::vector<int> > BCIDataSet::instanceStart | 
      
 
 
      
        
          | int BCIDataSet::iteration | 
      
 
 
      
        
          | int BCIDataSet::readEpochs | 
      
 
 
      
        
          | std::vector<Eigen::MatrixXd> BCIDataSet::signal | 
      
 
 
      
        
          | Eigen::MatrixXd BCIDataSet::stimulusCode | 
      
 
 
      
        
          | Eigen::MatrixXd BCIDataSet::stimulusType | 
      
 
 
      
        
          | std::string BCIDataSet::subject | 
      
 
 
      
        
          | std::vector<char> BCIDataSet::targetChar | 
      
 
 
      
        
          | Eigen::VectorXd BCIDataSet::tempInstance | 
      
 
 
The documentation for this class was generated from the following files: