![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ML
hetangx
这个作者很懒,什么都没留下…
展开
-
使用python遍历文件夹内文件,并保存路径于文本文件中
参考了https://www.cnblogs.com/Lazycat1206/p/12382864.html 文件夹结构为 D:\CODES\KEYAN\PEIDIAN\DISCHARGE ├─corona_discharge ├─float_discharge ├─interference ├─internal_discharge └─surface_discharge 每个文件夹内含有100个CSV文件,共计500个CSV文件 以下为代码 import os dirPath = "d:\\原创 2020-07-14 23:33:08 · 1428 阅读 · 0 评论 -
逻辑回归 - matlab与python实现
代码参考了知乎以及机器学习实战的内容,数据集为机器学习实战的testSet.txt machine learning inaction - Ch05 - testSet.txt 可自行在GitHub搜索获得,此处不提供了。 matlab代码 clear; clc; % 逻辑回归 path='E:\Codes\Python\ML\testSet.txt'; [data,label]=lo...原创 2020-02-08 17:49:14 · 377 阅读 · 0 评论