-
一个文件操作的框架程序,有许多功能,而且代码少
一个文件操作的框架程序,有许多功能,而且代码少-The framework of a file operation procedures, has many features, and less code
- 2023-07-31 15:40:03下载
- 积分:1
-
Remove deleted files can not be!
Remove deleted files can not be!
- 2022-03-20 13:00:53下载
- 积分:1
-
一个非常不错的文本编辑器,运行平台为Linux希望大家用了以后多做评价...
一个非常不错的文本编辑器,运行平台为Linux希望大家用了以后多做评价-a very good text editor, running the Linux platform for us to want to do more evaluation of the future
- 2023-02-16 08:35:04下载
- 积分:1
-
使用FileReader和FileWriter类,采用字符文件访问方式操作文件
使用FileReader和FileWriter类,采用字符文件访问方式操作文件-FileReader and FileWriter use category, the use of characters in a document file access operations
- 2022-11-17 12:05:04下载
- 积分:1
-
二进制文件,所有字节的高四位与低四位调换。
二进制文件,所有字节的高四位与低四位调换。-Binary file, all four bytes of high and low four swap.
- 2022-03-18 09:48:45下载
- 积分:1
-
Hex编辑器,做的很完善了.界面很象JAVA程序.
Hex编辑器,做的很完善了.界面很象JAVA程序.-HexEditor. Pretty well done. The interface is similar as the Java programs.
- 2022-07-05 06:02:18下载
- 积分:1
-
从文本中读取数据,也可以向文本中写入数据。挺简单的,适合学习用。...
从文本中读取数据,也可以向文本中写入数据。挺简单的,适合学习用。-To read data from the text, you can also write data to the text. Quite simple, suitable for learning to use.
- 2022-02-01 15:14:44下载
- 积分:1
-
实现对WORD文档转换功能.txt文件
实现对WORD文档转换功能.txt文件-word document translate to .txt files
- 2022-04-29 17:14:24下载
- 积分:1
-
在DOS系统下的多任务列队处理C语言源程序。
在DOS系统下的多任务列队处理C语言源程序。-DOS system in the multi-task processing parade C language source code.
- 2022-12-04 04:35:03下载
- 积分: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