create DMatrix from dense matrix
create DMatrix from dense matrix
data values
number of rows
number of columns
the specified value to represent the missing value
create DMatrix from dense matrix
create DMatrix from dense matrix
data values
number of rows
number of columns
create DMatrix from sparse matrix
create DMatrix from sparse matrix
index to headers (rowHeaders for CSR or colHeaders for CSC)
Indices (colIndexs for CSR or rowIndexs for CSC)
non zero values (sequence by row for CSR or by col for CSC)
sparse matrix type (CSR or CSC)
when st is CSR, it specifies the column number, otherwise it is taken as row number
init DMatrix from Iterator of LabeledPoint
init DMatrix from Iterator of LabeledPoint
An iterator of LabeledPoint
Cache path information, used for external memory setting, null by default.
XGBoostError
native error
init DMatrix from file (svmlight format)
init DMatrix from file (svmlight format)
path of data file
XGBoostError
native error
create DMatrix from sparse matrix
create DMatrix from sparse matrix
index to headers (rowHeaders for CSR or colHeaders for CSC)
Indices (colIndexs for CSR or rowIndexs for CSC)
non zero values (sequence by row for CSR or by col for CSC)
sparse matrix type (CSR or CSC)
get base margin of the DMatrix
get base margin of the DMatrix
base margin
get label values
get label values
label
get weight of the DMatrix
get weight of the DMatrix
weights
get the row number of DMatrix
get the row number of DMatrix
number of rows
save DMatrix to filePath
save DMatrix to filePath
file path
if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from
if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from
base margin
if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from
if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from
base margin
Set group sizes of DMatrix (used for ranking)
Set group sizes of DMatrix (used for ranking)
group size as array
set label of dmatrix
set label of dmatrix
labels
set weight of each instance
set weight of each instance
weights
Slice the DMatrix and return a new DMatrix that only contains rowIndex
.
Slice the DMatrix and return a new DMatrix that only contains rowIndex
.
row index
sliced new DMatrix