Transform each sample vector in the sample matrix such that each feature is divided by the L2 norm (or magnitude) of that vector. The resulting sample will have continuous features between 0 and 1.
Data Type Compatibility: Continuous only
This transformer does not have any parameters.
This transformer does not have any additional methods.
use Rubix\ML\Transformers\L2Normalizer; $transformer = new L2Normalizer();