摘要: There are three popular metrics to measure the correlation between two random variables: Pearson's correlation coefficient, Kendall's tau and Spearman 阅读全文
posted @ 2020-03-04 03:34 Sherrrry 阅读(302) 评论(0) 推荐(0) 编辑
摘要: For Loop ls = [1, 2, 3, 4] for i in ls: print (i) Enumerate Method ls = [1, 2, 3, 4] for i, j in enumerate(ls): print(i, j) Out: 0 1 1 2 2 3 3 4 List 阅读全文
posted @ 2020-03-03 02:02 Sherrrry 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1. Combine Two Series series1=pd.Series([1,2,3],name='s1') series2=pd.Series([4,5,6],name='s2') df = pd.concat([series1, series2], axis=1) Out: series 阅读全文
posted @ 2020-02-28 04:51 Sherrrry 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Mac系统安装完Anaconda 3.7后在terminal输入conda --version,返回command not found 原因可能是没有配置环境变量 在terminal输入vi ~/.bash_profile,检查环境变量已配置 在terminal输入export PATH=~/opt 阅读全文
posted @ 2020-02-22 22:48 Sherrrry 阅读(945) 评论(0) 推荐(0) 编辑
摘要: Accuracy/Error rate ACC = (TP+TN)/(P+N) ERR = (FP+FN)/(P+N) = 1-ACC Confusion matrix Precision/Recall/F1 Precision = TP/(TP+FP)-- positive predictive 阅读全文
posted @ 2019-11-07 23:38 Sherrrry 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 基金分类 股票基金(行业型、量化型、主动管理型) 债券基金(纯债型、一级债券、二级债券、可转债) 货币基金 混合基金 指数基金:(量化增强型、被动管理型) QDII 分级基金 保本基金 理财基金 ETF LOF FOF Ref:基金分类细谈-知乎 公募基金策略 公墓基金策略从大方向来分类的话,可以分 阅读全文
posted @ 2019-11-04 11:40 Sherrrry 阅读(1883) 评论(0) 推荐(0) 编辑
摘要: 最近做Machine Learning作业,要在Jupyter Notebook上用Keras搭建Neural Network。结果连最简单的一层神经网络都运行不了,更奇怪的是我先用iris数据集跑了一遍并没有任何问题,但是用老师给的fashion mnist一运行服务器就提示挂掉重启。更更奇怪的是 阅读全文
posted @ 2019-03-30 12:31 Sherrrry 阅读(5670) 评论(0) 推荐(0) 编辑
摘要: This is the second part of A/B testing notes, which contains the practical issues and alternatives of A/B testing. The fundamental introduction of A/B 阅读全文
posted @ 2019-02-13 10:36 Sherrrry 阅读(234) 评论(0) 推荐(0) 编辑
摘要: I learned A/B testing from a Youtube vedio. The link is https://www.youtube.com/watch?v=Bu7OqjYk0jM. I will divide the note into two parts. The first 阅读全文
posted @ 2019-02-12 12:37 Sherrrry 阅读(400) 评论(0) 推荐(0) 编辑
摘要: Case Study The case study Physicians' Reactions sought to determine whether physicians spend less time with obese patients. Physicians were sampled ra 阅读全文
posted @ 2019-02-12 05:54 Sherrrry 阅读(215) 评论(0) 推荐(0) 编辑