上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: paste paste -d -s -file1 file2 选项含义如下: -d 指定不同于空格或t a b键的域分隔符。例如用@分隔域,使用- d @。 -s 将每个文件合并成行而不是按行粘贴。 - 使用标准输入。例如ls -l |paste ,意即只在一列上显示输出 阅读全文
posted @ 2019-09-25 16:27 hozhangel 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 54. Spiral Matrix python参考链接 c++ 阅读全文
posted @ 2019-09-19 18:36 hozhangel 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1、PCA降维 2、class-weight 设置了这个参数后,会自动设置class weight让每类的sample对损失的贡献相等 3、欠采样方法1:RandomUnderSampler,函数是一种快速并十分简单的方式来平衡各个类别的数据: 随机选取数据的子集. 4、欠采样方法2:Under-s 阅读全文
posted @ 2019-06-28 11:12 hozhangel 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 使用sklearn.manifold的函数TSNE 阅读全文
posted @ 2019-06-28 10:57 hozhangel 阅读(989) 评论(0) 推荐(0) 编辑
摘要: 在引入pyplot、pylab之前,要先更改matplotlib的后端模式为”Agg” 参考:https://www.cnblogs.com/students/p/8963420.html 阅读全文
posted @ 2019-06-27 13:27 hozhangel 阅读(3117) 评论(0) 推荐(0) 编辑
摘要: split [-bl] file [prefix] 参数说明:-b, --bytes=SIZE:对file进行切分,每个小文件大小为SIZE。可以指定单位b,k,m。-l, --lines=NUMBER:对file进行切分,每个文件有NUMBER行。prefix:分割后产生的文件名前缀。 示例: 假 阅读全文
posted @ 2019-05-07 16:15 hozhangel 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 1、查看java是否已经安装: 输出: 说明java没有安装 1、安装jre: 2、安装jdk: 3、安装Oracle JDK https://www.cnblogs.com/OliverZhang/p/8776369.html 阅读全文
posted @ 2019-04-27 08:45 hozhangel 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 查看现有进程 或者: 其中-s 9 制定了传递给进程的信号是9,即强制、尽快终止进程。 改进: 说明: “grep firefox”的输出结果是,所有含有关键字“firefox”的进程。 “grep -v grep”是在列出的进程中去除含有关键字“grep”的进程。 “cut -c 9-15”是截取 阅读全文
posted @ 2019-04-16 18:09 hozhangel 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 也可以直接下载文件夹 import https://github.com/nvidia/apex#__NO_LINK_PROXY__ 阅读全文
posted @ 2019-04-13 10:06 hozhangel 阅读(3002) 评论(1) 推荐(0) 编辑
摘要: 环境: 刚装上的系统: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial 1、安装 阅读全文
posted @ 2019-03-07 14:58 hozhangel 阅读(490) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页