User Tools

Site Tools


neurali:libfann_it

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
neurali:libfann_it [2015/02/03 17:01] profproneurali:libfann_it [2020/06/08 22:20] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Libfann2 ======
  
 +{{:neurali:italian-flag.png?nolink&100|}}
 +
 +
 +===== Costanti =====
 +
 +  - [[neurali:fann_train_enum]]
 +  - [[neurali:fann_activationfunc_enum]]
 +
 +===== 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 [[neurali: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 ====
 +
 +  - [[neurali: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.
 +  - [[neurali:fann_create_sparse]] Crea standard ANN (backpropagation, not fully connected)
 +  - [[neurali:fann_create_sparse_array]] come sopra, ma con un array di dimensione di uno strato invece di array di parametri.
 +  - [[neurali: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 ====
 +
 +  - [[neurali:fann_train_on_data]]
 +
 +
 +==== 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.
 +  * [[neurali:fann_set_weight_array]] Imposta i pesi di tutte le connessioni della rete.
 +  * [[neurali: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