SANN: Sushi Artificial Neural Network
This is a short library for a simple but efficient neural network
Public Member Functions | Public Attributes | List of all members
sann::ds Struct Reference

This is the struct that represents the dataset to handle. It has three attributes: More...

#include <dataStructures.h>

Public Member Functions

struct ds operator+ (const struct ds x) const
 
struct ds extractData (const size_t start, const size_t end)
 Creates a new dataset from a subset of a given dataset. The dataset on which this method is call will be modified erasing the new sub-dataset. More...
 

Public Attributes

std::vector< std::string > names
 
std::vector< std::vector< double > > inputs
 
std::vector< std::vector< double > > results
 

Detailed Description

This is the struct that represents the dataset to handle. It has three attributes:

Member Function Documentation

◆ extractData()

struct ds sann::ds::extractData ( const size_t  start,
const size_t  end 
)
inline

Creates a new dataset from a subset of a given dataset. The dataset on which this method is call will be modified erasing the new sub-dataset.

Parameters
start- The start index.
end- The end index. If it is > of the dataset size, the latter will be considered instead.
Returns
sann::dataSet - The new sub-dataset.

The documentation for this struct was generated from the following file: