-
简单学生自我测验系统,可以对小学生的学习状况进行检验
简单学生自我测验系统,可以对小学生的学习状况进行检验-simple self-test system, the students can learn the status of tests
- 2022-01-26 04:51:55下载
- 积分: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
-
create a document, the color of the font, size, style attributes such as posting...
创建一个文件,将字体的颜色、大小、风格等属性存入文件,然后再读取出来赋值。-create a document, the color of the font, size, style attributes such as posting documents and then read out assignment.
- 2022-05-30 17:20:51下载
- 积分:1
-
A Freeware DDX routine for selecting a filename(30KB)获取文件路径
A Freeware DDX routine for selecting a filename(30KB)获取文件路径-A Freeware DDX routine for selecting a filename (30KB) to obtain file path
- 2022-10-10 03:25:03下载
- 积分:1
-
can give multiple files for batch rename the system;
可以给多个文件进行批量重命名的系统;-can give multiple files for batch rename the system;
- 2022-04-17 10:38:02下载
- 积分:1
-
读取ACVIEW 的shpfile 格式文件,并输出为文本文件的小程序。
读取ACVIEW 的shpfile 格式文件,并输出为文本文件的小程序。-the shpfile ACVIEW read format, and output to a text file of small programs.
- 2022-02-15 08:28:00下载
- 积分:1
-
分散索引的虚拟文件系统
分散索引的虚拟文件系统-scattered Index Virtual File System
- 2022-12-05 17:30:03下载
- 积分:1
-
基于OpenDWG开发AutoCAD Proxy对象图元分解程序
基于OpenDWG开发AutoCAD Proxy对象图元分解程序-OpenDWG based on the development of AutoCAD Proxy Object map yuan decomposition process
- 2022-05-28 05:57:11下载
- 积分:1
-
│ Array.cpp
│ Array.ds w
│ Array.h
│ Array.rc
│ ArrayDlg.cpp
│ ArrayDl...
│ Array.cpp
│ Array.ds w
│ Array.h
│ Array.rc
│ ArrayDlg.cpp
│ ArrayDlg.h
│ ReadMe.txt
│ Resource.h
│ StdAfx.cpp
│ StdAfx.h
│
└─res
Array.ico
Array.rc2
MFC的数组类支持的数组类似于C++中的常规数组,可以存放任何数据类型。C++的常规数组在使用前必须将其定义成能够容纳所有可能需要的元素,而MFC数组类创建的对象可以根据需要动态地增大或减小,数组的起始下标是0,而上限可以是固定的,也可以随着元素的增加而增加,数组在内存中的地址仍然是连续分配的。
MFC定义了数组模板类CArray,并针对各种常用变量类型定义了CByteArray,CWordArray,CUIntArray,CDWordArray,CStringArray,CObArray,CPtrArray。
MFC数组类使用方法基本相同。--- Array.cpp Array.dsp---- Array .dsw . h-- Array.rc ArrayDlg.cpp---- Read ArrayDlg.h Me.txt-- Resource.h StdAfx.cpp---- supply-StdAfx.h res Array.ico Array.rc2 MFC array is an array type of support similar to the regular C Regulation array can store any data type. Conventional C prior to the use of the array must be defined as possible to accommodate all the needs of the elements, MFC array type and the object can be created based on the need to dynamically increase or decrease the threshold array index is 0, and the ceiling i
- 2022-03-07 20:55:03下载
- 积分:1
-
C语言读取txt文件,非常好用,很简单,
c语言读txt文件,非常好用,非常简单,-c language read txt file, very easy to use, very simple,
- 2022-11-26 11:25:03下载
- 积分:1