All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flipkart.fdp.ml.modelinfo.StandardScalerModelInfo Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package com.flipkart.fdp.ml.modelinfo;

import com.flipkart.fdp.ml.transformer.StandardScalerTransformer;
import com.flipkart.fdp.ml.transformer.Transformer;
import lombok.Data;

/**
 * Represents information for a StandardScaler model
 */

@Data
public class StandardScalerModelInfo extends AbstractModelInfo {
    private double[] std, mean;
    private boolean withStd, withMean;

    /**
     * @return an corresponding {@link StandardScalerTransformer} for this model info
     */
    @Override
    public Transformer getTransformer() {
        return new StandardScalerTransformer(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy