2017-07-10 18:13:29
学习笔记TF024:TensorFlow实现Softmax Regression(回归)识别手写数字
TensorFlow实现Softmax Regression(回归)识别手写数字。MNIST(Mixed National Institute of Standards and Technology database),简单机器视觉数据集,28X28像素手写数字,只有灰度值信息,空白部分为0,笔迹根据颜色深浅取[0, 1], 784维,丢弃二维空间信息,目标分0~9共10类。数据加载,data.r
1565
2017-07-10 18:16:10
2017-07-11 14:35:58
2017-07-11 18:12:27
LeetCode & Q35-Search Insert Position-Easy
Array Binary SearchDescription:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may ass
1506
2017-07-11 18:12:30
2017-07-11 18:13:05
Python Day05 python 环境变量和import模块导入
1.定义 模块:本质就是.py结尾的文件(逻辑上组织python代码)模块的本质就是实现一个功能 文件名就是模块名称 包: 一个有__init__.py的文件夹;用来存放模块文件2.导入模块 import 模块名 form 模块名 import * from 模块名 import 模块名 as 新名称3. 导入模块本质 import 模块
1446
2017-07-11 18:13:05
Java标识符规范
1.标识符用来定义包名,类名,方法名,变量名,常量名。2.标识符必须由字母、下划线、$符号组成,不能以数字开头。不能是Java中的保留关键字。
1844
2017-07-11 18:13:06
csv2mysql
import osimport reimport sysimport csvimport timeimport argparseimport collectionsimport MySQLdbimport warnings # suppress annoying mysql warningswarnings.filterwarnings(action='ignore', ca
1604
2017-07-11 18:13:08
一次申请申请多笔业务
需求:多笔业务申请描述:一次申请,,在申请页面通过点击添加按钮,可以申请多笔业务,提交表单保存时,可以保存多笔业务;方案:在form表单中,存放一个隐藏字段(需要在实体中进行冗余),提交表单的时候,遍历多笔业务明细处的table,获取数据,将数据赋值给隐藏字段,提交表单后台接收后,通过解析此字段,判断出添加业务明细的笔数和详细信息,保存,完成多笔业务的添加
1120
2017-07-11 18:13:23
Yahoo Weather API with Oauth1
Yahoo重新开放了天气API,不使用oauth只能每天获取2000次/ip使用oauth获取天气的python代码如下,使用了requests_oauthlib进行认证使用oauth获取天气的次数为每小时2w次,每天10w次。 https://developer.yahoo.com/yql/guide/usage_info_limits.html使用前请注册一个Yahoo的APP获得key
1991