1.读取 file_path=r'D:\PycharmProjects\data\SMSSpamCollection' sms=open(file_path,'r',encoding='utf-8') sms_data=[] sms_label=[] csv_reader=csv.reader(sm ...
分类:
其他好文 时间:
2020-05-23 20:30:03
阅读次数:
87
1.使用yum安装 1.1 设置存储库 yum install -y yum-utils yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo 1.2.安装docker yu ...
分类:
其他好文 时间:
2020-05-23 19:57:05
阅读次数:
98
MySQL5.7安装与配置(YUM) 安装环境:CentOS7 64位,MySQL5.7 1、配置YUM源在MySQL官网中下载YUM源rpm安装包:http://dev.mysql.com/downloads/repo/yum/ # 下载mysql源安装包shell> wget http://de ...
分类:
数据库 时间:
2020-05-23 14:53:32
阅读次数:
69
1,基于你对于Springboot的理解,描述一下什么是Springboot? springboot框架是为了能够帮助spring开发者快速高效的构建一个基于spring框架及spring生态体系的应用的解决方案,它是对“约定优于配置”这个理念下的一个最佳实现方案,因此它是一个服务于框架的框架,服务... ...
分类:
编程语言 时间:
2020-05-23 13:21:29
阅读次数:
63
知识点: preg_replace()使用的/e模式可以存在远程执行代码 解析见链接:https://xz.aliyun.com/t/2557 看题目 首先是一段源代码: text是PHP的DATA伪协议 file是PHP的filter伪协议 payload: 得到第二段源代码: payload如下 ...
分类:
其他好文 时间:
2020-05-23 13:12:07
阅读次数:
46
https://www.jianshu.com/p/5fa2c1eda64c 只需五分钟,开始使用Kotlin开发Android 腾儿飞关注 2016.10.20 00:23:33字数 797阅读 33,531 1:本文是一篇描述如何在Android上开始一个Kotlin的HelloWorld程序的 ...
分类:
移动开发 时间:
2020-05-23 09:59:34
阅读次数:
79
1.读取 2.数据预处理 3.数据划分—训练集和测试集数据划分 from sklearn.model_selection import train_test_split x_train,x_test, y_train, y_test = train_test_split(data, target, ...
分类:
其他好文 时间:
2020-05-23 00:36:52
阅读次数:
72
1、更换composer镜像源为阿里云composer镜像 开发者社区地址:https://developer.aliyun.com/composer 全局配置: composer config -g repo.packagist composer https://mirrors.aliyun.co ...
分类:
其他好文 时间:
2020-05-22 17:22:29
阅读次数:
859
首先说明一下,这里使用的是Springboot2.2.6.RELEASE版本,由于Springboot迭代很快,所以要注意版本问题。 1、Scheduled定时任务器:是Spring3.0以后自带的一个定时任务器。 1 <?xml version="1.0" encoding="UTF-8"?> 2 ...
分类:
编程语言 时间:
2020-05-22 17:19:10
阅读次数:
57
1、MySQL社区下载https://dev.mysql.com/downloads/mysql/ 2、Apache Tomcathttp://tomcat.apache.org/ 3、Apache Mavenhttps://maven.apache.org/ 4、Redis下载https://re ...
分类:
编程语言 时间:
2020-05-22 13:10:53
阅读次数:
65