-
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
-
I wrote an integrator, when the competition could have been written to the schoo...
我写一个积分器,比赛时候用的,本来是给学校写的,结果他们没用,郁闷吧-I wrote an integrator, when the competition could have been written to the school, their useless, it depressed
- 2023-06-23 13:35:04下载
- 积分:1
-
Not is to provide C/C++ programmer job interview guide, which aims to examinatio...
并不在于提供C/C++程序员求职面试指导,而旨在从技术上分析面试题的内涵。文中的大多数面试题来自各大论坛,部分试题解答也参考了网友的意见。
许多面试题看似简单,却需要深厚的基本功才能给出完美的解答。企业要求面试者写一个最简单的strcpy函数都可看出面试者在技术上究竟达到了怎样的程度,我们能真正写好一个strcpy函数吗?我们都觉得自己能,可是我们写出的strcpy很可能只能拿到10分中的2分。读者可从本文看到strcpy函数从2分到10分解答的例子,看看自己属于什么样的层次。此外,还有一些面试题考查面试者敏捷的思维能力。
分析这些面试题,本身包含很强的趣味性;而作为一名研发人员,通过对这些面试题的深入剖析则可进一步增强自身的内功。
-Not is to provide C/C++ programmer job interview guide, which aims to examination questions from a technical analysis of face connotations. Most of the text surface examination questions from the major forums, part of the answer in reference to the Questions User s views.
Many face examination questions seem simple, yet profound basic skills needed in order to give the perfect answer. Company asked interviewers to write a simple strcpy function of the interview can be seen in the technology of how to achieve the extent of what we can really written a strcpy function do? We all feel that you can, but we write the strcpy is likely to receive only 10 points in 2
- 2022-03-01 08:24:29下载
- 积分:1
-
许多不是太难的C常用算法程序。初学者不妨一个个的研究下,很基础,很有必要。涵盖功能很多,不一一列举。...
许多不是太难的C常用算法程序。初学者不妨一个个的研究下,很基础,很有必要。涵盖功能很多,不一一列举。-Not too many of C procedures commonly used algorithms. Beginners may wish to study one by one, the very foundation, it is necessary. Covers many functions, not added to the list.
- 2022-02-03 04:29:10下载
- 积分:1
-
在DSP上实现了的G729算法。这个可以用到ip电话当中。
在DSP上实现了的G729算法。这个可以用到ip电话当中。
- 2022-02-21 12:12:36下载
- 积分:1
-
DA型矩阵的算法C++实现gmres算法
DA型矩阵的算法C++实现gmres算法-DA-type matrix algorithm C++ Realize GMRES algorithm
- 2023-05-15 20:35:03下载
- 积分:1
-
主板一些参数的一个程序。很有用希望大家认真学习。
主板一些参数的一个程序。很有用希望大家认真学习。-Motherboard of a program some of the parameters. I hope everyone seriously useful learning.
- 2022-03-17 23:35:36下载
- 积分:1
-
一个java的日历记事本,也就是一个java做的日记本
一个java的日历记事本,也就是一个java做的日记本-a calendar notebook, which is a java do this diary
- 2023-02-25 19:15:04下载
- 积分:1
-
Windows Mobile手机阅读软件源程序,在家可以试试行不行
Windows Mobile手机阅读软件源程序,在家可以试试行不行-Windows Mobile phone software source code to read, you can try at home is feasible
- 2022-01-28 05:05:29下载
- 积分:1
-
This is the sorce code in Visual Basic 6 for the EZ USB.
This the sorce code in Visual Basic 6 for the EZ USB.-This is the sorce code in Visual Basic 6 for the EZ USB.
- 2022-01-25 21:27:05下载
- 积分:1