You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import numpy as np
import pandas as pd
from adtk.data import validate_series
import matplotlib.pyplot as plt
from adtk.visualization import plot
from adtk.transformer import DoubleRollingAggregate
from adtk.detector import ThresholdAD, QuantileAD
from adtk.aggregator import AndAggregator
import numpy as np
import pandas as pd
from adtk.data import validate_series
import matplotlib.pyplot as plt
from adtk.visualization import plot
from adtk.transformer import DoubleRollingAggregate
from adtk.detector import ThresholdAD, QuantileAD
from adtk.aggregator import AndAggregator
故障检测
from adtk.pipe import Pipenet
steps = {
# 长窗口历史数据扫描,规避持续异常跳变
"more_step_roll_aggr": {
"model": DoubleRollingAggregate(
agg="max",
window=(20, 1),
diff="diff"
),
"input": "original",
},
# 确保递增是一直持续存在
"abs_more_step_roll_aggr": {
"model": ThresholdAD(
high=0
),
"input": "more_step_roll_aggr"
},
}
pipenet = Pipenet(steps)
pipenet.plot_flowchart()
plt.show()
plt.savefig('net1.png')
The text was updated successfully, but these errors were encountered: