Skip to content

Commit

Permalink
Update pytests to specify number of trees in iForest. (#59,#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkiri authored and hannah-rae committed Oct 4, 2021
1 parent 362ccee commit a07d8ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/planetary.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ outlier_detection: {
demud: {
k: 5
},
iforest: { },
iforest: {
n_trees: 100
},
negative_sampling: {
percent_increase: 20
},
Expand Down
2 changes: 1 addition & 1 deletion test/test_planetary.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_run(self):

# Check results for each algorithm
for file_base in ['demud-k=5/selections-demud.csv',
'iforest/selections-iforest.csv',
'iforest-n_trees=100/selections-iforest.csv',
'lrx-inner_window=3-outer_window=9-bands=1/selections-lrx.csv',
'negative_sampling-percent_increase=20/selections-negative_sampling.csv',
'pca-k=5/selections-pca.csv'
Expand Down

0 comments on commit a07d8ee

Please sign in to comment.