硬汉嵌入式论坛

 找回密码
 立即注册
查看: 3756|回复: 6
收起左侧

[DSP] ARM首版基于CMSIS-DSP的单片机机器学习库教程发布(2020-04-16)

[复制链接]

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106746
QQ
发表于 2020-4-16 02:07:40 | 显示全部楼层 |阅读模式
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106746
QQ
 楼主| 发表于 2020-4-16 02:14:27 | 显示全部楼层
回复

使用道具 举报

73

主题

1193

回帖

1412

积分

至尊会员

积分
1412
发表于 2020-4-16 08:49:41 | 显示全部楼层
每日比来硬汉论坛。。。。不来就心里空荡荡
回复

使用道具 举报

0

主题

3

回帖

3

积分

新手上路

积分
3
发表于 2020-4-17 11:05:51 | 显示全部楼层
请教一下下面这段什么意思?表示目前SVM只能分类只能分成两类吗?要分辨10个数字,为什么需要45组?

An SVM classifier is a binary classifier. If you want to work with more classes, you need to
create classifiers for each distinct pair of classes, and use a majority voting on the results to
select the final class.
For instance, in the following example from scikit-learn, SVM is used to recognize digits. With
ten digits, there are 45 pairs. This means that there are 45 SVM classifiers. Scikit-learn creates
them automatically using the strategy one-vs-one: each classed is compared with every other
class.
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106746
QQ
 楼主| 发表于 2020-4-17 11:14:23 | 显示全部楼层
ronic 发表于 2020-4-17 11:05
请教一下下面这段什么意思?表示目前SVM只能分类只能分成两类吗?要分辨10个数字,为什么需要45组?

An  ...

这个要上ARM官网社区咨询,我还没顾上看。
回复

使用道具 举报

1

主题

94

回帖

97

积分

初级会员

积分
97
发表于 2020-4-17 13:37:51 | 显示全部楼层
ronic 发表于 2020-4-17 11:05
请教一下下面这段什么意思?表示目前SVM只能分类只能分成两类吗?要分辨10个数字,为什么需要45组?

An  ...

svm就是个二分类器,识别多类的方法就是用二分类器的级联来达到目的。
回复

使用道具 举报

0

主题

3

回帖

3

积分

新手上路

积分
3
发表于 2020-4-17 16:31:48 | 显示全部楼层
1.4.1.1. Multi-class classification
SVC and NuSVC implement the “one-against-one” approach (Knerr et al., 1990) for multi- class classification. If n_class is the number of classes, then n_class * (n_class - 1) / 2 classifiers are constructed and each one trains data from two classes. To provide a consistent interface with other classifiers, the decision_function_shape option allows to monotically transform the results of the “one-against-one” classifiers to a decision function of shape (n_samples, n_classes).
找到原因了。9x10/2 = 45
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-3 16:19 , Processed in 0.180919 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表