100% found this document useful (2 votes)
15 views

Machine Learning with Spark and Python Essential Techniques for Predictive Analytics 2nd Edition Michael Bowles download

The document provides information about the book 'Machine Learning with Spark and Python: Essential Techniques for Predictive Analytics, 2nd Edition' by Michael Bowles, including its ISBN, publication details, and a brief overview of its contents. It covers essential algorithms for predictive modeling, data understanding, and various regression methods, along with practical applications using Python and Spark. Additionally, it includes links to related resources and other recommended books on machine learning and predictive analytics.

Uploaded by

bazsomozga
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
15 views

Machine Learning with Spark and Python Essential Techniques for Predictive Analytics 2nd Edition Michael Bowles download

The document provides information about the book 'Machine Learning with Spark and Python: Essential Techniques for Predictive Analytics, 2nd Edition' by Michael Bowles, including its ISBN, publication details, and a brief overview of its contents. It covers essential algorithms for predictive modeling, data understanding, and various regression methods, along with practical applications using Python and Spark. Additionally, it includes links to related resources and other recommended books on machine learning and predictive analytics.

Uploaded by

bazsomozga
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

Machine Learning with Spark and Python Essential

Techniques for Predictive Analytics 2nd Edition


Michael Bowles pdf download

https://ebookfinal.com/download/machine-learning-with-spark-and-
python-essential-techniques-for-predictive-analytics-2nd-edition-
michael-bowles/

Explore and download more ebooks or textbooks


at ebookfinal.com
Here are some recommended products for you. Click the link to
download, or explore more at ebookfinal

Advanced analytics with Spark First Edition Laserson

https://ebookfinal.com/download/advanced-analytics-with-spark-first-
edition-laserson/

Mastering Predictive Analytics with R 2nd Edition James D.


Miller

https://ebookfinal.com/download/mastering-predictive-analytics-
with-r-2nd-edition-james-d-miller/

Thoughtful Machine Learning with Python Early Release


Matthew Kirk

https://ebookfinal.com/download/thoughtful-machine-learning-with-
python-early-release-matthew-kirk/

Learning Predictive Analytics with R Get to grips with key


data visualization and predictive analytic skills using R
1st Edition Eric Mayor
https://ebookfinal.com/download/learning-predictive-analytics-with-r-
get-to-grips-with-key-data-visualization-and-predictive-analytic-
skills-using-r-1st-edition-eric-mayor/
Python Machine Learning Second Edition Sebastian Raschka

https://ebookfinal.com/download/python-machine-learning-second-
edition-sebastian-raschka/

Python Machine Learning by Example Yuxi (Hayden) Liu

https://ebookfinal.com/download/python-machine-learning-by-example-
yuxi-hayden-liu/

Deep Learning for Finance Creating Machine Deep Learning


Models for Trading in Python 1st Edition Kaabar

https://ebookfinal.com/download/deep-learning-for-finance-creating-
machine-deep-learning-models-for-trading-in-python-1st-edition-kaabar/

Deep Learning with Python 2nd Edition François Chollet

https://ebookfinal.com/download/deep-learning-with-python-2nd-edition-
francois-chollet/

Fraud analytics using descriptive predictive and social


network techniques a guide to data science for fraud
detection 1st Edition Bart Baesens
https://ebookfinal.com/download/fraud-analytics-using-descriptive-
predictive-and-social-network-techniques-a-guide-to-data-science-for-
fraud-detection-1st-edition-bart-baesens/
Machine Learning with Spark and Python Essential
Techniques for Predictive Analytics 2nd Edition Michael
Bowles Digital Instant Download
Author(s): Michael Bowles
ISBN(s): 9781119561934, 1119561930
Edition: 2nd
File Details: PDF, 7.37 MB
Year: 2020
Language: english
Machine Learning with
Spark™ and Python®
Machine Learning with
Spark™ and Python®
Essential Techniques for
Predictive Analytics

Second Edition

Michael Bowles
Machine Learning with Spark™ and Python®: Essential Techniques for Predictive Analytics, Second Edition

