Skip to content

Commit

Permalink
Removed optional args in RANK and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
KulikDM committed Sep 9, 2023
1 parent ce32a2f commit 4ac938b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pythresh/utils/rank.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class RANK():
Parameters
----------
od_models : list, optional (default=None)
od_models : list
thresh : {pythresh.threshold class, float, int}, optional (default=None)
thresh : {pythresh.threshold class, float, int}
weights : list of shape 3, optional (default=None)
These weights are applied to the combined rank score. The first
Expand Down Expand Up @@ -80,7 +80,7 @@ class RANK():
rankings = ranker.eval(X)
"""

def __init__(self, od_models=None, thresh=None, weights=None):
def __init__(self, od_models, thresh, weights=None):

self.od_models = od_models
self.thresh = thresh
Expand Down

0 comments on commit 4ac938b

Please sign in to comment.