没有合适的资源?快使用搜索试试~ 我知道了~
Machine Learning with Python Cookbook
需积分: 5 1 下载量 190 浏览量
2023-11-29
04:17:26
上传
评论
收藏 9.24MB PDF 举报
温馨提示
试读
416页
Kyle Gallatin, Chris Albon - Machine Learning with Python Cookbook: Practical Solutions from Preprocessing to Deep Learning – Sept. 5 2023
资源推荐
资源详情
资源评论
Machine Learning
with Python
Cookbook
Practical Solutions from Preprocessing
to Deep Learning
Kyle Gallatin
& Chris Albon
Second
Edition
SECOND
EDITION
DATA
“I was worried that I
would never be able
to find a cookbook
that concisely covers
ANN, hyperplanes, and
random forest feature
selection, but then this
text came into my life.”
—Vicki Boykis
Machine Learning Engineer, Duo
Machine Learning with Python Cookbook
Twitter: @oreillymedia
linkedin.com/company/oreilly-media
youtube.com/oreillymedia
This practical guide provides more than 200 self-contained
recipes to help you solve machine learning challenges you
may encounter in your work. If you’re comfortable with
Python and its libraries, including pandas and scikit-learn,
you’ll be able to address specific problems, from loading
data to training models and leveraging neural networks.
Each recipe in this updated edition includes code that you
can copy, paste, and run with a toy dataset to ensure that it
works. From there, you can adapt these recipes according to
your use case or application. Recipes include a discussion that
explains the solution and provides meaningful context.
Go beyond theory and concepts by learning the nuts and
bolts you need to construct working machine learning
applications. You’ll find recipes for:
• Vectors, matrices, and arrays
• Working with data from CSV, JSON, SQL, databases,
cloud storage, and other sources
• Handling numerical and categorical data, text, images,
and dates and times
• Dimensionality reduction using feature extraction
or feature selection
• Model evaluation and selection
• Linear and logical regression, trees and forests,
and k-nearest neighbors
• Supporting vector machines (SVM), naïve Bayes,
clustering, and tree-based models
• Saving, loading, and serving trained models from
multiple frameworks
Kyle Gallatin is a software
engineer on the machine learning
platform team at Etsy. He has
years of experience as a data
analyst, data scientist, and
machine learning engineer.
Chris Albon is the director
of machine learning at the
Wikimedia Foundation, the
nonprofit that hosts Wikipedia.
US $79.99 CAN $99.99
ISBN: 9781098135720
SECOND
EDITION
Kyle Gallatin and Chris Albon
Machine Learning with
Python Cookbook
Practical Solutions from Preprocessing
to Deep Learning
SECOND EDITION
978-1-098-13572-0
[LSI]
Machine Learning with Python Cookbook
by Kyle Gallatin and Chris Albon
Copyright © 2023 Kyle Gallatin. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional
sales department: 800-998-9938 or corporate@oreilly.com.
Acquisitions Editor: Nicole Butterfield
Development Editor: Jeff Bleiel
Production Editor: Clare Laylock
Copyeditor: Penelope Perkins
Proofreader: Piper Editorial Consulting, LLC
Indexer: Potomac Indexing, LLC
Interior Designer: David Futato
Cover Designer: Karen Montgomery
Illustrator: Kate Dullea
April 2018: First Edition
July 2023: Second Edition
Revision History for the Second Edition
2023-07-27: First Release
See http://oreilly.com/catalog/errata.csp?isbn=9781098135720 for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Machine Learning with Python
Cookbook, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
The views expressed in this work are those of the authors and do not represent the publisher’s views.
While the publisher and the authors have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility
for errors or omissions, including without limitation responsibility for damages resulting from the use
of or reliance on this work. Use of the information and instructions contained in this work is at your
own risk. If any code samples or other technology this work contains or describes is subject to open
source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1.
Working with Vectors, Matrices, and Arrays in NumPy. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.0 Introduction 1
1.1 Creating a Vector 1
1.2 Creating a Matrix 2
1.3 Creating a Sparse Matrix 3
1.4 Preallocating NumPy Arrays 4
1.5 Selecting Elements 5
1.6 Describing a Matrix 7
1.7 Applying Functions over Each Element 7
1.8 Finding the Maximum and Minimum Values 8
1.9 Calculating the Average, Variance, and Standard Deviation 9
1.10 Reshaping Arrays 10
1.11 Transposing a Vector or Matrix 11
1.12 Flattening a Matrix 12
1.13 Finding the Rank of a Matrix 13
1.14 Getting the Diagonal of a Matrix 14
1.15 Calculating the Trace of a Matrix 15
1.16 Calculating Dot Products 15
1.17 Adding and Subtracting Matrices 16
1.18 Multiplying Matrices 17
1.19 Inverting a Matrix 18
1.20 Generating Random Values 19
iii
剩余415页未读,继续阅读
资源评论
qq_42079146
- 粉丝: 4
- 资源: 202
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功