资源简介
半监督matlab代码--经过调试--可用。
代码片段和文件信息
function [PosterioriPosPosterioriNeg]=BinaryClassify_test(Classifierdata)
%BinaryClassify_test classifiers data points into binary classes
%
% Syntax
%
% [PosterioriPosPosterioriNeg]=BinaryClassify_test(Classifierdata)
%
% Description
%
% BinaryClassify_test takes
% Classifier - A struct variable with three fields ‘type‘ ‘attri_type‘ and ‘model‘ that specifies the classifier‘s relevant information:
% 1) Classifier.type gives the type of classifiers which can take the value of ‘NB‘ (naive bayes) ‘BP‘ (bp neural
% network) or ‘CART‘ (CART decision tree);
% 2) Classifier.attri_type indicates which kinds of attributes it can deal with 0 for binary features while 1 for
% real-valued features;
% 3) Classifier.model contains the specific model information:
% a) If strcmp(Classifier.type‘NB‘)==1 Classifier.model is again a struct variable with three fields ‘prior‘ ‘paraPos‘ (2xd1 array)
% and ‘paraNeg‘ (2xd1 array):
% a1) Classifier.model.prior(1) gives the prior probability of an instance being positive while Classifier.model.prior(2)
% gives the prior probability of an instance being negative.
% a2) The meanings of the other two fields (i.e. ParaPos and paraNeg) depend on the value of Classifier.attri_type
% i) If Classifier.attri_type is 0 (binary features) Classifier.model.paraPos(1d) gives the conditional probability that an instance
% will take a value of 1 on its d-th dimension given it is positive while Classifier.model.paraPos(2d) gives the conditional
% probability that an instance will take a value of 0 on its d-th dimension given it is positive. Similarly Classifier.model.paraNeg(1d)
% gives the conditional probability that an instance will take a value of 1 on its d-th dimension given it is negative while
% Classifier.model.paraNeg(2d) gives the conditional probability that an instance will take a value of 0 on its d-th
% dimension given it is negative.
% ii) If Classifier.attri_type is 1 (real-valued features) Classifier.model.paraPos(1d) gives the mean of the Gaussian distribution on the
% instance‘s d-th dimension given it is positive while Classifier.model.paraPos(2d) gives the standard deviation of the
% Gaussian distribution on the instance‘s d-th dimension given it is posi
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6304 2013-09-20 22:01 CoTrade\BinaryClassify_test.m
文件 6782 2013-09-20 22:01 CoTrade\BinaryClassify_train.m
文件 1594 2013-09-20 22:01 CoTrade\Build_NG.m
文件 3351 2013-09-20 22:01 CoTrade\choose_prop_index.m
文件 2289 2013-09-20 22:01 CoTrade\ConfEstimate_vDE.m
文件 325 2013-09-20 22:01 CoTrade\conf_validation.m
文件 13690 2013-09-20 22:01 CoTrade\CoTrade.m
文件 3418 2013-12-23 10:37 CoTrade\CoTradefig.fig
文件 13503 2013-12-20 21:33 CoTrade\CoTradefig.m
I.A.... 7343 2013-12-23 11:14 CoTrade\CoTrade_train.m
文件 1497 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\COPYRIGHT
文件 28904 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\heart_scale.mat
文件 208 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\make.m
文件 1326 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\Makefile
文件 8312 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\README
文件 2467 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\read_sparse.c
文件 7680 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\read_sparse.mexw32
文件 62021 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svm.cpp
文件 2899 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svm.h
文件 8469 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svmpredict.c
文件 32768 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svmpredict.mexw32
文件 10807 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svmtrain.c
文件 65536 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svmtrain.mexw32
文件 7632 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svm_model_matlab.c
文件 201 2013-09-20 22:01 CoTrade\libsvm-mat-2.86-1\svm_model_matlab.h
目录 0 2013-12-23 10:14 CoTrade\libsvm-mat-2.86-1
目录 0 2013-12-25 21:42 CoTrade
----------- --------- ---------- ----- ----
299326 27
............此处省略0个文件信息
- 上一篇:magnify.zip
- 下一篇:matlab绘制三维图
相关资源
- matlab绘制三维图
- retinex的MATLAB实现程序
- 模式识别大作业K均值算法matlab平台实
- 图像字符分割
- Kmean图像聚类算法
- 六自由度机器人matlab源程序
- matlab模糊控制规则文件
- matlab实现BLDC的模糊控制调速
- 不动点迭代法解非线性方程的newton法
- RVM分类器及回归 matlab源代码
- Matlab实现ISODATA算法对iris数据分类
- matlab 爱的表白
- matlab神曲卡农
- matlab人脸识别代码
- 差分方程模型matlab代码
- ID3算法matlab
- 动作能量图
- LMS matlab
- 8阵元均匀圆阵MUSIC DOA算法的matlab程序
- 单片空间后方交会matlab
- topsis matlab 源程序
- 基于MATLAB的模拟退火算法求解最短路
- 放大转发协同通信系统误码率matlab实
- MATLAB信号处理
- 地震波偏移成像matlab
- matlab 仿真程序
- 二维弹性波数值模拟matlab
- 瑞利衰落信道下,采用MRC分集误码性
- 无向图中的最大流算法MATLAB代码
- 基于matlab的简单人脸识别程序代码.
评论
共有 条评论