Skip to content

Commit

Permalink
fix: incremental pca example patching logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanglaser committed Jan 28, 2025
1 parent e8f9aa7 commit a029240
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/sklearnex/incremental_pca_dpctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
# Import estimator via sklearnex's patch mechanism from sklearn
from sklearnex import patch_sklearn, sklearn_is_patched

patch_sklearn()
# IncrementalPCA is currently in preview module, so extra flag is required
patch_sklearn(preview=True)

# Function that can validate current state of patching
sklearn_is_patched()
Expand Down

0 comments on commit a029240

Please sign in to comment.