首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Matlab > 条件随机场链式CRF

条件随机场链式CRF

  • 资源大小:104.96 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 图像处理 matlab 链式 CRF

资 源 简 介

机器学习算法代码,可以用于分词,图像识别,行为识别等 原版本只可以在32位xp下运行,经本人修改,适用于各种版本matlab windows   clear all useMex = 0; % Set this to 1 to use mex files to speed things up %% Generate Synthetic Data % Notes: %   - X is categorical, each element X(i,j) contains the value of feature j for word i, %       a value of "0" means ignore the feature for this training example %   - y is cateogircal, each element y(i) contains the label for word i %       a value of "0" indicates the position between sentences [X,y] = crfChain_genSynthetic; nWords = size(X,1); nStates = max(y); nFeatures = max(X); %% Initialize parameters and data structures [w,v_start,v_end,v] = crfChain_initWeights(nFeatures,nStates,"randn");%初始化参数为正太分布,w状态-特征,v状态-状态 featureStart = cumsum([1 nFeatu

文 件 列 表

crfChain
misc
minFunc
KPM
crfChain
example_crfChain.m
mexAll.m
VIP VIP
0.179510s