-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #487: add filters to subclustering based on load before and after * #487: fix failing test, set default thresholds to 0.0 * #487: make subclustering filters configurable * #487: fix pylint warnings * #487: fix formatting of max_load
- Loading branch information
Showing
10 changed files
with
174 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Specify input | ||
from_data: | ||
data_stem: ../data/synthetic_lb_data/data | ||
phase_ids: | ||
- 0 | ||
check_schema: false | ||
|
||
# Specify work model | ||
work_model: | ||
name: AffineCombination | ||
parameters: | ||
alpha: 1.0 | ||
beta: 0.0 | ||
gamma: 0.0 | ||
|
||
# Specify algorithm | ||
algorithm: | ||
name: InformAndTransfer | ||
phase_id: 0 | ||
parameters: | ||
n_iterations: 4 | ||
n_rounds: 2 | ||
fanout: 2 | ||
order_strategy: arbitrary | ||
transfer_strategy: Clustering | ||
max_subclusters: 10 | ||
subclustering_threshold: 0.2 | ||
subclustering_minimum_improvement: 0.3 | ||
criterion: Tempered | ||
max_objects_per_transfer: 32 | ||
deterministic_transfer: true | ||
|
||
# Specify output | ||
output_dir: ../output | ||
output_file_stem: output_file |
34 changes: 34 additions & 0 deletions
34
tests/unit/config/conf_wrong_subclustering_minimum_improvement.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Specify input | ||
from_data: | ||
data_stem: ../data/synthetic_lb_data/data | ||
phase_ids: | ||
- 0 | ||
check_schema: false | ||
|
||
# Specify work model | ||
work_model: | ||
name: AffineCombination | ||
parameters: | ||
alpha: 1.0 | ||
beta: 0.0 | ||
gamma: 0.0 | ||
|
||
# Specify algorithm | ||
algorithm: | ||
name: InformAndTransfer | ||
phase_id: 0 | ||
parameters: | ||
n_iterations: 4 | ||
n_rounds: 2 | ||
fanout: 2 | ||
order_strategy: arbitrary | ||
transfer_strategy: Clustering | ||
max_subclusters: 10 | ||
subclustering_minimum_improvement: -1 | ||
criterion: Tempered | ||
max_objects_per_transfer: 32 | ||
deterministic_transfer: true | ||
|
||
# Specify output | ||
output_dir: ../output | ||
output_file_stem: output_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Specify input | ||
from_data: | ||
data_stem: ../data/synthetic_lb_data/data | ||
phase_ids: | ||
- 0 | ||
check_schema: false | ||
|
||
# Specify work model | ||
work_model: | ||
name: AffineCombination | ||
parameters: | ||
alpha: 1.0 | ||
beta: 0.0 | ||
gamma: 0.0 | ||
|
||
# Specify algorithm | ||
algorithm: | ||
name: InformAndTransfer | ||
phase_id: 0 | ||
parameters: | ||
n_iterations: 4 | ||
n_rounds: 2 | ||
fanout: 2 | ||
order_strategy: arbitrary | ||
transfer_strategy: Clustering | ||
max_subclusters: 10 | ||
subclustering_threshold: -1 | ||
criterion: Tempered | ||
max_objects_per_transfer: 32 | ||
deterministic_transfer: true | ||
|
||
# Specify output | ||
output_dir: ../output | ||
output_file_stem: output_file |