Commit 04f8be00 authored by Julien Jerphanion's avatar Julien Jerphanion

Change benchmarks configuration

parent 070a130a
...@@ -27,7 +27,7 @@ def benchmark(config, results_folder, bench_name): ...@@ -27,7 +27,7 @@ def benchmark(config, results_folder, bench_name):
datasets = config["datasets"] datasets = config["datasets"]
estimators = config["estimators"] estimators = config["estimators"]
leaf_sizes = config["leaf_sizes"] leaf_sizes = config["leaf_sizes"]
n_neighbors = config["n_neighbors"] n_neighbors = config.get("n_neighbors", [])
n_trials = config.get("n_trials", 3) n_trials = config.get("n_trials", 3)
return_distance = config.get("return_distance", False) return_distance = config.get("return_distance", False)
......
...@@ -4,18 +4,21 @@ estimators: ...@@ -4,18 +4,21 @@ estimators:
- name: cython+ - name: cython+
estimator: kdtree.KDTree estimator: kdtree.KDTree
n_trials: 1 n_trials: 3
datasets: datasets:
- n_samples_train: 1e6 - n_samples_train: 1e6
n_samples_test: 1e4 n_samples_test: 1e6
n_features: 5 n_features: 5
- n_samples_train: 1e6 - n_samples_train: 1e6
n_samples_test: 1e4 n_samples_test: 1e6
n_features: 10 n_features: 10
- n_samples_train: 1e6 - n_samples_train: 1e6
n_samples_test: 1e4 n_samples_test: 1e6
n_features: 50 n_features: 50
- n_samples_train: 1e6
n_samples_test: 1e6
n_features: 100
leaf_sizes: leaf_sizes:
- 64 - 64
...@@ -24,8 +27,4 @@ leaf_sizes: ...@@ -24,8 +27,4 @@ leaf_sizes:
- 512 - 512
- 1024 - 1024
- 2048 - 2048
- 4096
n_neighbors:
- 1
- 10
- 100
\ No newline at end of file
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