Skip to content

Commit

Permalink
Merge pull request #394 from ZJUEarthData/fix/ano
Browse files Browse the repository at this point in the history
Fix/ano
  • Loading branch information
SanyHe authored Oct 9, 2024
2 parents 0ed77d1 + f17269d commit eb0a18b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geochemistrypi/data_mining/model/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class AnomalyDetectionWorkflowBase(WorkflowBase):
"""The base workflow class of anomaly detection algorithms."""

# common_function = []
common_function = [func.value for func in AnormalyDetectionCommonFunction]

def __init__(self) -> None:
super().__init__()
Expand Down Expand Up @@ -153,7 +153,7 @@ class IsolationForestAnomalyDetection(AnomalyDetectionWorkflowBase):
"""The automation workflow of using Isolation Forest algorithm to make insightful products."""

name = "Isolation Forest"
# special_function = []
special_function = []

def __init__(
self,
Expand Down Expand Up @@ -306,7 +306,7 @@ class LocalOutlierFactorAnomalyDetection(AnomalyDetectionWorkflowBase):
"""The automation workflow of using Local Outlier Factor algorithm to make insightful products."""

name = "Local Outlier Factor"
# special_function = []
special_function = [func.value for func in LocalOutlierFactorSpecialFunction]

def __init__(
self,
Expand Down

0 comments on commit eb0a18b

Please sign in to comment.