-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnomalyDetectTestConfig.py
More file actions
34 lines (22 loc) · 900 Bytes
/
AnomalyDetectTestConfig.py
File metadata and controls
34 lines (22 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import random
from Permutator import Permutator
Name="LSTMAutoEncoder"
Config={
"N_Samples":100, # Samples in a window
}
# For Random Generation
Config["N_Inputs"]=10
# Pattern Definition
# Fixed Parameters
Config["NoiseSigma"]= 0 # Noise baseline
Config["N_Patterns"]=1 # Number of possible random patterns classes
# Variable (random) Parameters
# Convention :
# X = 5 ==> X is always 5
# X = [1,10] ==> A given pattern will have X between 1 and 5
# X = (1,10) ==> An instance of a given pattern will have x between 1 and 5
Config["PatternSamples"]=[3,10] # Inherent pattern length
Config["L_range"]=(5,15) # Pattern Length
Config["A_range"]=10 # Amplitude Range
Config["f_range"]=1./Config["N_Patterns"] # Frequency Range ( f * N_Patterns = mean PatternsPerWindow )
Config["s_range"]=0.05 # Additional Noise for pattern