neurali:libfann_it
Table of Contents
Libfann2
Costanti
Tipi di dato
- struct fann, rappresenta una rete neurale artificiale, ma non vi si deve accedere direttamente
- struct fann_train_data, rappresenta i dati di addestramento.
- fann_type, rappresenta il tipo usato per i pesi, gli input e gli output (interi o float)
- struct fann_connection, rappresenta una connessione tra due neuroni e il suo peso.
- from_neuron (identificatore)
- to_neuron
- weight
Funzioni
Funzioni per creare ed eseguire reti neurali artificiali
Creazione, distruzione ed eseuzione
- fann_create_standard Crea standard ANN (fully connected, backpropagation)
- fann_create_standard_array come sopra, ma con un array di dimensione di uno strato invece di array di parametri.
- fann_create_sparse Crea standard ANN (backpropagation, not fully connected)
- fann_create_sparse_array come sopra, ma con un array di dimensione di uno strato invece di array di parametri.
- fann_create_shortcut Crea standard ANN (backpropagation, not fully connected, shortcut connections)
- fann_create_shortcut_array
- fann_destroy Distrugge e libera memoria
- fann_run Invia input e restituisce output (array di dimensione dello strato di output )
- fann_randomize_weights Assegna ad ogni connessione sinapsi un peso casuale (tra min e max)
- fann_init_weights Initialize the weights using Widrow + Nguyen’s algorithm.
- fann_print_connections Will print the connections of the ann in a compact matrix, for easy viewing of the internals of the ann.
Addestramento
Parameters
- fann_print_parameters Prints all of the parameters and options of the ANN
- fann_get_num_input Get the number of input neurons.
- fann_get_num_output Get the number of output neurons.
- fann_get_total_neurons Get the total number of neurons in the entire network.
- fann_get_total_connections Get the total number of connections in the entire network.
- fann_get_network_type Get the type of neural network it was created as.
- fann_get_connection_rate Get the connection rate used when the network was created
- fann_get_num_layers Get the number of layers in the network
- fann_get_layer_array Get the number of neurons in each layer in the network.
- fann_get_bias_array Get the number of bias in each layer in the network.
- fann_get_connection_array Get the connections in the network.
- fann_set_weight_array Imposta i pesi di tutte le connessioni della rete.
- fann_set_weight Imposta il peso di una connessione/sinapsi.
- fann_set_user_data Store a pointer to user defined data.
- fann_get_user_data Get a pointer to user defined data that was previously set with fann_set_user_data.
- fann_get_decimal_point Returns the position of the decimal point in the ann.
- fann_get_multiplier returns the multiplier that fix point data is multiplied with.
neurali/libfann_it.txt · Last modified: 2020/06/08 22:20 by 127.0.0.1