Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<fann_get_learning_ratefann_get_network_type>
^Fann FunctionsLast updated: Mon, 26 Oct 2026

fann_get_MSE

(PECL fann >= 1.0.0)

fann_get_MSE — Reads the mean square error from the network

Description

function fann_get_MSE(resource $ann): float

Reads the mean square error from the network.

Reads the mean square error from the network. This value is calculated during training or testing and can therefore sometimes be a bit off if the weights have been changed since the last calculation of the value.

Parameters

ann

Neural network resource.

Return Values

The mean square error, or false on error.

See Also

  • fann_test_data() - Test a set of training data and calculates the MSE for the training data


<fann_get_learning_ratefann_get_network_type>
^Fann FunctionsLast updated: Mon, 26 Oct 2026