Published by
John Wiley & Sons, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com

Copyright © 2020 by John Wiley & Sons, Inc., Indianapolis, Indiana


Published simultaneously in Canada

ISBN: 978‐1‐119‐56193‐4
ISBN: 978‐1‐119‐56201‐6 (ebk)
ISBN: 978‐1‐119‐56195‐8 (ebk)

Manufactured in the United States of America

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or
by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted
under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission
of the Publisher, or authorization through payment of the appropriate per‐copy fee to the Copyright Clear-
ance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750‐8400, fax (978) 646‐8600. Requests to the
Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111
River Street, Hoboken, NJ 07030, (201) 748‐6011, fax (201) 748‐6008, or online at http://www.wiley.com/
go/permissions.

Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or war-
ranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all
warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be
created or extended by sales or promotional materials. The advice and strategies contained herein may not
be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in
rendering legal, accounting, or other professional services. If professional assistance is required, the services
of a competent professional person should be sought. Neither the publisher nor the author shall be liable for
damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation
and/or a potential source of further information does not mean that the author or the publisher endorses
the information the organization or website may provide or recommendations it may make. Further, readers
should be aware that Internet websites listed in this work may have changed or disappeared between when
this work was written and when it is read.

For general information on our other products and services please contact our Customer Care Department
within the United States at (877) 762‐2974, outside the United States at (317) 572‐3993 or fax (317) 572‐4002.

Wiley publishes in a variety of print and electronic formats and by print‐on‐demand. Some material included
with standard print versions of this book may not be included in e‐books or in print‐on‐demand. If this book
refers to media such as a CD or DVD that is not included in the version you purchased, you may down-
load this material at http://booksupport.wiley.com. For more information about Wiley products, visit
www.wiley.com.

Library of Congress Control Number: 2019940771

Trademarks: Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc.
and/or its affiliates, in the United States and other countries, and may not be used without written permis-
sion. Spark is a trademark of the Apache Software Foundation, Inc. Python is a registered trademark of the
Python Software Foundation. All other trademarks are the property of their respective owners. John Wiley &
Sons, Inc. is not associated with any product or vendor mentioned in this book.
I dedicate this book to my expanding family of children and grandchildren, Scott,
Seth, Cayley, Rees, and Lia. Being included in their lives is a constant source of joy for
me. I hope it makes them smile to see their names in print. I also dedicate it to my
close friend Dave, whose friendship remains steadfast in spite of my best efforts.
I hope this makes him smile too.

Mike Bowles, Silicon Valley 2019


About the Author

Dr. Michael Bowles (Mike) holds bachelor’s and master’s degrees in mechanical
engineering, an ScD in instrumentation, and an MBA. He has worked in aca-
demia, technology, and business. Mike currently works with companies where
artificial intelligence or machine learning are integral to success. He serves var-
iously as part of the management team, a consultant, or advisor. He also teaches
machine learning courses at UC Berkeley and Hacker Dojo, a co-working space
and startup incubator in Mountain View, CA.
Mike was born in Oklahoma and took his bachelor’s and master’s degrees
there, then after a stint in Southeast Asia went to Cambridge for ScD and C.
Stark Draper Chair at MIT after graduation. Mike left Boston to work on com-
munications satellites at Hughes Aircraft Company in Southern California, and
then after completing an MBA at UCLA moved to the San Francisco Bay Area
to take roles as founder and CEO of two successful venture-backed startups.
Mike remains actively involved in technical and startup-related work. Recent
projects include the use of machine learning in industrial inspection and auto-
mation, financial prediction, predicting biological outcomes on the basis of
molecular graph structures, and financial risk estimation. He has participated
in due diligence work on companies in the artificial intelligence and machine
learning arenas. Mike can be reached through mbowles.com.

vii
About the Technical Editor

James York-Winegar is an Infrastructure Principal with Accenture Enkitec


Group. James helps companies of all sizes from startups to enterprises with their
data lifecycle by helping them bridge the gap between systems management
and data science. He started his career in physics, where he did large-scale
quantum chemistry simulations on supercomputers, and went into technology.
He holds a master’s in Data Science from Berkeley.

