otto这个开源项目是一个event bus模式的消息框架。用于程序各个模块之间的通信。此消息框架能够使得各个 模块之间降低耦合性。 此项目是支付公司square一个开源项目,项目托管于github https://github.com/square/otto 基本模型是,Android的组件能够注 ...
分类:
其他好文 时间:
2017-06-19 21:58:44
阅读次数:
183
原文位置:https://github.com/square/okhttp/wiki/Recipes We've written some recipes that demonstrate证明、展示 how to solve common problems with OkHttp. Read thr... ...
分类:
Web程序 时间:
2017-06-19 18:32:39
阅读次数:
235
# 概念 LMS(least mean square):(最小均方法)通过最小化均方误差来求最佳参数的方法。 GD(gradient descent) : (梯度下降法)一种参数更新法则。可以作为LMS的参数更新方法之一。 The normal equations : (正则方程式,将在下一篇随笔中 ...
分类:
其他好文 时间:
2017-06-18 15:51:21
阅读次数:
268
Starting with 1 and spiralling anticlockwise in the following way, a square spiral with side length 7 is formed. 37 36 35 34 33 32 31 38 17 16 15 14 1 ...
分类:
其他好文 时间:
2017-06-18 12:12:06
阅读次数:
172
一、列表1、有序列表ol <ol type="1默认/a/A/i/I"> <li></li> </ol> 2、无序列表ul(实际应用中,比有序列表广泛) 重点掌握 <ul type="disc默认实心圆/square实心方型/circle空心圆"/> <li></li> </ul>3、定义列表——适 ...
分类:
Web程序 时间:
2017-06-18 00:00:34
阅读次数:
323
一、列表1、有序列表ol <ol type="1默认/a/A/i/I"> <li></li> </ol> 2、无序列表ul(实际应用中,比有序列表广泛) 重点掌握 <ul type="disc默认实心圆/square实心方型/circle空心圆"/> <li></li> </ul>3、定义列表——适 ...
分类:
Web程序 时间:
2017-06-17 23:59:49
阅读次数:
349
内容总结与莫烦的视频。 这里多层感知器代码写的是一个简单的三层神经网络,输入层,隐藏层,输出层。代码的目的是你和一个二次曲线。同时,为了保证数据的自然,添加了mean为0,steddv为0.05的噪声。 添加层代码: 输入: 其他部分: 需要注意的是 所有代码: 1 # -*- coding: ut ...
分类:
其他好文 时间:
2017-06-17 12:06:19
阅读次数:
312
差点儿每一个程序猿在开发的过程中都会遇到内存泄漏。那么我们怎样检測到app是否哪里出现内存泄漏呢?square公司推出了一款简单粗暴的检測内存泄漏的工具-- LeakCanary 什么是内存泄漏? 内存泄漏是指因为疏忽或者错误造成程序未能释放已经不再使用的内存,内存泄漏不是指内存在物理上的消失,而是 ...
分类:
其他好文 时间:
2017-06-13 22:52:36
阅读次数:
245
Square Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 9588 Accepted Submission(s): 3127 Proble ...
分类:
其他好文 时间:
2017-06-12 17:16:47
阅读次数:
131
Vasily the bear has got a large square white table of n rows and n columns. The table has got a black border around this table. Vasily the bear wants ...
分类:
其他好文 时间:
2017-06-12 17:12:01
阅读次数:
157