-
File Integrity Checker
File Integrity Checker
- 2023-02-17 05:15: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
-
实现文件绑定的代码.
实现文件绑定的代码.-files bundled with the code.
- 2022-01-26 00:09:41下载
- 积分:1
-
VC++6.0写的关于用API函数创建目录的测试程序,欢迎大家下载
VC++6.0写的关于用API函数创建目录的测试程序,欢迎大家下载-VC++ 6.0 written on the use of API functions to create directory test procedures are welcome to download the U.S.
- 2022-03-26 10:05:24下载
- 积分:1
-
文件分割器的实现 1.用CFileDialog类让用户选择需要进行分割或合并的文件(根据用户选择的操作) 2.在这里我们在切分文件之后,对分割后的文件名进行一个...
文件分割器的实现 1.用CFileDialog类让用户选择需要进行分割或合并的文件(根据用户选择的操作) 2.在这里我们在切分文件之后,对分割后的文件名进行一个处理,原则是文件名(不含扩展名)+pti (i为本分文件的序号)+.sld。自己定义了一种扩展名,因为如果别人切分一个exe文件,你分割以 后全部是exe文件,别人一执行,很可能会出现异常的。 3.根据用户填写的分数,计算每一份的大小,除不尽的加进最后一份。每份文件的最后写入一些附加 信息,如文件的扩展名,分数-separate document for the realization of one. With CFileDialog class allows users to choose the need for separate or combined document (user selectable operation) 2. Here we segmentation document, right after the split for a file name, the principle is that the paper (not including extensions) PTI ( i document as part of the serial number). ARX. His definition of an extension, because if someone splitting an exe file, you split after all exe file, and people, it is likely to be abnormal. 3. Users fill in the scores for each of a size, with the exception of the one into the last one. Each of the final document included some additional information, such as the file name extension, scores, etc.
- 2022-05-21 14:49:59下载
- 积分:1
-
VC++6.0写的关于用API函数把文件放入回收站的测试程序,欢迎大家下载...
VC++6.0写的关于用API函数把文件放入回收站的测试程序,欢迎大家下载-VC++ 6.0 written on the use of API functions to the file into the recycle bin of the test procedure, welcome everyone to download
- 2023-04-01 13:35:03下载
- 积分:1
-
bat,免费将蝙蝠成exe文件
bat转exe,可以自由将bat转化成exe文件-bat to exe, free will bat into exe files
- 2022-04-30 08:34:35下载
- 积分:1
-
停车管理系统
应用背景这个城市的付费停车场目前的系统涉及到的车辆到达停车场,等待轮到他们进入停车场。这个停车场的操作员手动做笔记;车的细节,让车内的车主停车汽车在任何地方,他们找到合适的。关键技术系统可以实现为一个基于网络的应用程序。用户接口可以使用HTML,业务逻辑和数据持久层将利用PHP和MySQL作为数据库处理。
- 2022-06-14 08:12:22下载
- 积分:1
-
模拟采用二级目录结构的磁盘文件系统中的文件操作(操作系统)
一、数据结构...
模拟采用二级目录结构的磁盘文件系统中的文件操作(操作系统)
一、数据结构-Simulation of two-level directory structure of the disk file system file operations (operating system) a data structure
- 2022-06-02 11:09:10下载
- 积分:1
-
一个非常好的磁盘扇区编辑工具,可以很难读写任何教派…
一款非常优秀的磁盘扇区编辑工具,可以对硬盘的任意扇区进行读写,修改,备份!希望对你有用,另外代码有详尽注释-A very good disk sector editing tool that can be hard to read and write any sector, modify, backup! Hope that useful to you, another code has detailed notes
- 2022-06-27 03:41:01下载
- 积分:1