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) |
ai.h2o.xgboost4j.java.DMatrix |
get() |
int |
hashCode() |
protected abstract ai.h2o.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 ai.h2o.xgboost4j.java.DMatrix makeDMatrix()
throws ai.h2o.xgboost4j.java.XGBoostError
ai.h2o.xgboost4j.java.XGBoostErrorpublic abstract void print(int nrow)
protected void dispose()
public final ai.h2o.xgboost4j.java.DMatrix get()
throws ai.h2o.xgboost4j.java.XGBoostError
ai.h2o.xgboost4j.java.XGBoostErrorpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object