[TOC] 1. 分类数据准备 需要的文件列表: 按照以下目录结构进行构造: 其中训练和测试的比例设置: 1. 如果数据集比较小(10,000左右),那么设置的比例为:训练:测试 = 80% : 20% 2. 如果数据集比较大(100,000左右),那么设置的比例为:训练:测试 = 99% :1% ...
分类:
Web程序 时间:
2019-01-31 16:58:21
阅读次数:
635
1. Write a testing program (not sort.c from task 2) that contains a stack bufferoverflow vulnerability. Show what the stack layout looks like and expl ...
分类:
其他好文 时间:
2019-01-29 20:25:18
阅读次数:
109
1.装饰器的作用 在 不修改被装饰对象的源代码;不修改被装饰对象的调用方式; 为被封装的对象添加新的功能。 例如下列: test函数为事先封装好的一个功能,但是在后期迭代的过程中,希望能为该功能增加一个计算运行时间的功能。这时候,装饰器就起到了作用了。 下面是装饰器的真正使用方法 : @wrappe ...
分类:
其他好文 时间:
2019-01-28 19:13:15
阅读次数:
129
一、训练集和测试集 训练集(training set/data)/训练样例(training examples):用来进行训练,也就是产生模型或者算法的数据集。 测试集(testing set/data)/测试样例(testing examples):用来专门进行测试已经学习好的模型或者算法的数据集 ...
分类:
其他好文 时间:
2019-01-28 16:10:53
阅读次数:
236
Go语言开发(二十一)、GoMock测试框架一、GoMock简介1、GoMock简介GoMock是由Golang官方开发维护的测试框架,实现了较为完整的基于interface的Mock功能,能够与Golang内置的testing包良好集成,也能用于其它的测试环境中。GoMock测试框架包含了GoMock包和mockgen工具两部分,其中GoMock包完成对桩对象生命周期的管理,mockgen工具用
分类:
编程语言 时间:
2019-01-25 23:21:15
阅读次数:
247
1、 Network Reconnaissance first we can use the command to gather the site information by whois eg : whois -i mnt-by YAHOO-MNT 2 、dig to gather the DNS ...
分类:
Web程序 时间:
2019-01-24 13:28:15
阅读次数:
152
error:2019/01/2311:43:02[error]13382#0:*45230593530shm_add_upstream::shm_add_node("UG#037op-activity-test#037op-activity-test")failedwhileloggingrequest,client:100.116.251.105,server:op-testing.ipcpu.
分类:
其他好文 时间:
2019-01-23 12:28:15
阅读次数:
231
集合 集合是一个无序的不重复元素序列,可以迭代,也可以修改。集合迭代的时候元素是随机的。 集合通常用来 membership testing, 去重, 也可以用来求交集并集补集。 介绍一下如何创建集合和集合常见的用法。 创建集合 修改集合 1. 添加 2. 更新:通过传入一个列表来更新 update ...
分类:
编程语言 时间:
2019-01-22 00:36:30
阅读次数:
170
To learn and prepare for the testing and automation interviews, 300+ testing and automation questions are provided to help the software testing profes... ...
分类:
其他好文 时间:
2019-01-19 14:26:17
阅读次数:
225
# -*- coding:utf-8 -*- ''' @project: web学习 @author: Jimmy @file: 元素操作-切换.py @ide: PyCharm Community Edition @time: 2019-01-19 10:43 @blog: https://www... ...
分类:
编程语言 时间:
2019-01-19 13:19:34
阅读次数:
263