Various miscellaneous code required by ConKit
normalize
(data, vmin=0, vmax=1)[source]¶Apply a Feature scaling algorithm to normalize the data
This normalization will bring all values into the range [0, 1]. This function
allows range restrictions by values vmin
and vmax
.
Parameters: | data : list, tuple
vmin : int, float, optional
vmax : int, float, optional
|
---|---|
Returns: | list
|