ix
Acknowledgments

I’d like to acknowledge the splendid support that people at Wiley have offered
during the course of writing this book and making the revisions for this second
edition. It began with Robert Elliot, the acquisitions editor who first contacted me
about writing a book—very easy to work with. Tom Dinse has done a splendid
job editing this second edition. He’s been responsive, thorough, flexible, and
completely professional, as I’ve come to expect from Wiley. I thank you.
I’d also like to acknowledge the enormous comfort that comes from having
such a quick, capable computer scientist as James Winegar doing the technical
editing on the book. James has brought a more consistent style and has made
a number of improvements that will make the code that comes along with the
book easier to use and understand. Thank you for that.
The example problems used in the book come from the University of California
at Irvine’s data repository. UCI does the machine learning community a great
service by gathering these data sets, curating them, and making them freely
available. The reference for this material is:
Bache, K. & Lichman, M. (2013). UCI Machine Learning Repository (http://
archive.ics.uci.edu/ml). Irvine, CA: University of California, School of
Information and Computer Science.

xi
Contents at a Glance

Introductionxxi
Chapter 1 The Two Essential Algorithms for Making Predictions 1
Chapter 2 Understand the Problem by Understanding the Data 23
Chapter 3 Predictive Model Building: Balancing Performance,
Complexity, and Big Data 77
Chapter 4 Penalized Linear Regression 129
Chapter 5 Building Predictive Models Using Penalized Linear Methods 169
Chapter 6 Ensemble Methods 221
Chapter 7 Building Ensemble Models with Python 265
Index 329

xiii
Contents

Introductionxxi
Chapter 1 The Two Essential Algorithms for Making Predictions 1
Why Are These Two Algorithms So Useful? 2
What Are Penalized Regression Methods? 7
What Are Ensemble Methods? 9
How to Decide Which Algorithm to Use 11
The Process Steps for Building a Predictive Model 13
Framing a Machine Learning Problem 15
Feature Extraction and Feature Engineering 17
Determining Performance of a Trained Model 18
Chapter Contents and Dependencies 18
Summary20
Chapter 2 Understand the Problem by Understanding the Data 23
The Anatomy of a New Problem 24
Different Types of Attributes and Labels Drive
Modeling Choices 26
Things to Notice about Your New Data Set 27
Classification Problems: Detecting Unexploded
Mines Using Sonar 28
Physical Characteristics of the Rocks Versus Mines Data Set 29
Statistical Summaries of the Rocks Versus Mines Data Set 32
Visualization of Outliers Using a Quantile-Quantile Plot 34
Statistical Characterization of Categorical Attributes 35
How to Use Python Pandas to Summarize the Rocks
Versus Mines Data Set 36
Visualizing Properties of the Rocks Versus Mines Data Set 39
Visualizing with Parallel Coordinates Plots 39
Visualizing Interrelationships between Attributes and Labels 41

xv
xvi Contents

Visualizing Attribute and Label Correlations Using a Heat Map 48


