-
我们都经常使用配置文件。为此我编写了IniFile文件读写类。使用非常简单,请参见示例程序。
程序采用了两种方法,一种是使用iterator调用,一种是直接...
我们都经常使用配置文件。为此我编写了IniFile文件读写类。使用非常简单,请参见示例程序。
程序采用了两种方法,一种是使用iterator调用,一种是直接使用数组下标,可根据不同情况分别选用。
采用C++STL编写,适用于Windows,Linux,Unix任意平台下的任意开发环境,在此只是用Win平台的CBuilder做个示意。-we are always use configuration files. Therefore, I have prepared a document literacy IniFile category. Using very simple, please see sample program. Adoption of the two methods is the use of an iterator call, a direct use of the array index, under different circumstances were used. STL prepared using C, applies to Windows, Linux, Unix platform under the arbitrary arbitrary development environment, this is the platform used Win CBuilder become indicate.
- 2022-02-05 17:59:29下载
- 积分:1
-
Fastcopy源代码
fastcopy source code -fastcopy source code
- 2023-01-31 05:45:03下载
- 积分:1
-
该程序是基于对话筐的MFC应用程序,主要是将了在不打开文件的情况下在窗体中显示文件的属性...
该程序是基于对话筐的MFC应用程序,主要是将了在不打开文件的情况下在窗体中显示文件的属性-that the procedure was based on dialogue basket MFC applications, mainly to the open files in the case of the form shown in the document properties
- 2022-03-07 05:39:01下载
- 积分:1
-
我自己做的可以管理自己的电脑文件更新的小软件,非常简单VB+ACCE...
我自己做的可以管理自己的电脑文件更新的小软件,非常简单VB+ACCE-I can do to manage their computer files updated software small, very simple VB ACCE
- 2022-01-21 22:50:05下载
- 积分:1
-
Delphi开发的文件压缩与解压例程,未使用任何第三方控件包
Delphi开发的文件压缩与解压例程,未使用任何第三方控件包-Delphi document compression and decompression routines, not the use of any third-party control packet
- 2022-03-10 22:30:53下载
- 积分:1
-
图像-跟踪 Kman 滤波器-检测数据基
这是数据基为图像处理目的使用卡曼筛选......,它请看
- 2023-05-07 18:40:02下载
- 积分:1
-
servo controller main source file
servo controller main source file
- 2022-03-15 16:09:38下载
- 积分:1
-
文件操作
数据结构大作业,变长记录文件,查找,删除,修改等功能-file operation
- 2022-02-14 14:52:40下载
- 积分:1
-
System will automatically delete the directory of debug and release, so please d...
System will automatically delete the directory of debug and release, so please do not put files on these two directory.
- 2022-03-12 22:38:14下载
- 积分:1
-
原始数据划分为train.dat和test.dat
应用背景开始是做movielense的数据,可以把原始数据任意划分为train.dat和test.dat,主要是为了做验证实验。非常简单明了,适合初学者看看,如果不喜欢,请轻喷。关键技术# -*- coding: cp936 -*-
from sklearn import cross_validation
c = []
filename = r"Raw.data" #原始数据
out_train = open(r"train.txt","w") #训练集
out_test = open(r"test.txt","w") #测试集
for line in open(filename):
items = line.strip().split(",")
c.append(items)
c_train,c_test = cross_validation.train_test_split(c,test_size=0.1)#size =你需要的比例
for i in c_train:
out_train.write(",".join(i)+"
")
for i in c_test:
out_test.write(",".join(i)+"
")
- 2022-01-25 21:21:56下载
- 积分:1