目录 定义网络 梯度反向传播 梯度更新 面试时的变相问法 参考资料 BPTT(back-propagation through time)算法是常用的训练RNN的方法,其实本质还是BP算法,只不过RNN处理时间序列数据,所以要基于时间反向传播,故叫随时间反向传播。 BPTT算法在吴恩达和李宏毅等教授 ...
分类:
其他好文 时间:
2020-07-09 22:05:20
阅读次数:
123
二 算法 2.1. 模糊集[1] 定义:在论域X上的模糊集合是X到[0,1]的一个映射,称作隶属函数,记作: 对于称为x对于的隶属度,隶属度越接近于1,表示x属于的程度越高,越接近于0表示x属于的程度越低。用取值于区间[0,1]的隶属函数表征x 属于的程度高低。由于许多事物受多种因素影响,所以无法给 ...
分类:
其他好文 时间:
2020-07-09 20:56:24
阅读次数:
143
HTTP/1.1 502 Fiddler - Connection Failed Date: Thu, 09 Jul 2020 10:31:22 GMT Content-Type: text/html; charset=UTF-8 Connection: close Cache-Control: n ...
分类:
Web程序 时间:
2020-07-09 19:38:47
阅读次数:
116
因为题目已知至少要k-2个 假设我们取了k个,使得答案最大 那么因为对于每个数来说至少k-2个数在这位是1 因此我们只要任意选三个数,都能保证在每一位上都有至少一个数为1 #include<bits/stdc++.h> using namespace std; typedef long long l ...
分类:
其他好文 时间:
2020-07-09 15:12:45
阅读次数:
67
临时换源: pip2 install setuptools==44.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple 永久换源: vim ~/.pip/pip.conf [global] index-url=http://pypi.douban.com/ ...
分类:
其他好文 时间:
2020-07-09 12:15:00
阅读次数:
203
图片验证码生成器 from PIL import ImageDraw from PIL import ImageFont from PIL import Image import random class CheckCode: def __init__(self, width=242, height ...
分类:
其他好文 时间:
2020-07-08 22:53:13
阅读次数:
156
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
https://studygolang.com/articles/11796 package main import ( "log" "net" ) func handleConnection(conn net.Conn) error { defer conn.Close() var request ...
分类:
Web程序 时间:
2020-07-08 21:28:55
阅读次数:
80
1.从左边滑出动画。 ViewTreeObserver vtobanniang = ivBanniang.getViewTreeObserver();vtobanniang.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutLi ...
分类:
移动开发 时间:
2020-07-08 21:27:30
阅读次数:
147
异常 异常是什么? 当Python检测到一个错误时,解释器就无法继续执行了,反而出现了一些错误的提示,这就是所谓的"异常"、 也就是说不符合Python语法、与python语法有异的代码运行时会报错,这就是异常 1、异常类型对照汇总: BaseException 所有异常的基类 +-- System ...
分类:
编程语言 时间:
2020-07-08 19:57:05
阅读次数:
67