Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dask] Use a 1 line sample to infer output shape.
This is for inferring shape with direct prediction (without DaskDMatrix). There are a few things that requires known output shape before carrying out actual prediction, including dask meta data, output dataframe columns. * Infer output shape based on local prediction. * Remove set param in predict function as it's not thread safe nor necessary as we now let dask to decide the parallelism. * Simplify prediction on `DaskDMatrix`.
- Loading branch information