Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions dask_sql/physical/rel/custom/create_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,7 @@ def convert(self, rel: "LogicalPlan", context: "dask_sql.Context") -> DataContai
model = Incremental(estimator=model)

if wrap_predict:
try:
from dask_ml.wrappers import ParallelPostFit
except ImportError: # pragma: no cover
raise ValueError("Wrapping requires dask-ml to be installed.")
from dask_sql.physical.rel.custom.wrappers import ParallelPostFit

# When `wrap_predict` is set to True we train on single partition frames
# because this is only useful for non dask distributed models
Expand Down
Loading