-
一个makefile自动编译的模版
学习socket通信 ,熟悉 makefile 编写的例子。
自动生成依赖关系。
- 2022-03-20 11:12:17下载
- 积分: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
-
对文件进行加密动作,在WINDOWS系统上所有的文件都可以
对文件进行加密动作,在WINDOWS系统上所有的文件都可以-wenjianjiami
- 2023-01-01 16:35:12下载
- 积分:1
-
读写配置文件ini的类.很方便使用
读写配置文件ini的类.很方便使用-read and write configuration files ini class. Easy to use
- 2023-08-15 15:20:02下载
- 积分:1
-
一个非常好用的excel操作类,符合人工学
一个非常好用的excel操作类,符合人工学-operator excel is very good
- 2022-01-27 15:10:29下载
- 积分:1
-
C语言的 数据结构 关于二叉树 的 有关算法
C语言的 数据结构 关于二叉树 的 有关算法-dfsf fdhytrhyufg hgf fh fg ghgfd
- 2022-04-28 14:43:26下载
- 积分:1
-
[原创](批量)修改文件时间的工具.支持通配符.
[原创](批量)修改文件时间的工具.支持通配符.-[original] (Batch) time to amend the document tool. To support wildcards.
- 2022-03-19 06:07:22下载
- 积分:1
-
大家经常需要对指定目录下的所有文件进行搜索或其它相同操作。若文件数很多,逐一对每个文件手工操作,很费时。这里提供一个搜索或处理指定目录下的所有文件的C++类。作...
大家经常需要对指定目录下的所有文件进行搜索或其它相同操作。若文件数很多,逐一对每个文件手工操作,很费时。这里提供一个搜索或处理指定目录下的所有文件的C++类。作者用基于层次遍历的非递归算法(以减少运行时的时间和空间开销)实现了一个 CFileFind 的扩展类 CFileFindExt,该类可以对指定目录下的所有文件进行搜索或相同的处理操作。-designated directories on the search for all documents or other similar operations. If the document number many, one by one for each document manually, a very time-consuming. Search here for a designated directory or processing of all documents under the C category. Based on the author traverse the level of non- recursive algorithm (to reduce the running time and space costs) achieved a CFileFind CFileFindExt the extension of the class, such right can be specified directory of all documents or search for the same handling operations.
- 2023-06-07 21:20:03下载
- 积分:1
-
super notepad.zip
超级记事本.zip-super notepad.zip
- 2022-02-27 03:59:41下载
- 积分:1
-
burnIN,自己写的磁盘老化软件,可以自动获取可移动磁盘的盘符,容量等信息,对其进行读写文件,比较文件等操作,用于测试磁盘。...
burnIN,自己写的磁盘老化软件,可以自动获取可移动磁盘的盘符,容量等信息,对其进行读写文件,比较文件等操作,用于测试磁盘。-burnIN, wrote to the disk aging software, it will automatically acquire a mobile disk drive. volume of information, which should be read and write a paper comparing operating documents for the test disk.
- 2022-05-06 22:56:37下载
- 积分:1