pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
Typedefs | Functions
Plank NeuralNetwork class

A neural network. More...

Typedefs

typedef struct
PlankNeuralNetworkF * 
PlankNeuralNetworkFRef
 An opaque reference to the Plank NeuralNetworkF object.

Functions

PlankResult pl_NeuralNetworkF_InitWithLayersAndRange (PlankNeuralNetworkFRef p, const int *layers, const int numLayers, const float range)
 Initialise a Plank NeuralNetworkF object.
PlankResult pl_NeuralNetworkF_DeInit (PlankNeuralNetworkFRef p)
 Deinitialise a Plank NeuralNetworkF object.

Detailed Description

A neural network.


Typedef Documentation

typedef struct PlankNeuralNetworkF* PlankNeuralNetworkFRef

An opaque reference to the Plank NeuralNetworkF object.


Function Documentation

PlankResult pl_NeuralNetworkF_DeInit ( PlankNeuralNetworkFRef  p)

Deinitialise a Plank NeuralNetworkF object.

Parameters:
pThe Plank NeuralNetworkF object.
Returns:
PlankResult_OK if successful, otherwise an error code.
PlankResult pl_NeuralNetworkF_InitWithLayersAndRange ( PlankNeuralNetworkFRef  p,
const int *  layers,
const int  numLayers,
const float  range 
)

Initialise a Plank NeuralNetworkF object.

Deafults to have one wieght. pl_NeuralNetworkF_InitWithNumWeights() is more useful.

Parameters:
pThe Plank NeuralNetworkF object.
layersAn integer array containing the count of the nodes on each layer.
numLayerThe number of items in the layers array.
rangeThe random range of the initial weights for the network.
Returns:
PlankResult_OK if successful, otherwise an error code.
 All Classes Functions Typedefs Enumerations Enumerator Properties