分别通过SVM,KNN,PCA等机器学习算法实现人脸识别matlab仿真

630 篇文章 1060 订阅 ¥39.90 ¥99.00
该博客详细介绍了如何在MATLAB中使用SVM, KNN和PCA等机器学习算法进行人脸识别的仿真。通过实验展示了不同特征数量下,KNN和NB算法的预测准确率和交叉验证损失。结果表明,随着特征减少,预测性能有所波动,但PCA降维可能有助于提高效率。" 124690946,8651587,树的深度计算:最大深度与最小深度解析,"['算法', '二叉树', 'n叉树', '深度优先搜索', '广度优先搜索']
摘要由CSDN通过智能技术生成

目录

1.算法仿真效果

2.MATLAB源码

3.算法概述

4.部分参考文献


1.算法仿真效果

matlab2022a仿真结果如下:

.......Output.......
The feature of the original data is: 3776
The feature of the reduced data is: 10
The Accuracy of prediction using KNN is 12.7303
The loss obtained by cross-validated classification using KNN is 0.8405
The Accuracy of prediction using NB is 28.1407
The loss obtained by cross-validated classification using NB is 0.7339
.......Output.......
The feature of the original data is: 3776
The feature of the reduced data is: 20
The Accuracy of prediction using KNN is 27.9732
The loss obtained by cross-validated classification using KNN is 0.7178
The Accuracy of prediction using NB is 41.0385
The loss obtained by cross-validated classification using NB is 0.5901
.......Output.......
The feature of the original data is: 3776
The fea

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Simuworld

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值