摘要: 数据类型object与category比较 category数据类型 官方文档是这样描述的: Categoricals 是 pandas 的一种数据类型,对应着被统计的变量。 1.Categoricals 是由固定的且有限数量的变量组成的。比如:性别、社会阶层、血型、国籍、观察时段、赞美程度等等。 阅读全文
posted @ 2020-04-27 13:47 wqbin 阅读(2939) 评论(0) 推荐(0) 编辑
摘要: 采用lightGBM模型 准备数据与训练 calendar.csv数据集导入。 该数据数聚包含物品的售卖时间与物品类型 date: The date in a “y-m-d” format. wm_yr_wk: The id of the week the date belongs to. week 阅读全文
posted @ 2020-04-27 11:48 wqbin 阅读(1417) 评论(0) 推荐(0) 编辑