没有合适的资源?快使用搜索试试~ 我知道了~
首页Machine Learning with R 2nd 原版PDF by Lantz
Machine Learning with R 2nd 原版PDF by Lantz
需积分: 10 110 浏览量
更新于2023-05-30
评论
收藏 10.77MB PDF 举报
Machine learning, at its core, is concerned with the algorithms that transform information into actionable intelligence. This fact makes machine learning well-suited to the present-day era of big data. Without machine learning, it would be nearly impossible to keep up with the massive stream of information. Given the growing prominence of R—a cross-platform, zero-cost statistical programming environment—there has never been a better time to start using machine learning. R offers a powerful but easy-to-learn set of tools that can assist you with finding data insights
资源详情
资源评论
资源推荐

Machine Learning with R
Second Edition
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2013
Second edition: July 2015
Production reference: 1280715
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-390-8
www.packtpub.com

[ i ]
Table of Contents
Preface ix
Chapter 1: Introducing Machine Learning 1
The origins of machine learning 2
Uses and abuses of machine learning 4
Machine learning successes 5
The limits of machine learning 5
Machine learning ethics 7
How machines learn 9
Data storage 10
Abstraction 11
Generalization 13
Evaluation 14
Machine learning in practice 16
Types of input data 17
Types of machine learning algorithms 19
Matching input data to algorithms 21
Machine learning with R 22
Installing R packages 23
Loading and unloading R packages 24
Summary 25
Chapter 2: Managing and Understanding Data 27
R data structures 28
Vectors 28
Factors 30
Lists 32
Data frames 35
Matrixes and arrays 37

Table of Contents
[ ii ]
Managing data with R 39
Saving, loading, and removing R data structures 39
Importing and saving data from CSV les 41
Exploring and understanding data 42
Exploring the structure of data 43
Exploring numeric variables 44
Measuring the central tendency – mean and median 45
Measuring spread – quartiles and the ve-number summary 47
Visualizing numeric variables – boxplots 49
Visualizing numeric variables – histograms 51
Understanding numeric data – uniform and normal distributions 53
Measuring spread – variance and standard deviation 54
Exploring categorical variables 56
Measuring the central tendency – the mode 58
Exploring relationships between variables 59
Visualizing relationships – scatterplots 59
Examining relationships – two-way cross-tabulations 61
Summary 64
Chapter 3: Lazy Learning – Classication Using
Nearest Neighbors 65
Understanding nearest neighbor classication 66
The k-NN algorithm 66
Measuring similarity with distance 69
Choosing an appropriate k 70
Preparing data for use with k-NN 72
Why is the k-NN algorithm lazy? 74
Example – diagnosing breast cancer with the k-NN algorithm 75
Step 1 – collecting data 76
Step 2 – exploring and preparing the data 77
Transformation – normalizing numeric data 79
Data preparation – creating training and test datasets 80
Step 3 – training a model on the data 81
Step 4 – evaluating model performance 83
Step 5 – improving model performance 84
Transformation – z-score standardization 85
Testing alternative values of k 86
Summary 87
Chapter 4: Probabilistic Learning – Classication
Using Naive Bayes 89
Understanding Naive Bayes 90
Basic concepts of Bayesian methods 90
Understanding probability 91
Understanding joint probability 92
剩余442页未读,继续阅读









nn123456789
- 粉丝: 14
- 资源: 128
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制

评论0