public abstract static class MatrixLoader.DMatrixProvider
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
actualRows |
protected float[] |
offsets |
protected float[] |
response |
protected float[] |
weights |
| Modifier | Constructor and Description |
|---|---|
protected |
DMatrixProvider(long actualRows,
float[] response,
float[] weights,
float[] offsets) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispose() |
boolean |
equals(java.lang.Object o) |
ml.dmlc.xgboost4j.java.DMatrix |
get() |
int |
hashCode() |
protected abstract ml.dmlc.xgboost4j.java.DMatrix |
makeDMatrix() |
abstract void |
print(int nrow) |
protected long actualRows
protected float[] response
protected float[] weights
protected float[] offsets
protected DMatrixProvider(long actualRows,
float[] response,
float[] weights,
float[] offsets)
protected abstract ml.dmlc.xgboost4j.java.DMatrix makeDMatrix()
throws ml.dmlc.xgboost4j.java.XGBoostError
ml.dmlc.xgboost4j.java.XGBoostErrorpublic abstract void print(int nrow)
protected void dispose()
public final ml.dmlc.xgboost4j.java.DMatrix get()
throws ml.dmlc.xgboost4j.java.XGBoostError
ml.dmlc.xgboost4j.java.XGBoostErrorpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object