Skip to content

Commit

Permalink
MAINT: minor fixes for sklearnex examples (intel#1387)
Browse files Browse the repository at this point in the history
fix random_forest_regressor_spmd.py import sort

removed typos from examples
  • Loading branch information
samir-nasibli committed Aug 2, 2023
1 parent 156dfff commit 6ec8f38
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/sklearnex/knn_bf_classification_dpnp_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# ===============================================================================

# sklearnex kNN example for GPU offloading with DPNP ndarray:
# python ./knn_bf_classification_dpnp_batch.py.py
# python ./knn_bf_classification_dpnp_batch.py

import dpctl
import dpnp
Expand Down
2 changes: 1 addition & 1 deletion examples/sklearnex/random_forest_regressor_dpnp_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# ===============================================================================

# sklearnex RF example for GPU offloading with DPNP ndarray:
# python ./random_forest_regressor_dpnp_batch.py.py
# python ./random_forest_regressor_dpnp_batch.py

import dpnp
import numpy as np
Expand Down
1 change: 0 additions & 1 deletion examples/sklearnex/random_forest_regressor_spmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import dpctl
import dpctl.tensor as dpt
import dpnp

import numpy as np
from mpi4py import MPI
from numpy.testing import assert_allclose
Expand Down

0 comments on commit 6ec8f38

Please sign in to comment.