Skip to content

Commit

Permalink
modified: auton_survival/estimators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragnagpal committed Mar 29, 2022
1 parent 26793bc commit 6e542b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auton_survival/estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def fit(self, features, outcomes,

if weights is not None:
assert len(weights) == features.shape[0], "Size of passed weights must match size of training data."
assert ((weights>0.0)&(weights<=1.0)).all(), "Weights must be in the range (0,1]."
# assert ((weights>0.0)&(weights<=1.0)).all(), "Weights must be in the range (0,1]."

# weights[weights>(1-weights_clip)] = 1-weights_clip
# weights[weights<(weights_clip)] = weights_clip
Expand Down

0 comments on commit 6e542b3

Please sign in to comment.