会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hannahzhao11
博客园
首页
新随笔
联系
订阅
管理
2020年7月8日
python小技巧
摘要: tx_day_order.groupby('CustomerID')['InvoiceDay' ].shift(2) 可以构建cohort analysis的数据
阅读全文
posted @ 2020-07-08 04:31 hannahzhao11
阅读(85)
评论(0)
推荐(0)
2020年7月7日
Logistic Regression as a Neural Network
摘要: 以下记录知识点: 1. Python: np.squeeze(train_set_y[:, index]) 场景:在机器学习和深度学习中,通常算法的结果是可以表示向量的数组(即包含两对或以上的方括号形式[[]] 如果直接利用这个数组进行画图可能显示界面为空 我们可以利用squeeze()函数将表示向
阅读全文
posted @ 2020-07-07 22:49 hannahzhao11
阅读(92)
评论(0)
推荐(0)
2020年6月28日
刷题啦,two sum
摘要: 题目如下: Given nums = [2, 7, 11, 15] Target = 9 Return[i, j] Code要怎么写: def TwoSum(self, nums: List[int], target: int) -> List[int] : for i in range(): fo
阅读全文
posted @ 2020-06-28 00:56 hannahzhao11
阅读(88)
评论(0)
推荐(0)
公告