-
决策树ID3算法实现
多叉树的实现,每个结点的所有孩子采用vector保存,建树时横向遍历考循环属性的值,纵向遍历靠递归调用。程序基于vc6.0实现
- 2022-03-11 22:55:55下载
- 积分:1
-
试验内容: 跳水比赛中运动员每完成一个跳水动作,都有J名裁判员为其打分,但每次总成绩中都要去掉一个最高分和一个最低分。每个运动员需要完成C个动作,每次动作结束都...
试验内容: 跳水比赛中运动员每完成一个跳水动作,都有J名裁判员为其打分,但每次总成绩中都要去掉一个最高分和一个最低分。每个运动员需要完成C个动作,每次动作结束都要按当前总成绩为全部运动员重新排序,结果在运动员出场比赛时显示出来。设总共有N个运动员参加比赛,其编号为1,2,… N。 编一个程序实现这一功能。 要求: 1、 建立一个*head为头结点的单链表 2、 以动作C为主循环,对每个动作输入每个运动员所有裁判打分。输入每个 运动员的所有打分后,立即对单链表按sum域(累计分)从小到大重新排序 3、 在每个动作之后,输出该单链表的所有结点-Note:
Experimentation:
When sportsman who taking part in diving game had finished each movement,there were J referees marking for sportsman,and each time the highest and lowest marks always were taken out.
Each sportsman must finish C movements,no sooner did actions had be performed than current sum grades should be sorted and the final results should be displayed before athlete comes out.
Supposing there are N athletes attending the game,the NO is 1,2,...N.Write an program to implement this fuction.
Requires:
1 Create a single chain naming the name of headnode*head.
2 The movement C is main loop,Each sportsman s grades marked by all judges should be put in the each movement.After finished this,the
- 2023-07-04 21:45:03下载
- 积分:1
-
SUN Xin VC._code.rar
facilitate the initial learning VC++ of the people to lea...
孙鑫VC._code.rar
方便初始学习VC++的人士学习和使用。-SUN Xin VC._code.rar
facilitate the initial learning VC++ of the people to learn and use.
- 2022-09-22 04:10:03下载
- 积分:1
-
SUN Xin teachers VC++ Tutorial CD
孙鑫老师的VC++教程的光盘源代码,数写的很好,代码也很好,值得研究!第三章源程序!-SUN Xin teachers VC++ Tutorial CD-ROM source code, written in a few very good, code is also good, worthy of study! Chapter III source!
- 2023-06-20 02:10:04下载
- 积分:1
-
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
-
WinCE5.0 EVC4.0 MFC应用程序
WinCE5.0 EVC4.0 MFC应用程序-WinCE5.0 EVC4.0 MFC applications
- 2023-01-21 18:05:04下载
- 积分:1
-
udp通信客户端程序
应用背景
AppWizard has created this udpClient application for you.
This file contains a summary of what you will find in each of the files that
make up your udpClient application.
udpClient.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
udpClient.cpp
This is the main application source file.
关键技术
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named udpClient.pch and a precompiled types file named StdAfx.o
- 2022-02-13 21:01:13下载
- 积分:1
-
在windows中建立非MFC DLL的静态链接
在windows中建立非MFC DLL的静态链接
- 2022-07-16 18:34:28下载
- 积分:1
-
Tetris with c to achieve, there are functions, for the novice can learn to
俄罗斯方块,用c实现的,有功能的,可以供新手学习下-Tetris with c to achieve, there are functions, for the novice can learn to
- 2022-01-25 23:16:22下载
- 积分:1
-
it is very good afbfghhklkl l l l
it is very good afbfg-it is very good afbfghhklkl l l l
- 2022-03-11 00:20:18下载
- 积分:1