Summarizing the Process for Understanding the Rocks Versus
Mines Data Set 50
Real-Valued Predictions with Factor Variables: How Old Is
Your Abalone? 50
Parallel Coordinates for Regression Problems—Visualize
Variable Relationships for the Abalone Problem 55
How to Use a Correlation Heat Map for Regression—
Visualize Pair-Wise Correlations for the Abalone Problem 59
Real-Valued Predictions Using Real-Valued Attributes:
Calculate How Your Wine Tastes 61
Multiclass Classification Problem: What Type of Glass Is That? 67
Using PySpark to Understand Large Data Sets 72
Summary75
Chapter 3 Predictive Model Building: Balancing Performance,
Complexity, and Big Data 77
The Basic Problem: Understanding Function Approximation 78
Working with Training Data 79
Assessing Performance of Predictive Models 81
Factors Driving Algorithm Choices and
Performance—Complexity and Data 82
Contrast between a Simple Problem and a Complex Problem 82
Contrast between a Simple Model and a Complex Model 85
Factors Driving Predictive Algorithm Performance 89
Choosing an Algorithm: Linear or Nonlinear? 90
Measuring the Performance of Predictive Models 91
Performance Measures for Different Types of Problems 91
Simulating Performance of Deployed Models 105
Achieving Harmony between Model and Data 107
Choosing a Model to Balance Problem Complexity, Model
Complexity, and Data Set Size 107
Using Forward Stepwise Regression to Control Overfitting 109
Evaluating and Understanding Your Predictive Model 114
Control Overfitting by Penalizing Regression
Coefficients—Ridge Regression 116
Using PySpark for Training Penalized Regression Models on
Extremely Large Data Sets 124
Summary127
Chapter 4 Penalized Linear Regression 129
Why Penalized Linear Regression Methods Are So Useful 130
Extremely Fast Coefficient Estimation 130
Variable Importance Information 131
Extremely Fast Evaluation When Deployed 131
Reliable Performance 131
Sparse Solutions 132
Contents xvii

Problem May Require Linear Model 132


When to Use Ensemble Methods 132
Penalized Linear Regression: Regulating Linear Regression
for Optimum Performance 132
Training Linear Models: Minimizing Errors and More 135
Adding a Coefficient Penalty to the OLS Formulation 136
Other Useful Coefficient Penalties—Manhattan and
ElasticNet137
Why Lasso Penalty Leads to Sparse Coefficient Vectors 138
ElasticNet Penalty Includes Both Lasso and Ridge 140
Solving the Penalized Linear Regression Problem 141
Understanding Least Angle Regression and Its
Relationship to Forward Stepwise Regression 141
How LARS Generates Hundreds of Models of Varying
Complexity145
Choosing the Best Model from the Hundreds
LARS Generates 147
Using Glmnet: Very Fast and Very General 152
Comparison of the Mechanics of Glmnet and
LARS Algorithms 153
Initializing and Iterating the Glmnet Algorithm 153
Extension of Linear Regression to Classification Problems 157
Solving Classification Problems with Penalized Regression 157
Working with Classification Problems Having More
Than Two Outcomes 161
Understanding Basis Expansion: Using Linear
Methods on Nonlinear Problems 161
Incorporating Non-Numeric Attributes into Linear Methods 163
Summary 166
Chapter 5 Building Predictive Models Using Penalized Linear Methods 169
Python Packages for Penalized Linear Regression 170
Multivariable Regression: Predicting Wine Taste 171
Building and Testing a Model to Predict Wine Taste 172
Training on the Whole Data Set before Deployment 175
Basis Expansion: Improving Performance by
Creating New Variables from Old Ones 179
Binary Classification: Using Penalized Linear
Regression to Detect Unexploded Mines 182
Build a Rocks Versus Mines Classifier for Deployment 191
Multiclass Classification: Classifying Crime Scene
Glass Samples 200
Linear Regression and Classification Using PySpark 203
Using PySpark to Predict Wine Taste 204
Logistic Regression with PySpark: Rocks Versus Mines 208
Incorporating Categorical Variables in a
PySpark Model: Predicting Abalone Rings 213
xviii Contents

Multiclass Logistic Regression with Meta


