>[test_x,test_y]=readdata("test_data.txt");>>[mode]=MyBayes_train(train_x,train_y);>>[acurracy,predict_y]=MyBayes_test(test_x,test_y,mode);-IMDN开发者社群-imdn.cn"> >[test_x,test_y]=readdata("test_data.txt");>>[mode]=MyBayes_train(train_x,train_y);>>[acurracy,predict_y]=MyBayes_test(test_x,test_y,mode); - IMDN开发者社群-imdn.cn">
登录
首页 » 算法 » Bayes的matlab实现

Bayes的matlab实现

于 2022-03-09 发布 文件大小:198.85 kB
0 128
下载积分: 2 下载次数: 1

代码说明:

自己写的一个Bayes分类器的matlab程序,比较简单。 使用方法 >> [ train_x, train_y ] = readdata("train_data.txt" ); >> [ test_x, test_y ] = readdata("test_data.txt" ); >> [mode]=MyBayes_train( train_x, train_y); >> [ acurracy, predict_y]=MyBayes_test( test_x, test_y, mode);

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C、 使用 ADT 包括 stack.h、 stack.c 和驱动程序的堆栈
    C、 使用 ADT 包括 stack.h、 stack.c 和驱动程序堆栈。堆栈使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和驱动程序的驱动程序 programStack 驱动程序 programStack 驱动程序 programStack 驱动程序 programStack
    2022-03-25 14:56:58下载
    积分:1
  • 基于C实现的采样复制的纹理图像修复方_可去除遮罩物
    资源描述CS7495 Final Project  Sooraj Bhat Object Removal by Exemplar-based Inpainting USING THE CODE Everything was done in Matlab and MEX (i.e. a C function callable from Matlab).  First, the C code needs to be compiled.  At the Matlab prompt, type:    mex bestexemplarhelper.c You should then be able to run the following (which takes ~2mins on my 2GHz Pentium 4 laptop with 256MB of RAM):    [i1,i2,i3,c,d,mov] = inpaint("bungee0.png","bungee1.png",[0 255 0]); A smaller run (~25 seconds) would be:    [i1,i2,i3,c,d,mov] = inpaint("bw0.png","bw2.png",[0 255 0]); To visualize:    plotall;    close; movie(mov); SAMPLE IMAGES & RESULTS *0.png      The original images ("bw" and "bungee") *{1,2}.png    The different fill region masks. *P2.png     &nbs
    2022-02-01 13:35:37下载
    积分:1
  • 一个java的tabu search框架
    一个java的tabu search算法框架-one of tabu search algorithm framework
    2022-03-25 14:23:27下载
    积分:1
  • 这是一个分治应用的又一个例子,利用分治技术,做大整数乘,尤其是几百位数以上的乘,比一般的方快很多,仅次于快速傅立叶变换....
    这是一个分治法应用的又一个例子,利用分治技术,做大整数乘法,尤其是几百位数以上的乘法,比一般的方法快很多,仅次于快速傅立叶变换.-This is a partition of the application also an example of the use of the partition, bigger integer multiplication, especially above the median of hundreds of multiplication, than the much faster after the Fast Fourier Transform.
    2022-02-01 00:49:28下载
    积分:1
  • 二分方程求根的经典
    二分法方程求根的经典算法-dichotomy of the classic algorithm
    2022-02-25 17:30:36下载
    积分:1
  • APML为用户提供访问Web页面和下载他们的能力…
    ApMl provides users with the ability to crawl the web and download pages to their computer in a directory structure suitable for a Machine Learning system to both train itself and classify new documents. Classification Algorithms include Naive Bayes, KNN -ApMl provides users with the ability to crawl the web and download pages to their computer in a directory structure suitable for a Machine Learning system to both train itself and classify new documents. Classification Algorithms include Naive Bayes, KNN
    2022-03-31 04:48:40下载
    积分:1
  • MATLAB进行灰色预测与聚类分析的程序代码
    MATLAB进行灰色预测与聚类分析的程序代码, 程序能够运行出正确的结果,希望对各位有帮助。
    2022-03-14 18:42:24下载
    积分:1
  • Stack在 c中
    Stack在 c中
    2022-01-22 15:11:41下载
    积分:1
  • 高斯―塞德尔迭代
    高斯―塞德尔迭代法。-Gauss- Seidel iteration.
    2022-05-22 21:37:54下载
    积分:1
  • 棋盘覆盖 applet小程序
    棋盘覆盖 applet小程序-chessboard coverage applet small program
    2022-06-21 13:03:27下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载