    001package javax.visrec.ml.data.norm;
    002
    003import javax.visrec.ml.data.DataSet;
    004
    005/**
    006 * Interface to perform normalization/scaling of columns in data set
    007 *
    008 * @author zoran
    009 */
    010public interface Normalizer {
    011    // specify param to determine inplace or copy normalization?
    012    public DataSet normalize(DataSet dataSet, boolean inplace);
    013
    014    default DataSet normalize(DataSet dataSet) {
    015        return normalize(dataSet, true);
    016    }
    017}