• 大小: 17.27M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-12
  • 语言: Matlab
  • 标签: CNNSVM-maste  SVM  CNN  

资源简介

先利用卷及神经网络提取数据特征,再加svm进行分类

资源截图

代码片段和文件信息

clear all;
close all;
clc;

addpath ./data
addpath ./util
addpath ./cnn
addpath ./cnn-model

load mnist_uint8;
load epoch10.mat;


train_x = double(reshape(train_x‘282860000))/255;
test_x = double(reshape(test_x‘282810000))/255;
train_y = double(train_y‘);
test_y = double(test_y‘);


[er predict groundtruth] = cnn_predict(cnn test_x test_y);
disp(strcat(‘准确率为 ‘num2str((1-er)*100)‘%‘))
C = confusionmat(groundtruth predict)   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         378  2020-10-27 08:10  CNNSVM-master\.gitattributes
     文件         574  2020-10-27 08:10  CNNSVM-master\.gitignore
     文件         446  2020-10-27 08:10  CNNSVM-master\CNNSVM\CNN.m
     文件        1621  2020-10-27 08:10  CNNSVM-master\CNNSVM\CNNSVM.m
     文件         251  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn_predict.m
     文件         495  2020-10-27 08:10  CNNSVM-master\CNNSVM\epoch_by_epoch.m
     文件        1815  2020-10-27 08:10  CNNSVM-master\CNNSVM\generate_cnn_feature.m
     文件         392  2020-10-27 08:10  CNNSVM-master\CNNSVM\Readme.md
     文件        3478  2020-10-27 08:10  CNNSVM-master\CNNSVM\svmmnistfea.m
     文件         575  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\cnnapplygrads.m
     文件        2141  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\cnnbp.m
     文件        1774  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\cnnff.m
     文件        3430  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\cnnnumgradcheck.m
     文件        2020  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\cnnsetup.m
     文件         193  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\cnntest.m
     文件         845  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\cnntrain.m
     文件         981  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn\test_example_CNN.m
     文件     3305586  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn-model\epoch10.mat
     文件         320  2020-10-27 08:10  CNNSVM-master\CNNSVM\cnn-model\readme.txt
     文件    14735220  2020-10-27 08:10  CNNSVM-master\CNNSVM\data\mnist_uint8.mat
     文件         713  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\compute_features.m
     文件         165  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\compute_feature_dim.m
     文件        3168  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\compute_gradient.m
     文件        1242  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\compute_gradient_features.m
     文件        1242  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\compute_gradient_features.m~
     文件        1282  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\compute_sphog_features.m
     文件         497  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\concat_features.m
     文件         215  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\cumsum2D.m
     文件        1335  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\get_sampling_grid.m
     文件         608  2020-10-27 08:10  CNNSVM-master\CNNSVM\feat-code\normalize_response.m
     文件         274  2020-10-27 08:10  CNNSVM-master\CNNSVM\svm\display_images.m
............此处省略39个文件信息

评论

共有 条评论

相关资源