4.1. copro.machine_learning.define_scaling

copro.machine_learning.define_scaling(config)[source]

Defines scaling method based on model configurations.

Parameters

config (ConfigParser-object) – object containing the parsed configuration-settings of the model.

Raises

ValueError – raised if a non-supported scaling method is specified.

Returns

the specified scaling method instance.

Return type

scaler