Skip to content

Commit

Permalink
p-value score filtering must returns results less than the threshold #15
Browse files Browse the repository at this point in the history
  • Loading branch information
Habush committed Apr 23, 2019
1 parent 61eb3d0 commit 33684a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crossval/filters/score_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PValueFilter(BaseFilter):
def cut_off(self, models, value):
models = super().filter_negatives(models)

return list(filter(lambda k: k.test_score.p_value >= value, models))
return list(filter(lambda k: k.test_score.p_value <= value, models))


class NullFilter(BaseFilter):
Expand Down
2 changes: 1 addition & 1 deletion service-result

0 comments on commit 33684a7

Please sign in to comment.