Parameter Optimization 217
Summary219
Chapter 6 Ensemble Methods 221
Binary Decision Trees 222
How a Binary Decision Tree Generates Predictions 224
How to Train a Binary Decision Tree 225
Tree Training Equals Split Point Selection 227
How Split Point Selection Affects Predictions 228
Algorithm for Selecting Split Points 229
Multivariable Tree Training—Which Attribute to Split? 229
Recursive Splitting for More Tree Depth 230
Overfitting Binary Trees 231
Measuring Overfit with Binary Trees 231
Balancing Binary Tree Complexity for Best Performance 232
Modifications for Classification and Categorical Features 235
Bootstrap Aggregation: “Bagging” 235
How Does the Bagging Algorithm Work? 236
Bagging Performance—Bias Versus Variance 239
How Bagging Behaves on Multivariable Problem 241
Bagging Needs Tree Depth for Performance 245
Summary of Bagging 246
Gradient Boosting 246
Basic Principle of Gradient Boosting Algorithm 246
Parameter Settings for Gradient Boosting 249
How Gradient Boosting Iterates toward a Predictive Model 249
Getting the Best Performance from Gradient Boosting 250
Gradient Boosting on a Multivariable Problem 253
Summary for Gradient Boosting 256
Random Forests 256
Random Forests: Bagging Plus Random Attribute Subsets 259
Random Forests Performance Drivers 260
Random Forests Summary 261
Summary262
Chapter 7 Building Ensemble Models with Python 265
Solving Regression Problems with Python Ensemble
Packages265
Using Gradient Boosting to Predict Wine Taste 266
Using the Class Constructor for
GradientBoostingRegressor266
Using GradientBoostingRegressor to Implement a
Regression Model 268
Assessing the Performance of a Gradient Boosting Model 271
Building a Random Forest Model to Predict Wine Taste 272
Constructing a RandomForestRegressor Object 273
Contents xix

Modeling Wine Taste with RandomForestRegressor 275


Visualizing the Performance of a Random Forest
Regression Model 279
Incorporating Non-Numeric Attributes in Python
Ensemble Models 279
Coding the Sex of Abalone for Gradient Boosting
Regression in Python 280
Assessing Performance and the Importance of Coded
Variables with Gradient Boosting 282
Coding the Sex of Abalone for Input to Random Forest
Regression in Python 284
Assessing Performance and the Importance of
Coded Variables 287
Solving Binary Classification Problems with Python
Ensemble Methods 288
Detecting Unexploded Mines with Python
Gradient Boosting 288
Determining the Performance of a Gradient
Boosting Classifier 291
Detecting Unexploded Mines with Python Random Forest 292
Constructing a Random Forest Model to Detect
Unexploded Mines 294
Determining the Performance of a Random Forest Classifier 298
Solving Multiclass Classification Problems with
Python Ensemble Methods 300
Dealing with Class Imbalances 301
Classifying Glass Using Gradient Boosting 301
Determining the Performance of the Gradient Boosting
Model on Glass Classification 306
Classifying Glass with Random Forests 307
Determining the Performance of the Random Forest
Model on Glass Classification 310
Solving Regression Problems with PySpark Ensemble
Packages311
Predicting Wine Taste with PySpark Ensemble Methods 312
Predicting Abalone Age with PySpark Ensemble Methods 317
Distinguishing Mines from Rocks with PySpark
Ensemble Methods 321
Identifying Glass Types with PySpark Ensemble Methods 325
Summary327
Index329
Discovering Diverse Content Through
Random Scribd Documents
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning
of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the Project
Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for


the “Right of Replacement or Refund” described in paragraph 1.F.3,
the Project Gutenberg Literary Archive Foundation, the owner of the
Project Gutenberg™ trademark, and any other party distributing a
Project Gutenberg™ electronic work under this agreement, disclaim
all liability to you for damages, costs and expenses, including legal
fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR
NEGLIGENCE, STRICT LIABILITY, BREACH OF WARRANTY OR
BREACH OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE TRADEMARK
OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL
NOT BE LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE OR INCIDENTAL DAMAGES EVEN IF
YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving
it, you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or
entity that provided you with the defective work may elect to provide
a replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation,


the trademark owner, any agent or employee of the Foundation,
anyone providing copies of Project Gutenberg™ electronic works in
accordance with this agreement, and any volunteers associated with
the production, promotion and distribution of Project Gutenberg™
electronic works, harmless from all liability, costs and expenses,
including legal fees, that arise directly or indirectly from any of the
following which you do or cause to occur: (a) distribution of this or
any Project Gutenberg™ work, (b) alteration, modification, or
additions or deletions to any Project Gutenberg™ work, and (c) any
Defect you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many
small donations ($1 to $5,000) are particularly important to
maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.
Project Gutenberg™ eBooks are often created from several printed
editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookfinal.com

You might also like