We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20104e1 commit 5911052Copy full SHA for 5911052
src/dmatrix.rs
@@ -112,7 +112,7 @@ impl DMatrix {
112
xgb_call!(xgboost_sys::XGDMatrixCreateFromMat(data.as_ptr(),
113
num_rows as xgboost_sys::bst_ulong,
114
(data.len() / num_rows) as xgboost_sys::bst_ulong,
115
- 0.0, // TODO: can values be missing here?
+ f32::NAN,
116
&mut handle))?;
117
Ok(DMatrix::new(handle)?)
118
}
0 commit comments