上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页
摘要: 折线图示例 画布和子图 柱状图 饼状图 Matplotlib画正弦余弦曲线 K线图 1 pip3.6 install https://github.com/matplotlib/mpl_finance/archive/master.zip 2 3 from mpl_finance import ca 阅读全文
posted @ 2018-08-15 18:59 马贡多在下雨 阅读(508) 评论(0) 推荐(0)
摘要: twitter的AnomalyDetection 官网效果图如下: 尝试写了下面这个R程序: get_specify_df <- function(start_ts,stop_ts,category='totaluploadspeed'){ library(httr) library(rlist) 阅读全文
posted @ 2018-08-15 11:02 马贡多在下雨 阅读(225) 评论(0) 推荐(0)
摘要: #!/bin/bash tput civis while [ 1 ] do tput clear # tput cup 10 20 info=$(date "+%Y-%m-%d %H:%M:%S %A") LEN=`echo $info | wc -c` COLS=`tput cols` let HOLD_COL=$COLS-$LEN ... 阅读全文
posted @ 2018-08-14 11:10 马贡多在下雨 阅读(198) 评论(0) 推荐(0)
摘要: numpy基础 定义array array基本运算 卷积运算 random常用操作 array索引 迭代array 合并array 分割array Numpy.copy() Numpy其他 numpy参考:http://pda.readthedocs.io/en/latest/chp4.html P 阅读全文
posted @ 2018-08-12 13:29 马贡多在下雨 阅读(939) 评论(0) 推荐(0)
摘要: 简单移动平均(sma) def moving_average(f_t): if type(f_t) is not np.ndarray: raise TypeError\ ('Expected one dimensional numpy array.') if f_t.shape[1] != 1: 阅读全文
posted @ 2018-08-05 21:36 马贡多在下雨 阅读(910) 评论(0) 推荐(0)
摘要: Z-score Modified Z-score IQR(interquartile range) Conclusion 摘自:http://colingorrie.github.io/outlier-detection.html 阅读全文
posted @ 2018-08-01 21:23 马贡多在下雨 阅读(377) 评论(0) 推荐(0)
摘要: 简单的生产者消费者模型 yield表达式示例 阅读全文
posted @ 2018-07-25 10:34 马贡多在下雨 阅读(276) 评论(0) 推荐(0)
摘要: 404页面,倒计时自动跳转指定页面 403页面文字水平垂直居中 阅读全文
posted @ 2018-07-24 11:51 马贡多在下雨 阅读(2805) 评论(0) 推荐(0)
摘要: Question 有如下一个字典,内嵌多维列表: 请把所有以 'hit' 开头的key所对应的list按顺序求和,示例结果:{ 'hit':[[9, 39, 69], [12, 42, 72]] } Answer 阅读全文
posted @ 2018-07-23 11:18 马贡多在下雨 阅读(330) 评论(0) 推荐(0)
摘要: free介绍 free示例 字段解释 buffers和cached是干啥用的? cached是cpu与内存间的,buffer是内存与磁盘间的,都是为了解决速度不对等的问题。 buffer是即将要被写入磁盘的,而cache是被从磁盘中读出来的。 - 缓存(cached)是把读取过的数据保存起来,重新读 阅读全文
posted @ 2018-07-22 12:52 马贡多在下雨 阅读(626) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页