You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/Use-Cases/Task-Oriented-AutoML.md
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -704,6 +704,64 @@ plt.barh(
704
704
705
705

706
706
707
+
### Preprocess data
708
+
709
+
FLAML provides two levels of preprocessing that can be accessed as public APIs:
710
+
711
+
1.**Task-level preprocessing** (`automl.preprocess()`): This applies transformations that are specific to the task type, such as handling data types, sparse matrices, and feature transformations learned during training.
712
+
713
+
2.**Estimator-level preprocessing** (`estimator.preprocess()`): This applies transformations specific to the estimator type (e.g., LightGBM, XGBoost).
714
+
715
+
The task-level preprocessing should be applied before the estimator-level preprocessing.
For most use cases, the `predict()` method already handles both levels of preprocessing internally. However, if you need to apply preprocessing separately (e.g., for custom inference pipelines or debugging), you can use:
0 commit comments