摘要: bincount 顾名思义 bin的count bin出现在哪里呢? hist() 的参数bins是不是很熟悉 实现的功能类似直方图,即number和frequency的关系 对应hist()参数bins=max(序列最大值)+1 即划分计数区间为[0,1),[1,2),...,[max(序列最大值 阅读全文
posted @ 2020-06-09 21:49 量子壁咚 阅读(377) 评论(0) 推荐(0)
摘要: 前言 目标:预测测试集中乘客是否会存活 此项目数据集分为2份数据集titanic_train.csv和titanic_test.csv titanic_train.csv: 训练集,共计891条数据 titanic_test.csv: 测试集,共计418条数据 字段 字段说明PassengerId 阅读全文
posted @ 2020-06-05 14:11 量子壁咚 阅读(940) 评论(0) 推荐(0)
摘要: bins : integer or array_like, optional 一、integer(整型) 表示直方个数,或区间等分份数。 二、array_like(类数组?) 这个类型是类数组吗?可以使用np.array类型。 array里的每个元素,相当于自定义区间端点。 分成[0,1),[1,2 阅读全文
posted @ 2020-06-03 16:28 量子壁咚 阅读(2325) 评论(0) 推荐(0)
摘要: 首先,在命令行中找到配置文件路径。 然后,打开配置文件。 ①修改默认浏览器 注: 目录使用转义 \\ 的方式,避免‘unicodeescape’..error②修改默认浏览器 import webbrowser webbrowser.register("chrome", None, webbrows 阅读全文
posted @ 2020-05-19 22:13 量子壁咚 阅读(315) 评论(0) 推荐(0)
摘要: 这个相对路径怎么填呢? 阅读全文
posted @ 2019-12-30 15:38 量子壁咚 阅读(105) 评论(0) 推荐(0)