ml.regression.LinearRegressor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jstat Show documentation
Show all versions of jstat Show documentation
Java Library for Statistical Analysis.
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);
}
}