public class DenseMatrixFactory
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DenseMatrixFactory.DenseDMatrixProvider |
| Constructor and Description |
|---|
DenseMatrixFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ml.dmlc.xgboost4j.java.DMatrix |
dense(water.fvec.Chunk[] chunks,
hex.DataInfo di,
int respIdx,
float[] resp,
float[] weights,
int offsetIdx,
float[] offsets) |
static DenseMatrixFactory.DenseDMatrixProvider |
dense(water.fvec.Frame f,
int[] chunks,
int nRows,
int[] nRowsByChunk,
water.fvec.Vec weightVec,
water.fvec.Vec offsetVec,
water.fvec.Vec responseVec,
hex.DataInfo di,
float[] resp,
float[] weights,
float[] offsets) |
public static ml.dmlc.xgboost4j.java.DMatrix dense(water.fvec.Chunk[] chunks,
hex.DataInfo di,
int respIdx,
float[] resp,
float[] weights,
int offsetIdx,
float[] offsets)
throws ml.dmlc.xgboost4j.java.XGBoostError
ml.dmlc.xgboost4j.java.XGBoostErrorpublic static DenseMatrixFactory.DenseDMatrixProvider dense(water.fvec.Frame f, int[] chunks, int nRows, int[] nRowsByChunk, water.fvec.Vec weightVec, water.fvec.Vec offsetVec, water.fvec.Vec responseVec, hex.DataInfo di, float[] resp, float[] weights, float[] offsets)