- Pass context from booster to DMatrix. - Use context instead of integer for `n_threads`. - Check the consistency configuration for `max_bin`. - Test for all combinations of initialization options.
- Avoid duplicated definition of data shape. - Explicitly define numpy iterator for CPU data.
IterativeDMatrix