public final class DenseDMatrixBuilder extends DMatrixBuilder
| Constructor and Description |
|---|
DenseDMatrixBuilder(int initSize) |
| Modifier and Type | Method and Description |
|---|---|
ml.dmlc.xgboost4j.java.DMatrix |
buildMatrix(float[] labels) |
DenseDMatrixBuilder |
nextColumn(int col,
float value) |
DenseDMatrixBuilder |
nextRow() |
checkColIndex, nextColumn, nextRow, nextRow, nextRowpublic DenseDMatrixBuilder(@Nonnegative int initSize)
public DenseDMatrixBuilder nextColumn(@Nonnegative int col, float value)
nextColumn in class DMatrixBuilderpublic DenseDMatrixBuilder nextRow()
nextRow in class DMatrixBuilderpublic ml.dmlc.xgboost4j.java.DMatrix buildMatrix(@Nonnull float[] labels) throws ml.dmlc.xgboost4j.java.XGBoostError
buildMatrix in class DMatrixBuilderml.dmlc.xgboost4j.java.XGBoostErrorCopyright © 2013–2019 Apache Hivemall. All rights reserved.