没有合适的资源?快使用搜索试试~ 我知道了~
首页精通Python机器学习:深度学习与数据预处理
"Python Machine Learning" 本书《Python Machine Learning》是一本深入探讨机器学习技术的权威指南,通过Python的开源库,如Keras、Theano等,帮助读者掌握深度学习、数据清洗、数据可视化等关键技能。它面向的是希望利用Python进行数据分析的读者,无论你是初学者还是希望深化数据科学知识的专业人士,这本书都是一个不可或缺的资源。 在这本书中,你将学习到如何根据不同的问题选择合适的机器学习模型,了解如何构建神经网络,并掌握编写优化算法性能的整洁、优雅的Python代码。此外,你还将学习如何将训练好的模型嵌入到Web应用程序中,提高数据访问性。书中的内容包括使用回归分析预测连续目标变量,通过聚类方法发现数据中的隐藏模式和结构,以及运用有效的预处理技术整理数据。 对于文本和社交媒体数据的深入分析,书中介绍了情感分析的应用。作者Sebastian Raschka以理论与实践相结合的方式,引导读者理解Python中的机器学习库,同时展示了如何运用一系列统计模型解决问题。尽管书中尽力确保信息的准确性,但并未提供任何形式的保证,读者在使用书中方法时需自行承担可能的风险。 此书不仅涵盖了基础的机器学习概念,还涉及了如何利用如NumPy、Pandas、Scikit-learn等Python库来实现机器学习项目。通过实际案例和代码示例,读者可以一步步地实践并掌握这些技能。这本书对于那些希望通过Python进行预测分析,从而从数据中获取更深层次洞察的读者来说,是一份宝贵的资料。
资源详情
资源推荐
Table of Contents
[ v ]
Chapter 10: Predicting Continuous Target Variables
with Regression Analysis 277
Introducing a simple linear regression model 278
Exploring the Housing Dataset 279
Visualizing the important characteristics of a dataset 280
Implementing an ordinary least squares linear regression model 285
Solving regression for regression parameters with gradient descent 285
Estimating the coefcient of a regression model via scikit-learn 289
Fitting a robust regression model using RANSAC 291
Evaluating the performance of linear regression models 294
Using regularized methods for regression 297
Turning a linear regression model into a curve – polynomial
regression 298
Modeling nonlinear relationships in the Housing Dataset 300
Dealing with nonlinear relationships using random forests 304
Decision tree regression 304
Random forest regression 306
Summary 309
Chapter 11: Working with Unlabeled Data – Clustering Analysis 311
Grouping objects by similarity using k-means 312
K-means++ 315
Hard versus soft clustering 317
Using the elbow method to nd the optimal number of clusters 320
Quantifying the quality of clustering via silhouette plots 321
Organizing clusters as a hierarchical tree 326
Performing hierarchical clustering on a distance matrix 328
Attaching dendrograms to a heat map 332
Applying agglomerative clustering via scikit-learn 334
Locating regions of high density via DBSCAN 334
Summary 340
Chapter 12: Training Articial Neural Networks for Image
Recognition 341
Modeling complex functions with articial neural networks 342
Single-layer neural network recap 343
Introducing the multi-layer neural network architecture 345
Activating a neural network via forward propagation 347
www.it-ebooks.info
Table of Contents
[ vi ]
Classifying handwritten digits 350
Obtaining the MNIST dataset 351
Implementing a multi-layer perceptron 356
Training an articial neural network 365
Computing the logistic cost function 365
Training neural networks via backpropagation 368
Developing your intuition for backpropagation 372
Debugging neural networks with gradient checking 373
Convergence in neural networks 379
Other neural network architectures 381
Convolutional Neural Networks 381
Recurrent Neural Networks 383
A few last words about neural network implementation 384
Summary 385
Chapter 13: Parallelizing Neural Network Training with Theano 387
Building, compiling, and running expressions with Theano 388
What is Theano? 390
First steps with Theano 391
Conguring Theano 392
Working with array structures 394
Wrapping things up – a linear regression example 397
Choosing activation functions for feedforward neural networks 401
Logistic function recap 402
Estimating probabilities in multi-class classication via the
softmax function 404
Broadening the output spectrum by using a hyperbolic tangent 405
Training neural networks efciently using Keras 408
Summary 414
Index 417
www.it-ebooks.info
[ vii ]
Preface
I probably don't need to tell you that machine learning has become one of the most
exciting technologies of our time and age. Big companies, such as Google, Facebook,
Apple, Amazon, IBM, and many more, heavily invest in machine learning research
and applications for good reasons. Although it may seem that machine learning has
become the buzzword of our time and age, it is certainly not a hype. This exciting
eld opens the way to new possibilities and has become indispensable to our daily
lives. Talking to the voice assistant on our smart phones, recommending the right
product for our customers, stopping credit card fraud, ltering out spam from our
e-mail inboxes, detecting and diagnosing medical diseases, the list goes on and on.
If you want to become a machine learning practitioner, a better problem solver, or
maybe even consider a career in machine learning research, then this book is for you!
However, for a novice, the theoretical concepts behind machine learning can be quite
overwhelming. Yet, many practical books that have been published in recent years
will help you get started in machine learning by implementing powerful learning
algorithms. In my opinion, the use of practical code examples serve an important
purpose. They illustrate the concepts by putting the learned material directly into
action. However, remember that with great power comes great responsibility! The
concepts behind machine learning are too beautiful and important to be hidden in
a black box. Thus, my personal mission is to provide you with a different book; a
book that discusses the necessary details regarding machine learning concepts, offers
intuitive yet informative explanations on how machine learning algorithms work,
how to use them, and most importantly, how to avoid the most common pitfalls.
If you type "machine learning" as a search term in Google Scholar, it returns an
overwhelmingly large number-1,800,000 publications. Of course, we cannot discuss
all the nitty-gritty details about all the different algorithms and applications that have
emerged in the last 60 years. However, in this book, we will embark on an exciting
journey that covers all the essential topics and concepts to give you a head start in this
eld. If you nd that your thirst for knowledge is not satised, there are many useful
resources that can be used to follow up on the essential breakthroughs in this eld.
www.it-ebooks.info
Preface
[ viii ]
If you have already studied machine learning theory in detail, this book will show
you how to put your knowledge into practice. If you have used machine learning
techniques before and want to gain more insight into how machine learning really
works, this book is for you! Don't worry if you are completely new to the machine
learning eld; you have even more reason to be excited. I promise you that machine
learning will change the way you think about the problems you want to solve and
will show you how to tackle them by unlocking the power of data.
Before we dive deeper into the machine learning eld, let me answer your most
important question, "why Python?" The answer is simple: it is powerful yet very
accessible. Python has become the most popular programming language for data
science because it allows us to forget about the tedious parts of programming and
offers us an environment where we can quickly jot down our ideas and put concepts
directly into action.
Reecting on my personal journey, I can truly say that the study of machine learning
made me a better scientist, thinker, and problem solver. In this book, I want to
share this knowledge with you. Knowledge is gained by learning, the key is our
enthusiasm, and the true mastery of skills can only be achieved by practice. The road
ahead may be bumpy on occasions, and some topics may be more challenging than
others, but I hope that you will embrace this opportunity and focus on the reward.
Remember that we are on this journey together, and throughout this book, we will
add many powerful techniques to your arsenal that will help us solve even the
toughest problems the data-driven way.
What this book covers
Chapter 1, Giving Computers the Ability to Learn from Data, introduces you to the
main subareas of machine learning to tackle various problem tasks. In addition, it
discusses the essential steps for creating a typical machine learning model building
pipeline that will guide us through the following chapters.
Chapter 2, Training Machine Learning Algorithms for Classication, goes back to
the origin of machine learning and introduces binary perceptron classiers and
adaptive linear neurons. This chapter is a gentle introduction to the fundamentals
of pattern classication and focuses on the interplay of optimization algorithms and
machine learning.
Chapter 3, A Tour of Machine Learning Classirs Using Scikit-learn, describes the
essential machine learning algorithms for classication and provides practical
examples using one of the most popular and comprehensive open source machine
learning libraries, scikit-learn.
www.it-ebooks.info
Preface
[ ix ]
Chapter 4, Building Good Training Sets – Data Preprocessing, discusses how to deal with
the most common problems in unprocessed datasets, such as missing data. It also
discusses several approaches to identify the most informative features in datasets
and teaches you how to prepare variables of different types as proper inputs for
machine learning algorithms.
Chapter 5, Compressing Data via Dimensionality Reduction, describes the essential
techniques to reduce the number of features in a dataset to smaller sets while
retaining most of their useful and discriminatory information. It discusses the
standard approach to dimensionality reduction via principal component analysis
and compares it to supervised and nonlinear transformation techniques.
Chapter 6, Learning Best Practices for Model Evaluation and Hyperparameter Tuning,
discusses the do's and don'ts for estimating the performances of predictive models.
Moreover, it discusses different metrics for measuring the performance of our
models and techniques to ne-tune machine learning algorithms.
Chapter 7, Combining Different Models for Ensemble Learning, introduces you to the
different concepts of combining multiple learning algorithms effectively. It teaches
you how to build ensembles of experts to overcome the weaknesses of individual
learners, resulting in more accurate and reliable predictions.
Chapter 8, Applying Machine Learning to Sentiment Analysis, discusses the essential
steps to transform textual data into meaningful representations for machine learning
algorithms to predict the opinions of people based on their writing.
Chapter 9, Embedding a Machine Learning Model into a Web Application, continues with
the predictive model from the previous chapter and walks you through the essential
steps of developing web applications with embedded machine learning models.
Chapter 10, Predicting Continuous Target Variables with Regression Analysis, discusses
the essential techniques for modeling linear relationships between target and
response variables to make predictions on a continuous scale. After introducing
different linear models, it also talks about polynomial regression and
tree-based approaches.
Chapter 11, Working with Unlabeled Data – Clustering Analysis, shifts the focus to a
different subarea of machine learning, unsupervised learning. We apply algorithms
from three fundamental families of clustering algorithms to nd groups of objects
that share a certain degree of similarity.
www.it-ebooks.info
剩余453页未读,继续阅读
红色石头Will
- 粉丝: 1w+
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 最优条件下三次B样条小波边缘检测算子研究
- 深入解析:wav文件格式结构
- JIRA系统配置指南:代理与SSL设置
- 入门必备:电阻电容识别全解析
- U盘制作启动盘:详细教程解决无光驱装系统难题
- Eclipse快捷键大全:提升开发效率的必备秘籍
- C++ Primer Plus中文版:深入学习C++编程必备
- Eclipse常用快捷键汇总与操作指南
- JavaScript作用域解析与面向对象基础
- 软通动力Java笔试题解析
- 自定义标签配置与使用指南
- Android Intent深度解析:组件通信与广播机制
- 增强MyEclipse代码提示功能设置教程
- x86下VMware环境中Openwrt编译与LuCI集成指南
- S3C2440A嵌入式终端电源管理系统设计探讨
- Intel DTCP-IP技术在数字家庭中的内容保护
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功