摘要: GridSearchCV详细地址:http://scikit-learn.org/stable/modules/generated/sklearn.grid_search.GridSearchCV.html#examples-using-sklearn-grid-search-gridsearchc... 阅读全文
posted @ 2015-06-15 16:50 SuperVan 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 一、如何删除数据里中的某一列1)打开文件open()2)for循环读取文件的每一行strip()--去除首尾的空格,split()--以空格分割数据.返回list数据/**这一部分对数据集进行操作**/3)用join()函数将列表数据转化成字符串4)将数据写入文件write()例:删除文件的第列数据... 阅读全文
posted @ 2015-06-15 11:54 SuperVan 阅读(14223) 评论(2) 推荐(0) 编辑