public final class DataInfo.Row
extends water.Iced
Modifier and Type | Field and Description |
---|---|
int[] |
binIds |
int |
cid |
int |
nBins |
int |
nNums |
int[] |
numIds |
double[] |
numVals |
double |
offset |
boolean |
predictors_bad |
double[] |
response |
boolean |
response_bad |
long |
rid |
double |
weight |
Constructor and Description |
---|
Row(boolean sparse,
double[] numVals,
int[] binIds,
double[] response,
int i,
long start) |
Row(boolean sparse,
int nNums,
int nBins,
int nresponses,
int i,
long start) |
Row(double[] nums) |
Modifier and Type | Method and Description |
---|---|
void |
addNum(int id,
double val) |
void |
addToArray(double scale,
double[] res) |
DataInfo.Row |
deepClone() |
double |
dotSame(DataInfo.Row rowj) |
double[] |
expandCats() |
double[] |
expandCatsPredsOnly(double[] res) |
double |
get(int i) |
double |
innerProduct(DataInfo.Row row) |
double |
innerProduct(double[] vec) |
double |
innerProduct(double[] vec,
boolean icptFirst) |
boolean |
isBad() |
boolean |
isSparse() |
double[] |
mtrxMul(double[][] m,
double[] res) |
double |
response(int i) |
void |
setResponse(int i,
double z) |
void |
standardize(double[] normSub,
double[] normMul) |
java.lang.String |
toString() |
double |
twoNormSq() |
public boolean predictors_bad
public boolean response_bad
public double[] numVals
public double[] response
public int[] numIds
public int[] binIds
public long rid
public int cid
public int nBins
public int nNums
public double offset
public double weight
public Row(boolean sparse, int nNums, int nBins, int nresponses, int i, long start)
public Row(boolean sparse, double[] numVals, int[] binIds, double[] response, int i, long start)
public Row(double[] nums)
public boolean isBad()
public final boolean isSparse()
public double[] mtrxMul(double[][] m, double[] res)
public double response(int i)
public double get(int i)
public void addNum(int id, double val)
public final double dotSame(DataInfo.Row rowj)
public final double innerProduct(double[] vec)
public final double innerProduct(double[] vec, boolean icptFirst)
public final double innerProduct(DataInfo.Row row)
public final double twoNormSq()
public double[] expandCats()
public double[] expandCatsPredsOnly(double[] res)
public java.lang.String toString()
toString
in class java.lang.Object
public void setResponse(int i, double z)
public void standardize(double[] normSub, double[] normMul)
public DataInfo.Row deepClone()
public void addToArray(double scale, double[] res)