wangkai-tech23 / StatGraph

Effective In-vehicle Intrusion Detection via Multi-view Statistical Graph Learning on CAN Messages (arXiv:2311.07056)
3 stars 1 forks source link

你好麻烦您,还有个问题,“coupling characteristic graph”生成的代码在哪里?只看到了timing correlation graphs #3

Open 762348657 opened 4 months ago

wangkai-tech23 commented 4 months ago

你好,“couplingcharacteristic graph”对应edges,生成代码分别在 StatGraph-CarHacking/dataprocess50_40/edges/generate ** edges 50_40.py和StatGraph-ROAD/dataprocess400_5/edges/generate edges 400_5.py这几个文件中。

---- 回复的原邮件 ---- 发件人 @.> 日期 2024年02月29日 21:57 收件人 @.> 抄送至 @.***> 主题 [wangkai-tech23/StatGraph] 你好麻烦您,还有个问题,“coupling characteristic graph”生成的代码在哪里?只看到了timing correlation graphs (Issue #3)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

762348657 commented 3 months ago

以Car Hacking Dataset为例,原数据集是五个不同的消息类型,处理过后点和边同样也是五个不同的类型,加载也是按顺序加载,那这五个之间不需要全部打乱处理吗?

wangkai-tech23 commented 3 months ago

五种类型的数据是固定的,无法打乱。按顺序加载是为了让节点与边正确对应。此外,在训练部分,使用了“random.shuffle(x)”打乱训练数据集。

---- 回复的原邮件 ---- 发件人 @.> 日期 2024年03月18日 12:38 收件人 @.> 抄送至 Kai Wang @.>@.> 主题 Re: [wangkai-tech23/StatGraph] 你好麻烦您,还有个问题,“coupling characteristic graph”生成的代码在哪里?只看到了timing correlation graphs (Issue #3)

以Car Hacking Dataset为例,原数据集是五个不同的消息类型,处理过后点和边同样也是五个不同的类型,加载也是按顺序加载,那这五个之间不需要全部打乱处理吗? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>