public class PartialLeastSquaresRegression
extends java.lang.Object
| Constructor and Description |
|---|
PartialLeastSquaresRegression(int factors)
Initializes a new instance of the PartialLeastSquaresRegression class.
|
PartialLeastSquaresRegression(int factors,
double tolerance)
Initializes a new instance of the PartialLeastSquaresRegression class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Compute(double[][] X,
double[][] Y)
Compute.
|
double[] |
getB() |
double[][] |
getCoefficients() |
double[][] |
getLoadingMatrixX() |
double[][] |
getLoadingMatrixY() |
double[][] |
getScoreMatrixX() |
double[][] |
getScoreMatrixY() |
double |
getTolerance()
Get tolerance.
|
double[][] |
getW() |
void |
setTolerance(double tolerance)
Set tolerance.
|
public PartialLeastSquaresRegression(int factors)
factors - Factors.public PartialLeastSquaresRegression(int factors,
double tolerance)
factors - Factors.tolerance - Tolerance.public double[][] getScoreMatrixX()
public double[][] getScoreMatrixY()
public double[][] getLoadingMatrixX()
public double[][] getLoadingMatrixY()
public double[][] getW()
public double[] getB()
public double[][] getCoefficients()
public double getTolerance()
public void setTolerance(double tolerance)
tolerance - Tolerance.public void Compute(double[][] X,
double[][] Y)
X - Matrix data.Y - Matrix data.