public static class SparseMatrixFactory.SparseDMatrixProvider extends MatrixLoader.DMatrixProvider
actualRows, offsets, response, weights| Constructor and Description |
|---|
SparseDMatrixProvider(long[][] rowHeaders,
int[][] colIndices,
float[][] sparseData,
ai.h2o.xgboost4j.java.DMatrix.SparseType csr,
int shape,
long nonZeroElementsCount,
int actualRows,
float[] response,
float[] weights,
float[] offsets) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
ai.h2o.xgboost4j.java.DMatrix |
makeDMatrix() |
void |
print(int nrow) |
dispose, getpublic SparseDMatrixProvider(long[][] rowHeaders,
int[][] colIndices,
float[][] sparseData,
ai.h2o.xgboost4j.java.DMatrix.SparseType csr,
int shape,
long nonZeroElementsCount,
int actualRows,
float[] response,
float[] weights,
float[] offsets)
public ai.h2o.xgboost4j.java.DMatrix makeDMatrix()
throws ai.h2o.xgboost4j.java.XGBoostError
makeDMatrix in class MatrixLoader.DMatrixProviderai.h2o.xgboost4j.java.XGBoostErrorpublic void print(int nrow)
print in class MatrixLoader.DMatrixProviderpublic boolean equals(java.lang.Object o)
equals in class MatrixLoader.DMatrixProviderpublic int hashCode()
hashCode in class MatrixLoader.DMatrixProvider