Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

otNeuralFramework Class Reference
[Neural Network - Neural network libraryNeural Network - Neural network library]

Class for the support of neural network.

#include <otNeuralNetwork.h>


Public Member Functions

 otNeuralFramework ()
void init (otTinn *tinn, otFILE *fs)
bool dataset (const char *path)
void shuffle ()
float training (float rate)
float error ()
int rows ()
int outputs ()
const float * input (int row=0)
const float * target (int row=0)


Constructor & Destructor Documentation

otNeuralFramework.otNeuralFramework  ) 
 

Create the class


Member Function Documentation

bool otNeuralFramework.dataset const char *  path  ) 
 

Data set for neural network learning

Parameters:
path File path name of dta set to load
Returns:
True on loading success

float otNeuralFramework.error  ) 
 

Error value

Returns:
Current error value

void otNeuralFramework.init otTinn tinn,
otFILE fs
 

Init library

Parameters:
tinn Neural Network pointer
fs Pointer to library for file system access

const float* otNeuralFramework.input int  row = 0  ) 
 

Return the array of related line of data set of input

Parameters:
row Selected row, from 0 to rows
Returns:
Array of data set

int otNeuralFramework.outputs  ) 
 

Number of outputs

Returns:
Number of outputs

int otNeuralFramework.rows  ) 
 

Number of lines in data set

Returns:
Return number of lines in data set

void otNeuralFramework.shuffle  ) 
 

Shuffle data set!

const float* otNeuralFramework.target int  row = 0  ) 
 

Return the array of related line of data set of output

Parameters:
row Selected row, from 0 to rows
Returns:
Array of data set

float otNeuralFramework.training float  rate  ) 
 

Perform neural training

Parameters:
rate Learning rate
Returns:
Error


The documentation for this class was generated from the following file: footer
otStudio - Library Reference - (C) 2020-23 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0