一、文件打包、压缩与解压 1、zip命令 (1)压缩文件:zip -r myfile.zip ./* 将当前目录下的所有文件和目录全部压缩成myfile.zip文件,-r表示递归压缩子目录下所有文件. (2)解压文件:unzip unzip -o -d /home/sunny myfile.zip ...
分类:
系统相关 时间:
2020-07-21 09:58:46
阅读次数:
99
Ubuntu18.04的网络配置(静态IP和动态IP) 查看Ubuntu系统的版本号命令 cat /etc/issue 或者 lsb_release -a 切换root命令 sudo -i 或者 sudo -s 提示:以下操作均在root用户下进行,如在普通用户,请自行加上sudo! 说明 Ubun ...
分类:
系统相关 时间:
2020-07-21 09:53:05
阅读次数:
177
整理今天的代码…… 采用的是150条鸢尾花的数据集fishiris.csv # 读入数据,把Name列取出来作为标签(groundtruth) import pandas as pd data = pd.read_csv('fishiris.csv') print(data.head(5)) X = ...
分类:
编程语言 时间:
2020-07-21 09:45:22
阅读次数:
138
以window安装Jenkins 下载地址:https://www.jenkins.io/download/ 找到需要下载的版本,选择windows: 下载为Jenkins.msi文件,下载下来后,直接选择安装即可 安装完毕后,会自动打开浏览器,访问local host:8080地址 需要输入密码, ...
分类:
其他好文 时间:
2020-07-21 09:41:39
阅读次数:
64
https://www.jisuanke.com/contest/11360/challenges 其他题慢慢补 C. Pawn‘s Revenge You are playing a special chess game against a professor and you've almost ...
分类:
其他好文 时间:
2020-07-21 09:39:48
阅读次数:
95
类 类的定义是以关键字class开始的,后面跟类的名称,类的主题包含一个花括号里,下面是类定义的一般格式。 <access specifier> class class_name { // member variables <access specifier> <data type> variabl ...
格式:<![CDATA[参数]]> <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3 ...
分类:
Web程序 时间:
2020-07-21 01:24:07
阅读次数:
125
AntsDescriptionAn army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. When a walking ant reaches an end of th ...
分类:
其他好文 时间:
2020-07-21 01:11:57
阅读次数:
78
python3.5和Python3.6切换 # 查看有效内核 jupyter kernelspec list # 找到以下路劲(我的电脑) /usr/local/share/jupyter/kernels/python3 # 更改里面的kernel.json文档中Python的路径调用,改为所需要的 ...
分类:
编程语言 时间:
2020-07-21 01:05:47
阅读次数:
92
公式: di=xi-yi 注意:这里的Xi、Yi是原始数据的等级,也就是排序序号,不是元素数据值。 取值-1到+1之间, 为正时表示正相关, 为负时表示负相关, 等于零时表示相关为零。但与相关系数不同的是,它是建立在等级的基础上计算的,较适用于反映序列变量的相关。 ...
分类:
其他好文 时间:
2020-07-21 01:04:39
阅读次数:
123