资源简介
python预测分析核心算法(含大量实例代码)
在学习和研究机器学习的时候,面临令人眼花缭乱的算法,机器学习新手往往会不知
所措。本书从算法和 Python 语言实现的角度,帮助读者认识机器学习。
本书专注于两类核心的“算法族”,即惩罚线性回归和集成方法,并通过代码实例来
展示所讨论的算法的使用原则。全书共分为 7 章,详细讨论了预测模型的两类核心算法、
预测模型的构建、惩罚线性回归和集成方法的具体应用和实现。
本书主要针对想提高机器学习技能的 Python 开发人员,帮助他们解决某一特定的项
目或是提升相关的技能
代码片段和文件信息
__author__ = ‘mike_bowles‘
import pandas as pd
from pandas import Dataframe
import matplotlib.pyplot as plot
target_url = (“http://archive.ics.uci.edu/ml/machine-“
“learning-databases/abalone/abalone.data“)
#read abalone data
abalone = pd.read_csv(target_urlheader=None prefix=“V“)
abalone.columns = [‘Sex‘ ‘Length‘ ‘Diameter‘ ‘Height‘
‘Whole weight‘ ‘Shucked weight‘
‘Viscera weight‘ ‘Shell weight‘ ‘Rings‘]
#calculate correlation matrix
corMat = Dataframe(abalone.iloc[:1:9].corr())
#print correlation matrix
print(corMat)
#visualize correlations using heatmap
plot.pcolor(corMat)
plot.show()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-11-21 11:12 python预测分析核心算法(含代码)\
目录 0 2017-11-15 19:13 python预测分析核心算法(含代码)\python_mechina_learning——code\
目录 0 2017-11-15 19:13 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\
目录 0 2017-11-15 19:13 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\.ipynb_checkpoints\
文件 72 2017-02-27 11:42 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\.ipynb_checkpoints\Chapter02-checkpoint.ipynb
目录 0 2017-11-15 19:13 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\01\
文件 73 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\01\chapter01.txt
目录 0 2017-11-21 09:39 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\
文件 684 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\abaloneCorrHeat.py
文件 1136 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\abaloneCorrMat.txt
文件 1481 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\abaloneParallelPlot.py
文件 1679 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\abaloneSummary.py
文件 2325 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\abaloneSummaryOutput.txt
文件 24592 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\chapter02.zip
文件 1617 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\corrCalc.py
文件 769 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\corrPlot.py
文件 620 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\glassCorrHeatMap.py
文件 1174 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\glassParallelPlot.py
文件 984 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\glassSummary.py
文件 1672 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\glassSummary.txt
文件 768 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\linePlots.py
文件 624 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\outputRocksVMinesContents.txt
文件 526 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\outputSummaryStats.txt
文件 538 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\pandasReadSummarize.py
文件 1431 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\pandasReadSummarizeOutput.txt
文件 756 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\qqplotAttribute.py
文件 1181 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\rockVmineContents.py
文件 608 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\rockVmineSummaries.py
文件 0 2017-11-21 09:39 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\rVMSummaryStats.py
文件 541 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\sampleCorrHeatMap.py
文件 1435 2015-02-26 11:58 python预测分析核心算法(含代码)\python_mechina_learning——code\python_mechina_learning\02\targetCorr.py
............此处省略73个文件信息
相关资源
- python智能垃圾分类串口控制arduino.zi
- python实现kaggle中的数字识别
- ArcGIS平台中的Python开发
- Python编程案例教程
- 最新Python离线帮助文档PDF格式-Python
- 用Python写网络爬虫PDF&源码.rar
- python pandas 手册
- tesseract-ocr以及中文包
- Python操作Word、EXCELACCESS
- Python爬虫教学PPT
- Python 自动化测试框架-pytest.pdf
- Python算法教程_中文版高清带书签
- 基于django的博客系统源码_python学习项
- 千峰凯哥python第4章 Tornado
- Hands-On Transfer Learning with Python
- 吴恩达机器学习课后作业python代码
- 最基础的Python入门课件和代码-整理
- 机器学习字母分类-python
- python Django 学生会管理系统.zip
- OpenCV3计算机视觉_Python语言实现 _刘波
- 自动化测试实战基于Python语言(虫师
- 灰帽python (Gray Hat Python) 中文版
- python3中文识别词库模型
- OpenCV3计算机视觉Python语言实现源代码
- 微博情感分析_python代码
- opencv_python‑3.4.3‑cp37‑cp37m‑win_amd
- 吴恩达机器学习编程作业python3版本
- Python Unix和Linux系统管理指南
- opencv_python-3.4.2-cp37-cp37m-win_amd64.whl
- Michael Nielsen 的《Neural Networks and Deep
评论
共有 条评论