DenseBatch
¶2D dense batch, laid out in row-major layout
Hyunsu Cho
DenseBatch
(float[] data, float missing_value, int num_row, int num_col)¶Create a dense batch representing a 2D dense matrix
data – array of entries, should be of length [num_row]*[num_col]
missing_value – floating-point value representing a missing value; usually set of Float.NaN
.
num_row – number of rows (data instances) in the matrix
num_row – number of columns (features) in the matrix
TreeliteError –
Created dense batch