自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

pismirecc的博客

个人笔记

  • 博客(11)
  • 收藏
  • 关注

原创 chromedriver下载方法

在设置中查到本地Chrome的版本号输入查询版本号的urlhttps://chromedriver.storage.googleapis.com/LATEST_RELEASE_(版本号前三位),输出chromedriver支持的浏览器版本号例如:输入:https://chromedriver.storage.googleapis.com/LATEST_RELEASE_72.0...

2019-10-09 16:10:15 1075

原创 Java测试新技术 ---- TestNG

持续更新中…关于TestNg问题可留言讨论文章目录1、TestNg组成结构1.1 Annotation1.2 testng.xml2、测试设计模式2.1 错误报告2.2 测试方法对比2.3 testng-failed.xml1、TestNg组成结构1.1 Annotation配置annotation(Before&After开头):@BeforeSuite、@BeforeTest...

2019-09-18 21:31:09 223

原创 WordCloud入门

1、预定义import matplotlib.pyplot as pltfrom wordCloud import WordCloud,STOPWORDSbackgroud_Image = plt.imread('man.jpg')2、创建画布wc =WordCloud( backgroud_color = 'white', mask = backgroud...

2018-08-09 11:25:54 489

原创 Python中os.path &glob.glob

os.path.join(path1[,path2[,…..]]) 多个路径组合后返回。 Note:第一个绝对路径前的参数忽略掉,常于glob一起使用path = os.path.join(data_dir,'*.txt')files = glob.glob(path)...

2018-08-09 10:56:11 1469

原创 Python常用内建函数

Python查看内建函数库dir(__builtin__)常用内建函数:1. True & Falsebool(x) -> boolReturns True when the argument x is true, False otherwise.继承类int的所有方法2. abs(x, /)Return the absolute value ...

2018-08-09 08:58:56 154

原创 数据集划分

1.使用sklearn.model_selection.train_test_split(*arrays, **options)*arrays指定需划分数据集random_state指定随机种子test_size指定测试集大小train_data,test_data = train_test_split(processed_data,random_state=1,test_si...

2018-08-07 16:25:23 1790

原创 Keras简单网络建立步骤

建立队列模型 from keras.models import Sequential #Create the Sequential model model = Sequential()网络层 import numpy as np from keras.models import Sequential from keras.layer...

2018-08-07 16:01:07 702

翻译 Deep Learning for Cryptanalysis

Deep Learning for CryptanalysisSimpler problemFraming the problem 明文和密文为1:1映射关系(假设明文为英文,暗文为法文,,转化为机器翻译的问题)Choose a model 该问题为1:1的seq2seq问题,选择LSTM模型。Solve something simpler Problem:The Vigene...

2018-08-06 09:38:21 172

原创 Python 网络编程笔记

1、Socket模块 套接字:服务套接字和客户机套接字; 客户套接字:简单的连接,完成事务,断开连接; 服务器套接字:准备随时处理客户端的连接,同时还要处理多个连接。阻塞或者同步网络编程、非阻塞或异步网络编程。套接字的两个方法:send和recv。2、多个连接 同步连接:一次只能连接一个客户机并处理它的请求。 多个连接方法:分叉(forking)...

2018-06-01 16:51:09 128

原创 Pythonl利用matplotlib绘图加入中文注释

import matplotlib.pyplot as plt plt.rcParams[‘font.sans-serif’]=[‘SimHei’] #用来正常显示中文标签 plt.rcParams[‘axes.unicode_minus’]=False #用来正常显示负号 plt.xlabel(u“温度”) plt.ylabel(u“高度”)...

2018-05-29 19:01:16 3920

转载 C++输入输出函数的用法(转载)

1、cin 2、cin.get() 3、cin.getline() 4、getline() 5、gets() 6、getchar() 附:cin.ignore();cin.get()//跳过一个字符,例如不想要的回车,空格等字符 1、cin>> 用法 1:最基本,也是最常用的用法,输入一个数字:include using namespace std; in...

2018-04-01 21:08:25 1207

空空如也

空空如也

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

TA关注的人

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