摘要: https://www.kaggle.com/girmdshinsei/for-japanese-beginner-with-wrmsse-in-lgbm 阅读全文
posted @ 2020-05-07 21:26 wqbin 阅读(359) 评论(0) 推荐(0) 编辑
摘要: Numpy的 tile() 函数,就是将原矩阵横向、纵向地复制。tile 是瓷砖的意思,顾名思义,这个函数就是把数组像瓷砖一样铺展开来。 举个例子,原矩阵: 横向: >>> import numpy as np >>> d2= np.array([[1,2], [3, 4]]) >>> d2 arr 阅读全文
posted @ 2020-05-07 21:24 wqbin 阅读(875) 评论(0) 推荐(0) 编辑
摘要: 官网说 .r_是沿第一轴连接(在数学中第一轴是行), Translates slice objects to concatenation along the first axis .c_是沿第二轴连接(列) Translates slice objects to concatenation alon 阅读全文
posted @ 2020-05-07 12:10 wqbin 阅读(626) 评论(0) 推荐(0) 编辑