Geen cache-versie.
Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
Predefined Constants
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
-
Training algorithms
-
FANN_TRAIN_INCREMENTAL
(integer) - Standard backpropagation algorithm, where the weights are updated after each training pattern. This means that the weights are updated many times during a single epoch. For this reason some problems, will train very fast with this algorithm, while other more advanced problems will not train very well.
-
FANN_TRAIN_BATCH
(integer) - Standard backpropagation algorithm, where the weights are updated after calculating the mean square error for the whole training set. This means that the weights are only updated once during a epoch. For this reason some problems, will train slower with this algorithm. But since the mean square error is calculated more correctly than in incremental training, some problems will reach a better solutions with this algorithm.
-
FANN_TRAIN_RPROP
(integer) - A more advanced batch training algorithm which achieves good results for many problems. The RPROP training algorithm is adaptive, and does therefore not use the learning_rate. Some other parameters can however be set to change the way the RPROP algorithm works, but it is only recommended for users with insight in how the RPROP training algorithm works. The RPROP training algorithm is described by [Riedmiller and Braun, 1993], but the actual learning algorithm used here is the iRPROP- training algorithm which is described by [Igel and Husken, 2000] which is an variety of the standard RPROP training algorithm.
-
FANN_TRAIN_QUICKPROP
(integer) - A more advanced batch training algorithm which achieves good results for many problems. The quickprop training algorithm uses the learning_rate parameter along with other more advanced parameters, but it is only recommended to change these advanced parameters, for users with insight in how the quickprop training algorithm works. The quickprop training algorithm is described by [Fahlman, 1988].
-
FANN_TRAIN_SARPROP
(integer) - Even more advance training algorithm. Only for version 2.2
-
Activation functions
-
FANN_LINEAR
(integer) - Linear activation function.
-
FANN_THRESHOLD
(integer) - Threshold activation function.
-
FANN_THRESHOLD_SYMMETRIC
(integer) - Threshold activation function.
-
FANN_SIGMOID
(integer) - Sigmoid activation function.
-
FANN_SIGMOID_STEPWISE
(integer) - Stepwise linear approximation to sigmoid.
-
FANN_SIGMOID_SYMMETRIC
(integer) - Symmetric sigmoid activation function, aka. tanh.
-
FANN_SIGMOID_SYMMETRIC_STEPWISE
(integer) - Stepwise linear approximation to symmetric sigmoid
-
FANN_GAUSSIAN
(integer) - Gaussian activation function.
-
FANN_GAUSSIAN_SYMMETRIC
(integer) - Symmetric gaussian activation function.
-
FANN_GAUSSIAN_STEPWISE
(integer) - Stepwise gaussian activation function.
-
FANN_ELLIOT
(integer) - Fast (sigmoid like) activation function defined by David Elliott.
-
FANN_ELLIOT_SYMMETRIC
(integer) - Fast (symmetric sigmoid like) activation function defined by David Elliott.
-
FANN_LINEAR_PIECE
(integer) - Bounded linear activation function.
-
FANN_LINEAR_PIECE_SYMMETRIC
(integer) - Bounded linear activation function.
-
FANN_SIN_SYMMETRIC
(integer) - Periodical sinus activation function.
-
FANN_COS_SYMMETRIC
(integer) - Periodical cosinus activation function.
-
FANN_SIN
(integer) - Periodical sinus activation function.
-
FANN_COS
(integer) - Periodical cosinus activation function.
-
Error function used during training
-
FANN_ERRORFUNC_LINEAR
(integer) - Standard linear error function.
-
FANN_ERRORFUNC_TANH
(integer) - Tanh error function, usually better but can require a lower learning rate. This error function agressively targets outputs that differ much from the desired, while not targetting outputs that only differ a little that much. This activation function is not recommended for cascade training and incremental training.
-
Stop criteria used during training
-
FANN_STOPFUNC_MSE
(integer) - Stop criteria is Mean Square Error (MSE) value.
-
FANN_STOPFUNC_BIT
(integer) - Stop criteria is number of bits that fail. The number of bits means the number of output neurons which differs more than the bit fail limit (see fann_get_bit_fail_limit, fann_set_bit_fail_limit). The bits are counted in all of the training data, so this number can be higher than the number of training data.
-
Definition of network types used by fann_get_network_type()
-
FANN_NETTYPE_LAYER
(integer) - Each layer only has connections to the next layer.
-
FANN_NETTYPE_SHORTCUT
(integer) - Each layer has connections to all following layers
-
Errors
-
FANN_E_NO_ERROR
(integer) - No error.
-
FANN_E_CANT_OPEN_CONFIG_R
(integer) - Unable to open configuration file for reading.
-
FANN_E_CANT_OPEN_CONFIG_W
(integer) - Unable to open configuration file for writing.
-
FANN_E_WRONG_CONFIG_VERSION
(integer) - Wrong version of configuration file.
-
FANN_E_CANT_READ_CONFIG
(integer) - Error reading info from configuration file.
-
FANN_E_CANT_READ_NEURON
(integer) - Error reading neuron info from configuration file.
-
FANN_E_CANT_READ_CONNECTIONS
(integer) - Error reading connections from configuration file.
-
FANN_E_WRONG_NUM_CONNECTIONS
(integer) - Number of connections not equal to the number expected.
-
FANN_E_CANT_OPEN_TD_W
(integer) - Unable to open train data file for writing.
-
FANN_E_CANT_OPEN_TD_R
(integer) - Unable to open train data file for reading.
-
FANN_E_CANT_READ_TD
(integer) - Error reading training data from file.
-
FANN_E_CANT_ALLOCATE_MEM
(integer) - Unable to allocate memory.
-
FANN_E_CANT_TRAIN_ACTIVATION
(integer) - Unable to train with the selected activation function.
-
FANN_E_CANT_USE_ACTIVATION
(integer) - Unable to use the selected activation function.
-
FANN_E_TRAIN_DATA_MISMATCH
(integer) - Irreconcilable differences between two struct fann_train_data structures.
-
FANN_E_CANT_USE_TRAIN_ALG
(integer) - Unable to use the selected training algorithm.
-
FANN_E_TRAIN_DATA_SUBSET
(integer) - Trying to take subset which is not within the training set.
-
FANN_E_INDEX_OUT_OF_BOUND
(integer) - Index is out of bound.
-
FANN_E_SCALE_NOT_PRESENT
(integer) - Scaling parameters not present.
-
FANN_E_INPUT_NO_MATCH
(integer) - The number of input neurons in the ann data do not match
-
FANN_E_OUTPUT_NO_MATCH
(integer) - The number of output neurons in the ann and data do not match.
Vertaling niet beschikbaar
De PHP-handleiding is nog niet in het Nederlands vertaald, dus het scherm is in het Engels. Als u wilt, kunt u het ook in het Frans of in het Duits raadplegen.
Als je de moed voelt, kun je je vertaling aanbieden ;-)
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 30/01/2003 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/php-rf-fann.constants.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.