Skip to content

Commit 765a5c3

Browse files
committed
CI fixes
1 parent 9d62d5d commit 765a5c3

File tree

5 files changed

+18
-6
lines changed

5 files changed

+18
-6
lines changed

configs/spmd/kmeans.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"kmeans": {
88
"SETS": [
99
"common kmeans parameters",
10-
"sklearn kmeans parameters",
11-
"kmeans datasets",
10+
"sklearn kmeans parameters",
11+
"kmeans datasets",
1212
"sklearnex spmd implementation",
1313
"spmd default parameters",
1414
"spmd kmeans parameters"

configs/testing/azure-pipelines-ci.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,14 @@
101101
},
102102
{
103103
"algorithm": {
104-
"estimator": ["SVC", "SVR"]
104+
"estimator": ["SVC", "SVR"],
105+
"estimator_params": { "max_iter": 1000 }
105106
}
106107
},
107108
{
108109
"algorithm": {
109110
"estimator": ["NuSVC", "NuSVR"],
110-
"estimator_params": { "nu": 0.1 }
111+
"estimator_params": { "max_iter": 1000, "nu": 0.1 }
111112
}
112113
},
113114
{

sklbench/report/compatibility.py

+11
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@
2323

2424

2525
def transform_results_to_compatible(results: pd.DataFrame):
26+
# sklearn and sklearnex compatibility
27+
if (results["library"] == "sklearnex").any():
28+
# delete extra columns related to sklearnex only
29+
results.drop(
30+
inplace=True,
31+
errors="ignore",
32+
columns=[
33+
"max_bins",
34+
"min_bin_size",
35+
],
36+
)
2637
# cuML compatibility
2738
if (
2839
(results["library"] == "cuml")

sklbench/runner/arguments.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def add_runner_arguments(parser: argparse.ArgumentParser) -> argparse.ArgumentPa
128128
"--prefetch-datasets",
129129
default=False,
130130
action="store_true",
131-
help="[EXPERIMENTAL] Load named datasets in parallel before running benchmarks.",
131+
help="Load all requested datasets in parallel before running benchmarks.",
132132
)
133133
# workflow control
134134
parser.add_argument(

test-configuration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ steps:
2626
python -m sklbench -l DEBUG -p algorithm:library=sklearnex algorithm:estimator=KMeans data:dataset=a9a
2727
displayName: CLI arguments run
2828
- script: |
29-
python -m sklbench -l INFO -c configs/testing/azure-pipelines-ci.json --report
29+
python -m sklbench -l INFO -c configs/testing/azure-pipelines-ci.json --prefetch-datasets --report --diff-cols library --compatibility-mode
3030
displayName: CI config run

0 commit comments

Comments
 (0)