All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object | +----weka.classifiers.m5.Matrix
public Matrix(int nr, int nc)
nr
- the number of the rows
nc
- the number of the columns
public final java.lang.String toString(int nrl, int nrh, int ncl, int nch)
nrl
- the smallest index of the rows
nrh
- the largest index of the rows
ncl
- the smallest index of the column
ncl
- the largest index of the column
public final Matrix transpose(int n, int m)
n
- the number of rows
m
- the number of columns
public final Matrix multiply(Matrix b, int l, int m, int n)
b
- the multiplication matrix
l
- the number of the rows of the instance matrix
m
- the number of the columns of the instance matrix, and the number of the rows of matrix b
n
- the number of the columns of matrix b
public final double[] regression(Matrix y, int n, int m)
y
- the dependent variable vector
n
- the number of the observations
m
- the number of the coefficients
public final void lubksb(int n, int indx[], double b[])
n
- the number of the coefficients
indx
- the index
b
- the double vector, storing constant terms in the equation sets; it later stores the computed coefficients' values
public final int[] ludcmp(int n, int indx[])
n
- the number of coefficients
indx
- the index
All Packages Class Hierarchy This Package Previous Next Index WEKA's home