Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 384a26a

Browse files
committedApr 15, 2025·
Add estimator filter example
1 parent 11b01d3 commit 384a26a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ How to run sklearnex benchmarks on CPU using the `sklbench` module and regular s
5050
python -m sklbench --configs configs/regular \
5151
--filters algorithm:library=sklearnex algorithm:device=cpu \
5252
--environment-name ENV_NAME --result-file result_sklearnex_cpu_regular.json
53-
# same command with shorter argument aliases for typing convenience
53+
# Same command with shorter argument aliases for typing convenience
5454
python -m sklbench -c configs/regular \
5555
-f algorithm:library=sklearnex algorithm:device=cpu \
5656
-e ENV_NAME -r result_sklearnex_cpu_regular.json
@@ -74,6 +74,13 @@ python -m sklbench -c configs/regular \
7474
--prefetch-datasets -l INFO
7575
```
7676

77+
To select measurement for few algorithms only, extend filter (`-f`) argument:
78+
```bash
79+
# ...
80+
-f algorithm:library=sklearnex algorithm:device=cpu algorithm:estimator=PCA,KMeans
81+
# ...
82+
```
83+
7784
For a description of all benchmarks runner arguments, refer to [documentation](sklbench/runner/README.md#arguments).
7885

7986
### Report Generator

0 commit comments

Comments
 (0)
Please sign in to comment.