Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions deeplay/applications/detection/lodestar/lodestar.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def detect(self, x, alpha=0.5, beta=0.5, cutoff=0.97, mode="quantile"):
x : array-like
Input to model
alpha, beta: float
Geometric weight of the weight-map vs the consistenct metric for detection.
Geometric weight of the weight-map vs the consistency metric for detection.
cutoff: float
Threshold for detection
mode: string
Expand Down Expand Up @@ -223,7 +223,7 @@ def detect_single(
y_pred, weights: array-like
Output from model
alpha, beta: float
Geometric weight of the weight-map vs the consistenct metric for detection.
Geometric weight of the weight-map vs the consistency metric for detection.
cutoff: float
Threshold for detection
mode: string
Expand Down Expand Up @@ -285,7 +285,7 @@ def get_detection_score(cls, pred, weights, alpha=0.5, beta=0.5):
pred, weights: array-like
Output from model
alpha, beta: float
Geometric weight of the weight-map vs the consistenct metric for detection.
Geometric weight of the weight-map vs the consistency metric for detection.
"""
return (
weights[0].detach().cpu().numpy() ** alpha
Expand Down
Loading