Skip to content

Commit

Permalink
Refactor comments of the probability calibration example.
Browse files Browse the repository at this point in the history
  • Loading branch information
selimfirat committed Aug 17, 2020
1 parent 5031b10 commit 7c0a93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example_probability_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
calibrated_score = calibrator.fit_transform(anomaly_score) # Fit & calibrate score.

# Output if the instance is anomalous.
if calibrated_score > 0.95: # If probability is less than 5%.
if calibrated_score > 0.95: # If probability of being normal is less than 5%.
print(f"Alert: {i}th data point is anomalous.")

0 comments on commit 7c0a93e

Please sign in to comment.