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

ml.regression.LinearRegressor Maven / Gradle / Ivy

The newest version!
package ml.regression;

import datasets.DenseMatrixSet;
import maths.functions.LinearVectorPolynomial;

/**
 * Linear regression modelling
 */
public class LinearRegressor> extends RegressorBase {

    /**
     * Constructor
     */
    public LinearRegressor(int numFeatures){
        super(new LinearVectorPolynomial(numFeatures));
    }

    /**
     * Constructor
     */
    public LinearRegressor(LinearVectorPolynomial hypothesis){
        super(hypothesis);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy