Function fann_sys::fann_set_scaling_params [−][src]
pub unsafe extern "C" fn fann_set_scaling_params(
ann: *mut fann,
data: *const fann_train_data,
new_input_min: c_float,
new_input_max: c_float,
new_output_min: c_float,
new_output_max: c_float
) -> c_int
Calculate input and output scaling parameters for future use based on training data.
Parameters
ann
- ANN for which parameters need to be calculateddata
- training data that will be used to calculate scaling parametersnew_input_min
- desired lower bound in input data after scaling (not strictly followed)new_input_max
- desired upper bound in input data after scaling (not strictly followed)new_output_min
- desired lower bound in output data after scaling (not strictly followed)new_output_max
- desired upper bound in output data after scaling (not strictly followed)
See also
fann_set_input_scaling_params
, fann_set_output_scaling_params
This function appears in FANN >= 2.1.0