anomaly
¶
AnomalyDetect
¶
AnomalyDetect(
n_epochs: int = 10,
batch_size: int = 128,
learning_rate: float = 0.0003,
n_dis: int = 2,
GPU: Union[bool, str] = True,
random_state: Optional[int] = None,
weight: Optional[Dict[str, float]] = None,
)
Source code in src\stands\anomaly.py
UpdateD
¶
Updating discriminator
Source code in src\stands\anomaly.py
UpdateG
¶
Updating generator
Source code in src\stands\anomaly.py
fit
¶
Train STANDS on reference graph
Source code in src\stands\anomaly.py
init_weight
¶
Initial stage for pretrained weights and memory block
Source code in src\stands\anomaly.py
predict
¶
Detect anomalous spots on target graph