matlab用SVM对MNIST分类,MNIST+SVM手写数字分类

一、参考链接:

1.https://www.cnblogs.com/yaowuyangwei521/p/9975714.html

2.https://www.cnblogs.com/pinard/p/6126077.html

3.降低维度之后分类,并可视化结果

https://zodiac911.github.io/blog/mnist-analysis.html#%E9%99%8D%E7%BB%B4%E6%96%B9%E6%B3%95%E6%AF%94%E8%BE%83

二、MNIST获取部分数字数据(比如仅仅取4和9的图像及对应标签)

train_filter = np.where((y_train == 9) | (y_train == 4))

test_filter = np.where((y_pred == 9) | (y_pred == 4))

X_train, Y_train = X_train[train_filter], y_train[train_filter]

X_test, Y_test = x_test[test_filter], y_pred[test_filter]

来源:https://stackoverflow.com/questions/51202181/how-do-i-select-only-a-specific-digit-from-the-mnist-dataset-provided-by-keras

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值