Commit ad5a2d36 authored by Julien Jerphanion's avatar Julien Jerphanion

Fix n_features to 32 and cap number of threads 2^5

The number of features should have no influence
on the scalability.
parent 63a742b6
...@@ -75,7 +75,7 @@ clean: ...@@ -75,7 +75,7 @@ clean:
# Uses taskset to cap to a cpu solely # Uses taskset to cap to a cpu solely
.PHONY: benchmark .PHONY: benchmark
benchmark: benchmark:
for i in {0..7}; do \ for i in {0..5}; do \
taskset -c 0-$$((2**i-1)) ${PYTHON_EXECUTABLE} benchmarks/benchmark.py `git rev-parse --short HEAD`_$$((2**i))_threads ;\ taskset -c 0-$$((2**i-1)) ${PYTHON_EXECUTABLE} benchmarks/benchmark.py `git rev-parse --short HEAD`_$$((2**i))_threads ;\
done done
${PYTHON_EXECUTABLE} benchmarks/report.py `git rev-parse --short HEAD` ${PYTHON_EXECUTABLE} benchmarks/report.py `git rev-parse --short HEAD`
......
...@@ -9,18 +9,12 @@ n_trials: 5 ...@@ -9,18 +9,12 @@ n_trials: 5
datasets: datasets:
- n_samples_train: 1e5 - n_samples_train: 1e5
n_samples_test: 1 # not used yet n_samples_test: 1 # not used yet
n_features: 2 n_features: 32
- n_samples_train: 1e5 - n_samples_train: 1e6
n_samples_test: 1 # not used yet
n_features: 10
- n_samples_train: 1e5
n_samples_test: 1 # not used yet n_samples_test: 1 # not used yet
n_features: 100 n_features: 32
leaf_sizes: leaf_sizes:
- 64
- 128
- 256
- 512 - 512
- 1024 - 1024
- 2048 - 2048
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment