forked from huawei/openGauss-server
Update __init__.py
This commit is contained in:
parent
b4f33b07cf
commit
fd0098411a
|
|
@ -11,6 +11,13 @@
|
||||||
# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
||||||
# See the Mulan PSL v2 for more details.
|
# See the Mulan PSL v2 for more details.
|
||||||
|
|
||||||
|
#function name: detect
|
||||||
|
#description: if the method is "bool" type, then call the functions sum_detect、avg_detect、ks_detect to diagnose errors
|
||||||
|
#These functions are in the parent slow_sql/significance_detection
|
||||||
|
#arguments: data1(array), data2(array), method
|
||||||
|
#return value: bool type
|
||||||
|
#date: 2022/8/2
|
||||||
|
#contact: 1865997821
|
||||||
|
|
||||||
def detect(data1, data2, method='bool', threshold=0.01, p_value=0.5):
|
def detect(data1, data2, method='bool', threshold=0.01, p_value=0.5):
|
||||||
if method == 'bool':
|
if method == 'bool':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue