搜索资源列表
DM4
- 执行流程: 1. 用户输入参数:K的选择,训练数据,测试数据的路径; 2. 读取训练数据集和测试数据集文件,用ArffFileReader类读取并组织起InstanceSet数据结构; 3. 利用上面的相似度量标准,对每一个测试集中的Instance,计算与其最相似的K个训练集中的Instance,通过投票进行分类,将分类结果存储经Instance的成员变量targetGuess中; 4. 对分类结果进行度量,包括分类正确率,各种类别实例的Precision,Recall;Con
xml_toolbox
- 这个程序即可以读取XMl文件并转换成matlab结构体,也可以把matlab结构体转换成xml格式存放。xml是最被看好的数据存储方式,xml格式的通用性减轻了大家编写格式转换代码的痛苦。-This process that can read XML files and converted into matlab structure can also be put into matlab structure xml format. xml are the most promising way
shop_management
- 编写一个简单的家用电器商店库存模拟操作程序,并且要求商品的库存数据存储在文件 store.txt 中。首先,该程序要能实现从文件中读取当前所有库存信息,然后将其存储在一个结构数组中,并能够实现对库存商品的升序排列、查询、交易、报错、在商品交易后更改库存信息等功能。-Write a simple appliance store inventory simulation procedures, and require the inventory of goods stored in the file
string_trans
- 从文本文件中读取按照一定格式存储的数据,并经过字符串处理,将数据存储到数组中。主要用到了char*到浮点数的转换,文件读取的一些常用函数。-Read from a text file format for storing data according to certain, and after a string processing, the data stored in the array. Main use of the floating-point conversion to char*,
CSV_OP
- 读取csv文件的封装。并对读取后的数据进行处理,和存储。支持stl操作。-Read csv file package. And read the data processing, and storage. Support stl operations.
get_Eph2.10
- 导航定位,星历文件RINEX2.10版本的数据,读取星历文件,并存储。-Navigation and positioning, RINEX2.10 ephemeris file version of the data, read ephemeris file, and store.
readEcg
- 本代码可将自主研发的心电采集设备中的ECG数据读取并显示。原始数据以二进制格式存储,该程序可将实验室自采数据转换为十进制数并显示在界面中。要求输入的文件格式为.txt或.ecg文件。(This code can read and display ECG data in self-developed ECG acquisition equipment. The original data is stored in binary format. The program can convert lab