-
C++实现朴素贝叶斯分类器
几个注意事项: 1.如果自己造数据在写.names文件时最后‘.’后面要加个回车,不加会出错! 2.数据文件分3个,例如训练集在golf.data和golf.names中,预测数据集在golftest.data中。 3.这个数据集和c45的数据集一样,读取和存储都是借鉴C45原作者的方法写的。 4.最后训练出来的分类模型存在一个3维数组当中PostFreq[类][属性][属性值],这样比如方便预测 PostFreq存放的某个类下某个属性的属性值的频率。 5.这个和我以前传的差不多 我主要把那个模型也就是PostFreq[类][属性][属性值]中的值都写进“.model”文件了 ,然后在项目下有两个工程一个工程是用来 训练模型然后写进“.model”文件,另一个工程是预测的,它运行时只要读取“.model”文件就可以进行预测了,就不用在向我前面上传那个工程每回都要 训练一个PostFreq[类][属性][属性值]。 6.在VS2005下运行要先上载其中一个工程在运行另一个工程哦 7.所有的数据文件和生成的模型文件都放在data文件夹里了 这样方便2个工程读取数据。
- 2023-06-20 03:20:04下载
- 积分:1
-
是一个java程序编写的华容路很有学习价值,有用…
是一个用java编写的华容道程序
很有学习价值,对初学者很有帮助-is a java with the preparation procedures HuaRong Road is learning value, useful for beginners
- 2022-01-26 01:51:21下载
- 积分:1
-
用delphi7创建intraweb应用程序
用delphi7创建intraweb应用程序-delphi7 used to create applications Intraweb
- 2023-05-05 10:00:03下载
- 积分:1
-
文本记事本,文本记事本的基本功能实现了,比如复制粘贴等...
文本记事本,文本记事本的基本功能实现了,比如复制粘贴等-notebook
- 2022-05-28 01:01:05下载
- 积分:1
-
LINUX MOXA in the drive and model procedures
MOXA在LINUX下的驱动以及示范程序-LINUX MOXA in the drive and model procedures
- 2022-09-05 17:25:03下载
- 积分:1
-
neural networks by c
neural networks by c-neural networks by c++
- 2023-05-02 06:35:03下载
- 积分:1
-
画动态曲线的程序
画动态曲线的程序-dynamic curve of the painting process
- 2022-01-27 12:09:44下载
- 积分:1
-
使用JAVA语言实现下列功能的系统 a) 系统能接受用户输入一个文件名,该文件名对应的文件A可能包含中文,英文字符,换行回车等字符。 b) 系统在确认用户输...
使用JAVA语言实现下列功能的系统 a) 系统能接受用户输入一个文件名,该文件名对应的文件A可能包含中文,英文字符,换行回车等字符。 b) 系统在确认用户输入的文件A存在后对文件A进行处理,生成另外一个文件B,要求文件B显式包含文件A的所有内容,并且不改变文件A中的已经有的内容。 c) 系统在文件A不存在的情况下,可以发现B中保留的A的内容被修改过。这种修改包括删除/增加A的某行信息,在A的内容中增加/删除/修改某个字符。-use JAVA following a function of the system) system will accept user input a name, the name of the paper document may contain A Chinese and English characters such as newline characters enter. B) System user input in identifying the existence of a document after document A pair of processed produce another document B, B requested documents Explicit document contains all the elements of A and A does not change the document has some content. C) A system in the document did not exist circumstances, it can be found B of A to retain the content has been modified. Such changes include the deletion/A increased to a certain line of information in the contents of A Increase/delete/change certain characters.
- 2022-03-22 01:16:46下载
- 积分:1
-
BCB实现资源管理器功能
用BCB开发的简单资源管理器主要是给新手一些BCB控件使用的帮助
- 2022-02-26 08:46:47下载
- 积分:1
-
基于Windows Mobile平台的IrDA红外通信范例
基于Windows Mobile平台的IrDA红外通信范例-Based on the Windows Mobile platform, IrDA infrared communications paradigm
- 2023-06-24 15:10:03下载
- 积分:1