GoLang fann_set_scaling_params

request it (383)
GoLang replacement for PHP's fann_set_scaling_params [edit | history]



Do you know a GoLang replacement for PHP's fann_set_scaling_params? Write it!

PHP fann_set_scaling_params

PHP original manual for fann_set_scaling_params [ show | php.net ]

fann_set_scaling_params

(PECL fann >= 1.0.0)

fann_set_scaling_paramsCalculate input and output scaling parameters for future use based on training data

Description

bool fann_set_scaling_params ( resource $ann , resource $train_data , float $new_input_min , float $new_input_max , float $new_output_min , float $new_output_max )

Calculate input and output scaling parameters for future use based on training data.

Parameters

ann

Neural network resource.

train_data

Neural network training data resource.

new_input_min

The desired lower bound in input data after scaling (not strictly followed)

new_input_max

The desired upper bound in input data after scaling (not strictly followed)

new_output_min

The desired lower bound in output data after scaling (not strictly followed)

new_output_max

The desired upper bound in output data after scaling (not strictly followed)

Return Values

Returns TRUE on success, or FALSE otherwise.

See Also