会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
划得戳
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
27
下一页
2019年8月9日
Django rest-framework框架-CBV原理
摘要: jdango中间件:class Test(View): def dispatch(self, request, *args, **kwargs): #第一种方法 func = getattr(self,request.method.lower())#反射 ret = func(request,*ar
阅读全文
posted @ 2019-08-09 10:58 划得戳
阅读(210)
评论(0)
推荐(0)
2019年8月8日
git 操作实践
摘要: git操作: - git是一个用于帮助用户实现版本控制的软件 #首先创建项目 1. cd到项目文件目录 2. 鼠标右键点击 Git Bash Here 3. git init #在项目文件目录生成 .git文件 初始化就可以开始使用git管理了 4. git add . #增加需要管理的文件 (这里
阅读全文
posted @ 2019-08-08 11:42 划得戳
阅读(128)
评论(0)
推荐(0)
2019年7月1日
项目架构
摘要:
阅读全文
posted @ 2019-07-01 22:19 划得戳
阅读(181)
评论(0)
推荐(0)
linux grep/awk/cut/egrep/echo/经验
摘要: 1. 例子 http://www.test.com/atk/pki/test-1.1.tar.gz 过滤出test-1.1.tar.gz t = http://www.test.com/atk/pki/test-1.1.tar.gz (1) egrep -o "[^/]+$" (2) echo ${
阅读全文
posted @ 2019-07-01 20:03 划得戳
阅读(298)
评论(0)
推荐(0)
2019年6月21日
统计模型应用--表现和风险评估
摘要: def annualised_sharpe(returns, N=252): return np.sqrt(N) * returns.mean()/returns.std()def equity_sharpe(ticker,start, end): pdf = web.DataReader(ticker, 'quandl', start, end).sort_index() ...
阅读全文
posted @ 2019-06-21 15:55 划得戳
阅读(250)
评论(0)
推荐(0)
统计模型应用--基本预测手法
摘要: 分类器:
阅读全文
posted @ 2019-06-21 14:57 划得戳
阅读(474)
评论(0)
推荐(0)
统计模型应用--平稳性
摘要: 平稳性 from numpy import cumsum , log, polyfit, sqrt, std, subtract from numpy.random import randn def hurst(ts): lags = range(2, 100) tau = [sqrt(std(su
阅读全文
posted @ 2019-06-21 13:54 划得戳
阅读(476)
评论(0)
推荐(0)
统计模型应用--均值回复
摘要: 单位根检验 import statsmodels.tsa.stattools as ts from datetime import datetime import pandas_datareader.date as web amzn = web.DataReader('AMZN','quandl',
阅读全文
posted @ 2019-06-21 09:37 划得戳
阅读(597)
评论(0)
推荐(0)
2019年6月14日
mysql 添加grant权限
摘要: GRANT USAGE ON *.* TO 'xxxx'@'x.%.%.%' WITH GRANT OPTION;
阅读全文
posted @ 2019-06-14 10:51 划得戳
阅读(362)
评论(0)
推荐(0)
2019年5月24日
php 测试php连接redis集群的案例
摘要: <?php$redis_list = ['12.24.18.2:6379'];$client = new RedisCluster(NUll,$redis_list);echo $client->set('z','1234');echo $client->get('z');
阅读全文
posted @ 2019-05-24 15:48 划得戳
阅读(1701)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
27
下一页
公告