public final class DataInfo.Row
extends water.Iced
Modifier and Type | Field and Description |
---|---|
int[] |
binIds |
int |
cid |
int |
nBins |
int |
nNums |
int |
nOutpus |
int[] |
numIds |
double[] |
numVals |
double |
offset |
boolean |
predictors_bad |
double[] |
response |
boolean |
response_bad |
long |
rid |
double |
weight |
Constructor and Description |
---|
DataInfo.Row(boolean sparse,
double[] numVals,
int[] binIds,
double[] response,
int i,
long start) |
DataInfo.Row(boolean sparse,
int nNums,
int nBins,
int nresponses,
int i,
long start) |
DataInfo.Row(double[] nums) |
Modifier and Type | Method and Description |
---|---|
void |
addNum(int id,
double val) |
double |
dotSame(DataInfo.Row rowj) |
double[] |
expandCats() |
double |
get(int i) |
double |
getOutput(int i) |
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 |
setOutput(int i,
double v) |
void |
setResponse(int i,
double z) |
void |
standardize(double[] normSub,
double[] normMul) |
java.lang.String |
toString() |
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 int nOutpus
public double offset
public double weight
public DataInfo.Row(boolean sparse, int nNums, int nBins, int nresponses, int i, long start)
public DataInfo.Row(boolean sparse, double[] numVals, int[] binIds, double[] response, int i, long start)
public DataInfo.Row(double[] nums)
public boolean isBad()
public void setOutput(int i, double v)
public double getOutput(int i)
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 double[] expandCats()
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)