#include <sml.h>
Go to the source code of this file.
Enumerations | |
enum | sml_ann_activation_function { SML_ANN_ACTIVATION_FUNCTION_SIGMOID, SML_ANN_ACTIVATION_FUNCTION_SIGMOID_SYMMETRIC, SML_ANN_ACTIVATION_FUNCTION_GAUSSIAN, SML_ANN_ACTIVATION_FUNCTION_GAUSSIAN_SYMMETRIC, SML_ANN_ACTIVATION_FUNCTION_ELLIOT, SML_ANN_ACTIVATION_FUNCTION_ELLIOT_SYMMETRIC, SML_ANN_ACTIVATION_FUNCTION_COS, SML_ANN_ACTIVATION_FUNCTION_COS_SYMMETRIC, SML_ANN_ACTIVATION_FUNCTION_SIN, SML_ANN_ACTIVATION_FUNCTION_SIN_SYMMETRIC } |
The functions that are used by the neurons to produce an output. More... | |
enum | sml_ann_training_algorithm { SML_ANN_TRAINING_ALGORITHM_QUICKPROP, SML_ANN_TRAINING_ALGORITHM_RPROP } |
Algorithm types used to train a neural network. More... | |
Functions | |
struct sml_object * | sml_ann_new (void) |
Creates a SML neural networks engine. More... | |
bool | sml_ann_set_activation_function_candidates (struct sml_object *sml, enum sml_ann_activation_function *functions, unsigned int size) |
Set the neural networks activation function candidates. More... | |
bool | sml_ann_set_cache_max_size (struct sml_object *sml, unsigned int max_size) |
Set the maximum number of neural networks in the cache. More... | |
bool | sml_ann_set_candidate_groups (struct sml_object *sml, unsigned int candidate_groups) |
Set the number of neural network candidates. More... | |
bool | sml_ann_set_desired_error (struct sml_object *sml, float desired_error) |
Set the neural network desired error. More... | |
bool | sml_ann_set_initial_required_observations (struct sml_object *sml, unsigned int required_observations) |
Set the required number of observations to train the neural network. More... | |
bool | sml_ann_set_max_neurons (struct sml_object *sml, unsigned int max_neurons) |
Set the maximum number of neurons in the network. More... | |
bool | sml_ann_set_training_algorithm (struct sml_object *sml, enum sml_ann_training_algorithm algorithm) |
Set the neural network training algorithm. More... | |
bool | sml_ann_set_training_epochs (struct sml_object *sml, unsigned int training_epochs) |
Set the neural network train epochs. More... | |
bool | sml_ann_supported (void) |
Check if SML was built with neural networks support. More... | |
bool | sml_ann_use_pseudorehearsal_strategy (struct sml_object *sml, bool use_pseudorehearsal) |
Set the pseudorehearsal strategy. More... | |
bool | sml_is_ann (struct sml_object *sml) |
Check if the SML object is a neural network engine. More... | |