资源简介
PCA实现图像分类,论文+代码+测试/训练样品,华工出品,必属精品。

代码片段和文件信息
function [distanceLdistanceGLogLikelihood]=apply_model(TLmeanGmeanCgppcainvCgppcaVtot)
% This function Apply_Model uses the matrices and means from train_model.m
% to calculate the mahalanobis distance to global and local feature
% training data set which are combined to a log Likelihood ratio.
%
% [distanceLdistanceGLogLikelihood]=apply_model(TLmeanGmeanCgppca invCgppcaVtot)
%
% inputs
% T: Matrix with all feature vectors from the test data first
% feature vector T(:1)
% G: Matrix with all feature vectors from the global (not) training data
% inputs (from train_model.m)
% Lmean : The mean of the local feature vectors
% Gmean : The mean of the global feature vectors
% Cgppca : Covariance matrix after 3 PCA steps
% invCgppca : Inverse Covariance matrix after 3 PCA steps
% Vtot : The Rotation matrix of the 3 PCA steps% outputs
%
% outputs
% distanceL : The distance to the local training data set
% distanceG : The distance to the global training data set
% LogLikelihood : The log likelihood of test feature vector to belong to
% the local set.
%
% In the 3 PCA steps the feature vectors are rotated in a way that
% the Mahalanobis distance to the local set can be deteremined by
% FeatureA‘*FeatureA and to the global set by FeatureA‘*invCgppca*FeatureA.
% FeatureA is the mean substracted and rotated FeatureVector of a certain
% test (image/coordinate).
%
% Literature : Kroon D.J. and van Oort E.S.B. and Slump C.H. “Multiple
% Sclerosis Detection in Multispectral Magnetic Resonance Images with
% Principal Components Analysis“
%
% Function is written by D.Kroon University of Twente (July 2009)
distanceL=zeros(1size(T2));
distanceG=zeros(1size(T2));
for i=1:size(T2)
u=Vtot‘*(T(:i)-Gmean);
v=Vtot‘*(T(:i)-Lmean);
distanceG(i)=(u‘*invCgppca*u);
distanceL(i)=(v‘*v);
end
offset=log(det(Cgppca));
LogLikelihood=0.5*(distanceG-distanceL)+0.5*offset;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2019 2009-07-21 20:18 PCA_classifier_version1b\apply_model.m
文件 4801 2010-02-11 20:01 PCA_classifier_version1b\example_classifier_ms.m
文件 3692 2009-07-21 20:02 PCA_classifier_version1b\get_feature_vectors.c
文件 542 2009-07-21 18:50 PCA_classifier_version1b\get_feature_vectors.m
文件 742746 2008-08-13 18:05 PCA_classifier_version1b\Literature\MICCAI_MS_Challenge_UTwente_Final.pdf
文件 42372 2009-07-21 20:47 PCA_classifier_version1b\TestData\patient3_FLAIR.png
文件 51434 2009-07-21 17:26 PCA_classifier_version1b\TestData\patient3_T1.png
文件 84151 2009-07-21 17:27 PCA_classifier_version1b\TestData\patient3_T2.png
文件 3865 2010-02-11 19:56 PCA_classifier_version1b\train_model.m
文件 69519 2009-07-21 17:09 PCA_classifier_version1b\TrainingData\patient1_FLAIR.png
文件 739 2009-07-21 17:22 PCA_classifier_version1b\TrainingData\patient1_lesion.png
文件 70981 2009-07-21 17:21 PCA_classifier_version1b\TrainingData\patient1_T1.png
文件 82651 2009-07-21 17:22 PCA_classifier_version1b\TrainingData\patient1_T2.png
文件 60989 2009-07-21 20:48 PCA_classifier_version1b\TrainingData\patient2_FLAIR.png
文件 577 2009-07-21 17:25 PCA_classifier_version1b\TrainingData\patient2_lesion.png
文件 68764 2009-07-21 17:24 PCA_classifier_version1b\TrainingData\patient2_T1.png
文件 82603 2009-07-21 17:25 PCA_classifier_version1b\TrainingData\patient2_T2.png
文件 1314 2014-02-12 13:04 license.txt
相关资源
- ppt 机器学习.ppt
- Logistic回归总结非常好的机器学习总结
- Convex Analysis and Optimization (Bertsekas
- 机器学习个人笔记完整版v5.2-A4打印版
- JUNIOR:粒子物理学中无监督机器学习
- 语料库.zip
- 中国科学技术大学 研究生课程 机器学
- 遗传算法越野小车unity5.5
- 吴恩达机器学习编程题
- shape_predictor_68_face_landmarks.dat.bz2 68个标
- 机器学习实战高清pdf,中文版+英文版
- 李宏毅-机器学习(视频2017完整)
- 机器学习深度学习 PPT
- 麻省理工:深度学习介绍PPT-1
- Wikipedia机器学习迷你电子书之四《D
- Learning From Data Yaser S. Abu-Mostafa
- 北大林宙辰:机器学习一阶算法的优
- 李宏毅深度学习ppt
- 机器学习方法R实现-用决策树、神经网
- 数字金融反欺诈白皮书
- 机器学习班PPT原件全邹博
- 机器学习实战(源码和数据样本)
- 计算广告含有目录 刘鹏版
- 数据挖掘导论完整版PPT及课后习题答
- kaggle信用卡欺诈数据
- 机器学习技法原始讲义和课程笔记
- 机器学习数学 陈希孺《 概率论与数理
- 概率论与数理统计陈希孺
- 哈尔滨工业大学深圳 机器学习 2017 考
- [概率论与数理统计]陈希孺带目录
评论
共有 条评论