货币插件: 价格格式化 // https://github.com/vuejs/vuex/blob/dev/examples/shopping cart/currency.js const digitsRE = /(\d{3})(?=\d)/g / [currency 金额格式化函数] @param ...
分类:
其他好文 时间:
2018-11-10 12:41:30
阅读次数:
1740
python写入excel(xlswriter)--生成图表 折线图 柱状图: 效果图 PS: 其实前面两个图只变动一点:把 line 个性为 column 三、饼图: 效果图: 参考资料: http://xlsxwriter.readthedocs.io/chart_examples.html h ...
分类:
编程语言 时间:
2018-11-09 21:04:35
阅读次数:
256
书籍源码:https://github.com/hzy46/Deep-Learning-21-Examples CNN的发展已经很多了,ImageNet引发的一系列方法,LeNet,GoogLeNet,VGGNet,ResNet每个方法都有很多版本的衍生,tensorflow中带有封装好各方法和网络 ...
分类:
其他好文 时间:
2018-11-09 19:25:04
阅读次数:
646
1 import os 2 import tab 3 import tensorflow as tf 4 5 print "tensorflow 5.2 " 6 7 from tensorflow.examples.tutorials.mnist import input_data 8 9 ''' ... ...
分类:
其他好文 时间:
2018-11-09 16:21:22
阅读次数:
131
1:For each ... inFor...in ExamplesFor...of 对以上的内容进行 Examples和Explanation (1)For...in 以任意顺序遍历一个对象的可枚举属性。对于每个不同的属性,语句都会被执行 for(variable in object){...} ...
分类:
其他好文 时间:
2018-11-08 23:59:56
阅读次数:
312
前几天在做项目的时候,遇到一个表格里边的数据通过上下拖拽来改变其排序方式,后来通过一阵查找,发现jquery-ui提供了sortable这个方法,甚是欢喜,在此便把我写的小demo奉上: 其文档地址为:http://api.jqueryui.com/sortable/#entry-examples ...
分类:
编程语言 时间:
2018-11-07 23:09:34
阅读次数:
195
"megalo" 是基于 Vue 的小程序框架(没错,又是基于 Vue 的小程序框架),但是它不仅仅支持微信小程序,还支持支付宝小程序,同时还支持在开发时使用更多 Vue 的特性。 背景 对于用户而言,小程序能提供更好的体验,但对于开发者而言,要让一个应用跑在多个平台上,则需要写多套代码。如何提高小 ...
分类:
微信 时间:
2018-11-07 20:43:19
阅读次数:
497
http://www.elevateweb.co.uk/image-zoom/examples ...
分类:
Web程序 时间:
2018-11-07 20:07:34
阅读次数:
169
C. Paint Tree time limit per test 2 seconds memory limit per test 256 megabytes You are given a tree with $n$ vertexes and $n$ points on a plane, no t ...
分类:
编程语言 时间:
2018-11-07 15:25:12
阅读次数:
192
spark JAVA 开发环境搭建及远程调试 以后要在项目中使用Spark 用户昵称文本做一下聚类分析,找出一些违规的昵称信息。以前折腾过Hadoop,于是看了下Spark官网的文档以及 github 上 官方提供的examples,看完了之后决定动手跑一个文本聚类的demo,于是有了下文。 1. ...
分类:
编程语言 时间:
2018-11-03 02:08:21
阅读次数:
1124