自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 资源 (1)
  • 收藏
  • 关注

原创 ubuntu apt-get update 一直 0% working 失败解决方案

首先尝试换源,但我依然无法成功成功方案:root@validator-dev-group-c2v4:~# cd /usr/lib/apt/methodsroot@validator-dev-group-c2v4:/usr/lib/apt/methods# ln -s http https

2019-12-06 15:26:12 2571

原创 目标检测中性能评价指标

mAP  这里首先介绍几个常见的模型评价术语,现在假设我们的分类目标只有两类,计为正例(positive)和负例(negtive)分别是:  1)True positives(TP): 被正确地划分为正例的个数,即实际为正例且被分类器划分为正例的实例数(样本数);  2)False positives(FP): 被错误地划分为正例的个数,即实际为负例但被分类器划分为正例的实例数;  ...

2019-10-11 00:46:43 916

原创 准确率(Precision)、召回率(Recall)、F值(F-Measure)

混淆矩阵True Positive(真正,TP):将正类预测为正类数True Negative(真负,TN):将负类预测为负类数False Positive(假正,FP):将负类预测为正类数误报 (Type I error)False Negative(假负,FN):将正类预测为负类数→漏报 (Type II error)1、准确率(Accuracy)准确率(acc...

2019-10-04 19:20:54 1311

原创 关于Resnet残差网络的理解

随着卷积神经网络的发展和普及,网络深度和架构研究早已经成为人们常见的问题,所以,现在卷积神经网络的趋势发展趋势就是:足够深、足够广。足够深就是网络层数足够深,足够广就意味着不能从传统尺度来解决问题,而应该是多尺度,也就是multi-scale。但是随着网络的深入,一些经典的问题也就随之出现,例如梯度弥散和梯度爆炸。这两种问题都是由于神经网络的特殊结构和特殊求参数方法造成的,也就是链式求导的间接产...

2019-10-02 00:38:27 780 1

原创 机器学习:数据预处理之独热编码(One-Hot)

前言在机器学习算法中,我们经常会遇到分类特征,例如:人的性别有男女,祖国有中国,美国,法国等。这些特征值并不是连续的,而是离散的,无序的。通常我们需要对其进行特征数字化。那什么是特征数字化呢?例子如下: 性别特征:["男","女"] 祖国特征:["中国","美国,"法国"] 运动特征:["足球","篮球","羽毛球","乒乓球"] 假如某个样本(某个人),他...

2019-09-24 14:22:22 596

转载 深度学习——优化器算法Optimizer详解(BGD、SGD、MBGD、Momentum、NAG、Adagrad、Adadelta、RMSprop、Adam)

在机器学习、深度学习中使用的优化算法除了常见的梯度下降,还有 Adadelta,Adagrad,RMSProp 等几种优化器,都是什么呢,又该怎么选择呢?在 Sebastian Ruder 的这篇论文中给出了常用优化器的比较,今天来学习一下:https://arxiv.org/pdf/1609.04747.pdf本文将梳理:每个算法的梯度更新规则和缺点 为了应对这个不足而提出的下一个...

2019-09-21 16:34:25 187

转载 深度学习 —— 偏差与方差

概念定义偏差(bias):偏差衡量了模型的预测值与实际值之间的偏离关系。通常在深度学习中,我们每一次训练迭代出来的新模型,都会拿训练数据进行预测,偏差就反应在预测值与实际值匹配度上,比如通常在keras运行中看到的准确度为96%,则说明是低偏差;反之,如果准确度只有70%,则说明是高偏差。 方差(variance):方差描述的是训练数据在不同迭代阶段的训练模型中,预测值的变化波动情况(或称之...

2019-09-05 17:27:16 1658 1

原创 【paddlepaddle】EnforceNotMet: Invoke operator dropout_grad error. 解决方案

paddlepaddle 当试图clone训练模型来生成测试模型的时候,遇到了这种奇葩错误(但是手写数字识别不会出现这个bug)解决方案来自@家行hang同学main_program = fluid.Program()startup_program = fluid.Program()with fluid.program_guard(main_program,start...

2019-06-14 15:11:11 3207

原创 paddlepaddle 人脸识别爬坑指南

综述爬坑一天,终于整出来一套在目前数据集上可以100%准确率的模型,特此分享爬坑心得~因为整体代码结构和上篇手写数字的文章里代码结构比较相似,所以这里只贴出部分代码网络结构目前采用的两套模型是cnn以及vgg,效果都非常不错,其他模型可能后续还会尝试。CNN# cnndef convolutional_neural_network(image, type...

2019-06-12 22:26:03 2540 3

原创 如何把代码优雅的插入word

做课程report遇到了这个棘手的问题(大学所有的小组文档我都没有接触过,所以几乎没有什么经验查询到了多种途径,觉得下边这种最便捷,效果也最好,特此分享~传送门:http://www.planetb.ca/syntax-highlight-word示例:点击 show highlighted 弹出新标签页复制粘贴入word即可保留以上边框和高亮f...

2019-06-03 10:17:02 2525 3

原创 minst 手写数字识别实战

综述手写数字识别是每个学习神经网络的人上手操作的必由之路,此次实验基于paddlepaddle框架在百度AI Studio上进行实战,在fork的学习项目基础上做了数据集的修改以及网络结构的改良,最终可正确识别黑底白字及白底黑字的手写数字,在20k张的测试集上呈现99.313%的准确率,基本达到实验目的。网络结构本次实验原有基础网络结构为两层全连接层+一层全连接输出层,经过多次调...

2019-06-03 00:14:15 2223

转载 聊天机器人 学习笔记

工作原理聊天机器人有三个重要模块:提问处理模块、检索模块、答案抽取模块提问处理模块要做三项重要工作:查询关键词生成、答案类型确定、句法和语义分析。查询关键词生成:从提问中提取出关键的几个关键词,再关联出几个扩展词,形成原始资料答案类型确定:确定提问属于哪一类句法和语义分析:对问题的深层含义做剖析,比如问题是:聊天机器人怎么做?那么就要知剖析出问的是聊天机器人的研发方法检索模...

2018-09-07 20:24:24 382

转载 NLTK库 初接触

NLTK 库安装pip install nltk安装书籍import nltknltk.download()加载书籍from nltk.book import *搜索文本从text1中检索20个包含former的语句上下文text1.concordance("former")搜索相关词text1.similar("ship")查看某个词在文章...

2018-09-04 17:00:45 1725 1

原创 区间dp及四边形不等式优化

区间dp有一个显著特性就是 由小区间逐渐合并到大区间获得最优答案 一般区间dp模板代码://一般区间DP实现代码memset(dp, /* */, sizeof(dp));for (int i = 1; i <= n; i++) //区间长度为1的初始化 dp[i][i] = 0;for (int len = 2; len <= n; len++) //枚举...

2018-08-03 15:16:51 536

原创 Codeforces Round #494 (Div. 3) C. Intense Heat

C. Intense Heattime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe heat during the last few days has been really intense. Scientists from all over...

2018-07-04 00:51:54 302

原创 Codeforces Round #494 (Div. 3) B. Binary String Constructing

B. Binary String Constructingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given three integers aa, bb and xx. Your task is to construct ...

2018-07-04 00:48:29 252

原创 Codeforces Round #494 (Div. 3) A. Polycarp's Pockets

A. Polycarp's Pocketstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has nn coins, the value of the ii-th coin is aiai. Polycarp wants to ...

2018-07-04 00:41:19 240

原创 Codeforces Round #493 (Div. 2) D. Roman Digits

D. Roman Digitstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's introduce a number system which is based on a roman digits. There are digits I...

2018-07-03 17:39:07 543

原创 Codeforces Round #493 (Div. 2) C. Convert to Ones

C. Convert to Onestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got a string a1,a2,…,ana1,a2,…,an, consisting of zeros and ones.Let's call...

2018-07-03 01:24:32 283

原创 Codeforces Round #493 (Div. 2) B. Cutting

B. Cuttingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are a lot of things which could be cut — trees, paper, "the rope". In this problem...

2018-07-03 01:19:31 241

原创 Codeforces Round #493 (Div. 2) A. Balloons

A. Balloonstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are quite a lot of ways to have fun with inflatable balloons. For example, you can...

2018-07-03 01:15:32 219

原创 Codeforces Round #491 (Div. 2) C. Candies

C. Candiestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter passing a test, Vasya got himself a box of nn candies. He decided to eat an equal a...

2018-07-02 20:32:54 185

原创 Codeforces Round #491 (Div. 2) B. Getting an A

B. Getting an Atime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTranslator's note: in Russia's most widespread grading system, there are four grades...

2018-07-02 20:29:13 169

原创 Codeforces Round #491 (Div. 2) A. If at first you don't succeed...

A. If at first you don't succeed...time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEach student eagerly awaits the day he would pass the exams succ...

2018-07-02 20:24:07 165

【吴恩达课后编程作业】第二周作业 - Logistic回归-识别猫的图片资源.zip

【吴恩达课后编程作业】第二周作业 - Logistic回归-识别猫的图片资源

2019-09-05

空空如也

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

TA关注的人

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