WEKA工具箱中的隐马尔可夫模型等效于什么? [英] What is the equivalent for a Hidden Markov Model in the WEKA toolkit?

查看:170
本文介绍了WEKA工具箱中的隐马尔可夫模型等效于什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要对来自8个加速度计组成的传感器网络的数据流进行分类。每个加速度计给我一个X Y和Z值。因此,在每个样本上,我有8 x 3 = 24个加速度值。我以大约30 Hz的频率采样,执行时间约为0.5秒。

I need to classify a datastream which comes from a sensor network consisting of 8 accelerometers. Each accelerometer gives me a X Y and Z value. Thus at each sample i have 8 x 3 = 24 acceleration values. I sample at about 30 hz and the performance time is about 0.5 seconds.

起初,我想到了为此使用隐马尔可夫模型,但似乎WEKA工具包没有提供这种功能。 WEKA等效于什么?

At first i thought of using a Hidden Markov model for this but it seems that the WEKA toolkit does not provide such a thing. What is the WEKA equivalent for this?

谢谢。

编辑:如何格式化数据?

how to format data?

我已经收集了数据,现在我想使用HMMWeka进行分类。在网站上指出

I have collected data and now i want to use the HMMWeka for classification. On the website it states that


数据实例必须具有单个Nominal类属性和单个关系性序列属性。这种关系表现形式中的实例可以由单个名义数据实例(对于离散HMM)组成,也可以由多元数值属性(对于高斯HMM)组成。

Data instances must have a single, Nominal, class attribute and a single, relational, sequence attribute. The instances in this relational attibute may either consist of single, nominal data instances (in the case of discrete HMMs) or multivariate, numeric attributes (in the case of gaussian HMMs).

但是我很困惑如何满足我的要求。

but i am confused how i would need to present my data in order to meet this requirement.

我的数据如下:

"GESTURE A",[{407 318 425};...{451 467 358};{427 525 445};][{440 342 456}...;{432 530 449};]
"GESTURE A",[{406 318 424};...{450 467 357};{422 525 445};][{440 342 456}...;{428 531 449};]
"GESTURE B",[{407 318 424};...{449 466 357};{423 524 445};][{440 342 456}...;{429 530 449};]
"GESTURE B",[{380 299 399};...{424 438 338};{404 500 426};][{433 337 449}...;{429 529 449};]

因此,对于每个手势,我都有几个示例。 {}之间的数据表示一个加速度计的X Y Z值。超越[...]代表一个包含8个加速度计的样本。

So for every gesture i have several examples. The data between {} represents X Y Z values of one accelerometer. The overaching [ ... ] represents one sample containing 8 accelerometers.

我不知道如何从中创建ARFF文件?

I don't understand how i can create an ARFF file from this?

谢谢

推荐答案

您尝试过 HMMWeka ?它需要weka的开发人员版本(3.7 +)。

Did you try HMMWeka? It needs Developer version (3.7+) of weka.

这篇关于WEKA工具箱中的隐马尔可夫模型等效于什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