Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于alarm_association模块例子代码每次结果不一样 #10

Open
lilihongjava opened this issue Nov 4, 2019 · 2 comments
Open

Comments

@lilihongjava
Copy link

lilihongjava commented Nov 4, 2019

例子每次结果经常不一样,
cpu.idle is related to alarm
net.if.totoal.bits.sum is not related to alarm
mem.memused.percent is related to alarm
mem.swapused.percent is related to alarm
ss.closed is not related to alarm

cpu.idle is not related to alarm
net.if.totoal.bits.sum is related to alarm
mem.memused.percent is related to alarm
mem.swapused.percent is related to alarm
ss.closed is not related to alarm

cpu.idle is not related to alarm
net.if.totoal.bits.sum is not related to alarm
mem.memused.percent is not related to alarm
mem.swapused.percent is related to alarm
ss.closed is not related to alarm

是因为数据集的问题吗,代码mixdata函数里每次随机获取数据到mixset混合集,和论文里面也是一致的,但为什么每次最终结果都不一样,那这样准确度不是应该不高吗

@lilihongjava lilihongjava changed the title 于alarm_association模块例子代码每次结果不一样 关于alarm_association模块例子代码每次结果不一样 Nov 4, 2019
@jixinpu
Copy link
Owner

jixinpu commented Nov 5, 2019

因为我这个数据集可能不太好,导致它们之间的差别不是很大,所以分析出来结果不一样。

@lilihongjava
Copy link
Author

我看了代码,我觉得例子item_alarm_data.csv里面的每隔5秒的时间不应该对应host.alive.csv数据集的每个时间点。item_alarm_data.csv应该包含报警时的数据和没报警时候的数据,代码里通过alarm_association.mixdata处理完的数据是不是不对,因为alarm和random的数据没有区分,应该是alarm为报警时的数据,random应该是没报警时的数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants