自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 系统镜像ISO写入U盘

0、系统镜像ISO 复制到U盘和写入U盘的区别:复制到U盘,就相当于普通的文件一样。只是暂用了U盘空间并不可以引导文件系统。写入U盘,如:UltraISO 就是把镜像写到U盘,之后U盘就相当于启动盘,增加了引导,可以直接安装系统。如果有一个启动盘,可直接将iso系统包解压,用启动盘进入pe(预安装环境)直接安装也是可以的。1、如何将系统镜像文件写入U盘参考链接:如何将系统镜像文件写入U盘 - 知乎https://zhuanlan.zhihu.com/p/57796510如何将系统镜像写入U盘_

2020-07-15 21:05:58 17314

转载 python机器学习使用逻辑回归LogisticRegression()提示FutureWarning: Default solver will be changed to 'lbfgs' in

在Python中利用Logistic回归算法进行数据建模使用python的sklearn.linear_model.LogisticRegression进行实例化时model=LogisticRegression(),就提示了以下警告信息:FutureWarning: Default solver will be changed to ‘lbfgs’ in 0.22. Specify a so...

2019-11-05 16:33:49 1492

转载 机器学习python中train_test_split()函数划分训练、测试数据

train_test_split()函数是用来随机划分样本数据为训练集和测试集的,当然也可以人为的切片划分。优点:随机客观的划分数据,减少人为因素完整模板:train_X,test_X,train_y,test_y = train_test_split(train_data,train_target,test_size=0.3,random_state=5)参数解释:train_data...

2019-11-04 15:52:39 73400 3

原创 unix/linux

shell-【技术干货】工作中编写shell脚本实践 - web洋仔 - CSDN博客https://blog.csdn.net/CSDN___LYY/article/details/100584638

2019-10-22 16:06:30 149

原创 VS Code 快捷键

快捷键:打开终端 ctrl+~

2019-09-26 10:09:29 142

原创 Ant Design笔记

待解决: 配置式的路由报错

2019-09-06 13:43:31 116

原创 React(ant design)安装及设置

https://blog.csdn.net/shuaishuai1234/article/details/82790049?tdsourcetag=s_pctim_aiomsg1.安装了nodejs,并使用命令行输入 node -v 和 npm -v 来查看版本号以确认安装成功。2.安装淘宝镜像cnmp由于npm 安装太慢 所以使用cnmp。一、脚手架工具create-react-ap...

2019-09-05 20:28:40 748

转载 IntelliJ IDEA自动创建表时多了一张hibernate_sequence表的问题

环境:数据库用的是mysql,编译器是IDEA,用的springboot框架问题:自动创建表时,发现数据库里多了hibernate_sequence表原因:Java类中@GeneratedValue(strategy = GenerationType.AUTO)环境导致数据库保存的时候会生成hibernate_sequence表,用来记录其他表的主键。若删除该表,将报错could not...

2019-08-30 10:02:07 331

原创 pom.xml加入spring-boot-starter-data-jpa依赖报错,加入mysql-connector-java依赖报错

pom.xml文件中加入依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> &lt...

2019-08-27 11:00:09 6278 2

原创 @ConfigurationProperties()提示'spring boot configuration annotation processor not found in classpath'

IDEA 版本:2019.2错误:写类时@ConfigurationProperties()提示’spring boot configuration annotation processor not found in classpath’解决:加上 @Component 后,错误波浪号消失。运行成功。...

2019-08-07 12:03:27 348

转载 Spring Boot命令行的启动方式

windows操作系统下命令行的启动方式(参考:https://blog.csdn.net/qq_38604642/article/details/81914269 )方式一:1:cd+path进入的spring boot项目的根目录下2:执行命令mvn spring-boot:run方式二:1:先编译项目执行命令 mvn install2:编译完了之后进入到target目录下 cd...

2019-08-03 18:12:05 360

原创 待解决: from scipy.misc import imread 报错ImportError: cannot import name 'imread' 及 词云图片模糊问题

词云制作时,报错:from scipy.misc import imread ImportError: cannot import name ‘imread’解决:网上查资料得知scipy已经将imread等命令删除,官方文档中有说明“Functions from scipy.interpolate (spleval, spline, splmake, and spltopp) and f...

2019-07-14 10:56:12 1477

原创 已解决:datals.append(list(map(eval,line.split(","))))语句报错SyntaxError: unexpected EOF while parsing

Python自动轨迹绘制程序:#AutoTraceDraw.pyimport turtle as t#绘制前基础准备t.title('自动轨迹绘制')t.setup(800,600,0,0)t.pencolor("red")t.pensize(5)#数据读取datals=[]f=open("data.txt")for line in f: line=line.re...

2019-07-13 19:52:21 4126 3

原创 Python读取中文文件并绘制词云,需要三个module(jieba+wordcloud+matplotlib)

问题:Python绘制词云时,报错 import matplotlib ImportError: No module named ‘matplotlib’#WordCloud.pyimport jiebaimport wordcloudf=open("新时代中国特色社会主义.txt","r",encoding="utf-8")t=f.read()f.close()ls=j...

2019-07-13 19:42:55 592

原创 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 0: invalid continuation byte

转自https://blog.csdn.net/qq_37791134/article/details/83217964UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd0 in position 0: invalid continuation byte出现原因:文件不是 UTF8 编码的,而系统默认采用 UTF8 解码。解决方法:...

2019-07-04 17:44:18 2626

原创 Python安装第三方库时出现ConnectTimeoutError连接超时错误

问题:安装jieba库时出现ConnectTimeoutError解决:自己设定安装源pip install jieba -i https://pypi.tuna.tsinghua.edu.cn/simple/pip源:使用方法:pip命令 -i url例如:pip install jieba -i https://pypi.tuna.tsinghua.edu.cn/sim...

2019-07-04 17:23:04 847

原创 pyinstaller打包py文件时出现错误SyntaxError: Non-UTF-8 code starting with '\xbc'

**pyinstaller打包py文件时出现错误SyntaxError: Non-UTF-8 code starting with ‘\xbc’**#pyinstaller打包py文件时出现错误根据错误信息中的in file 文件路径找到错误所在.py文件,在首行加上# -- coding:utf-8 --重新打包,成功。...

2019-06-16 14:27:55 867

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除