用matlab怎么进行神经网络训练,如何在Matlab中使用训练好的神经网络进行实际系统的分类(How to use trained Neural Network in Matlab for clas...

博主在使用Matlab Neural Network Toolbox训练了一个包含语音特征和加速度计数据的神经网络,目标是二分类。但在实时测试中,仅得到百分比正确率而无实际分类结果。寻求将预训练模型用于实时分类并显示具体分类结果的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I have trained Feed Forward NN using Matlab Neural Network Toolbox on a dataset containing speech features and accelerometer measurements. Targetset contains two target classes for dataset: 0 and 1. The training, validation and performance are all fine and I have generated code for this network.

Now I need to use this neural network in real-time to recognize pattern when occur and generate 0 or 1 when I test a new dataset against previously trained NN. But when I issue a command:

c = sim(net, j)

Where "j" is a new dataset[24x11]; instead 0 or 1 i get this as an output (I assume I get percent of correct classification but there is no classification result itself):

c =

Columns 1 through 9

0.6274 0.6248 0.9993 0.9991 0.9994 0.9999 0.9998 0.9934 0.9996

Columns 10 through 11

0.9966 0.9963

So is there any command or a way that I can actually see classification results? Any help highly appreciated! Thanks

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值