This standardizer transforms continuous features by centering them around the median and scaling by the median absolute deviation (MAD). The use of robust statistics make this standardizer more immune to outliers than the Z Scale Standardizer which used mean and variance.
Data Type Compatibility: Continuous
|1||center||true||bool||Should we center the sample dataset?|
Return the medians calculated by fitting the training set:
public medians() : array
Return the median absolute deviations calculated during fitting:
public mads() : array
use Rubix\ML\Transformers\RobustStandardizer; $transformer = new RobustStandardizer(true);