随笔分类 - ⑦ 机器学习 4 - py 模块
摘要:seaborn 模块 简述 对 matplotlib 模块进行了二次封装, 底层依旧使用还是 matplotlib 的, 但是在此基础上增加了很多的易用性模板, 更加方便使用 引用使用 import seaborn as sns 对比 matplotlib 默认风格 默认风格的方法 - set 主题
阅读全文
摘要:matplotlib 模块 引入模块 import matplotlib.pyplot as plt 设置图片大小 - figure 展示图片 - show 画图 - 实例化后指定类型画图 plot - 折线图 scatter - 散点图 subplots - 条形图 同一个实例可以指定多个图形组合
阅读全文
摘要:数据读取结构 - DataFrame Series (collection of values) DataFrame (collection of Series objects) Panel (collection of DataFrame objects) DataFrame 可以理解为一个矩阵结
阅读全文
摘要:numpy 概述 ▨ Numerical Python. 补充了python所欠缺的数值计算能力 ▨ Numpy是其他数据分析及机器学习库的底层库 ▨ Numpy完全标准C语言实现,运行效率充分优化 ▨ Numpy开源免费 基本数据结构 类型名类型表示符 布尔类型 bool_ 有符号整型 int8/
阅读全文