# fann_get_learning_rate

(PECL fann >= 1.0.0)

fann_get_learning_rate — Returns the learning rate

### Description

fann_get_learning_rate ( resource `$ann` ) : float

The learning rate is used to determine how aggressive training should be for some of the training algorithms (`FANN_TRAIN_INCREMENTAL`, `FANN_TRAIN_BATCH`, `FANN_TRAIN_QUICKPROP`). Do however note that it is not used in `FANN_TRAIN_RPROP`.

The default learning rate is 0.7.

### Parameters

`ann`

  Neural network resource.

### Return Values

The learning rate, or `FALSE` on error.

### See Also

- fann_set_learning_rate() - Sets the learning rate
- fann_set_training_algorithm() - Sets the training algorithm