0% found this document useful (0 votes)
7 views

Instant ebooks textbook (Ebook) Python data science cookbook : over 60 practical recipes to help you explore Python and its robust data science capabilities by Subramanian, Gopi ISBN 9781784393663, 9781784396404, 1784393665, 1784396400 download all chapters

The document promotes the 'Python Data Science Cookbook' by Gopi Subramanian, which contains over 60 practical recipes for exploring Python's data science capabilities. It provides links to download the ebook and other related titles available on ebooknice.com. The book covers various topics including data analysis, machine learning, and data mining, aimed at enhancing the reader's skills in data science using Python.

Uploaded by

gembrogalbam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Instant ebooks textbook (Ebook) Python data science cookbook : over 60 practical recipes to help you explore Python and its robust data science capabilities by Subramanian, Gopi ISBN 9781784393663, 9781784396404, 1784393665, 1784396400 download all chapters

The document promotes the 'Python Data Science Cookbook' by Gopi Subramanian, which contains over 60 practical recipes for exploring Python's data science capabilities. It provides links to download the ebook and other related titles available on ebooknice.com. The book covers various topics including data analysis, machine learning, and data mining, aimed at enhancing the reader's skills in data science using Python.

Uploaded by

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

Visit https://ebooknice.

com to download the full version and


explore more ebooks

(Ebook) Python data science cookbook : over 60


practical recipes to help you explore Python and
its robust data science capabilities by
Subramanian, Gopi ISBN 9781784393663,
9781784396404, 1784393665, 1784396400
_____ Click the link below to download _____
https://ebooknice.com/product/python-data-science-
cookbook-over-60-practical-recipes-to-help-you-explore-
python-and-its-robust-data-science-capabilities-7231838

Explore and download more ebooks at ebooknice.com


Here are some suggested products you might be interested in.
Click the link to download

(Ebook) Biota Grow 2C gather 2C cook by Loucas, Jason; Viles, James


ISBN 9781459699816, 9781743365571, 9781925268492, 1459699815,
1743365578, 1925268497

https://ebooknice.com/product/biota-grow-2c-gather-2c-cook-6661374

(Ebook) Matematik 5000+ Kurs 2c Lärobok by Lena Alfredsson, Hans


Heikne, Sanna Bodemyr ISBN 9789127456600, 9127456609

https://ebooknice.com/product/matematik-5000-kurs-2c-larobok-23848312

(Ebook) SAT II Success MATH 1C and 2C 2002 (Peterson's SAT II Success)


by Peterson's ISBN 9780768906677, 0768906679

https://ebooknice.com/product/sat-ii-success-
math-1c-and-2c-2002-peterson-s-sat-ii-success-1722018

(Ebook) Master SAT II Math 1c and 2c 4th ed (Arco Master the SAT
Subject Test: Math Levels 1 & 2) by Arco ISBN 9780768923049,
0768923042

https://ebooknice.com/product/master-sat-ii-math-1c-and-2c-4th-ed-
arco-master-the-sat-subject-test-math-levels-1-2-2326094
(Ebook) Practical Data Science with Jupyter: Explore Data Cleaning,
Pre-processing, Data Wrangling, Feature Engineering and Machine
Learning using Python and Jupyter (English Edition) by Prateek Gupta
ISBN 9789389898064, 9389898064
https://ebooknice.com/product/practical-data-science-with-jupyter-
explore-data-cleaning-pre-processing-data-wrangling-feature-
engineering-and-machine-learning-using-python-and-jupyter-english-
edition-34713112

(Ebook) Cambridge IGCSE and O Level History Workbook 2C - Depth Study:


the United States, 1919-41 2nd Edition by Benjamin Harrison ISBN
9781398375147, 9781398375048, 1398375144, 1398375047

https://ebooknice.com/product/cambridge-igcse-and-o-level-history-
workbook-2c-depth-study-the-united-states-1919-41-2nd-edition-53538044

(Ebook) Data Science with Python by coll.

https://ebooknice.com/product/data-science-with-python-6855552

(Ebook) Data Science Essentials in Python: Collect - Organize -


Explore - Predict - Value by Dmitry Zinoviev ISBN 9781680501841,
1680501844

https://ebooknice.com/product/data-science-essentials-in-python-
collect-organize-explore-predict-value-5557572

(Ebook) Data Science Essentials in Python: Collect – Organize –


Explore – Predict – Value by Dmitry Zinoviev ISBN 9781680501841,
1680501844

https://ebooknice.com/product/data-science-essentials-in-python-
collect-organize-explore-predict-value-5903344
Python data science cookbook over 60 practical recipes to
help you explore Python and its robust data science
capabilities Subramanian Digital Instant Download
Author(s): Subramanian, Gopi
ISBN(s): 9781784396404, 1784396400
Edition: Online-Ausg.
File Details: PDF, 7.27 MB
Year: 2015
Language: english
Python Data Science Cookbook
Table of Contents
Python Data Science Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There’s more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Python for Data Science
Introduction
Using dictionary objects
Getting ready
How to do it…
How it works…
There’s more…
See also
Working with a dictionary of dictionaries
Getting ready
How to do it…
How it works…
See also
Working with tuples
Getting ready
How to do it…
How it works…
There’s more…
See also
Using sets
Getting ready
How to do it…
How it works…
There’s more…
Writing a list
Getting ready
How to do it…
How it works…
There’s more…
Creating a list from another list - list comprehension
Getting ready
How to do it…
How it works…
There’s more…
Using iterators
Getting ready
How to do it…
How it works…
There’s more…
Generating an iterator and a generator
Getting ready
How it do it…
How it works…
There’s more…
Using iterables
Getting ready
How to do it…
How it works..
See also
Passing a function as a variable
Getting ready
How to do it…
How it works…
Embedding functions in another function
Getting ready
How to do it…
How it works…
Passing a function as a parameter
Getting ready
How to do it…
How it works…
Returning a function
Getting ready
How to do it…
How it works…
There’s more…
Altering the function behavior with decorators
Getting ready
How to do it…
How it works…
Creating anonymous functions with lambda
Getting ready
How to do it…
How it works…
Using the map function
Getting ready
How to do it…
How it works…
There’s more…
Working with filters
Getting ready
How to do it…
How it works…
Using zip and izip
Getting ready
How to do it…
How it works…
There’s more…
See also
Processing arrays from the tabular data
Getting ready
How to do it…
How it works…
There’s more…
Preprocessing the columns
Getting ready
How to do it…
How it works…
There’s more…
Sorting lists
Getting ready
How to do it…
How it works…
There’s more…
Sorting with a key
Getting ready
How to do it…
How it works…
There’s more…
Working with itertools
Getting ready
How to do it…
How it works…
2. Python Environments
Introduction
Using NumPy libraries
Getting ready
How to do it…
How it works…
There’s more…
See also
Plotting with matplotlib
Getting ready
How to do it…
How it works…
There’s more…
Machine learning with scikit-learn
Getting ready
How to do it…
How it works…
There’s more…
See also
3. Data Analysis – Explore and Wrangle
Introduction
Analyzing univariate data graphically
Getting ready
How to do it…
How it works…
See also
Grouping the data and using dot plots
Getting ready
How to do it…
How it works…
See also
Using scatter plots for multivariate data
Getting ready
How to do it…
How it works…
See also
Using heat maps
Getting ready
How to do it…
How it works…
There’s more…
See also
Performing summary statistics and plots
Getting ready
How to do it…
How it works…
See also
Using a box-and-whisker plot
Getting ready
How to do it…
How it works…
There’s more…
Imputing the data
Getting ready
How to do it…
How it works…
There’s more…
See also
Performing random sampling
Getting ready
How to do it…
How it works…
There’s more…
Stratified sampling
Progressive sampling
Scaling the data
Getting ready
How to do it…
How it works…
There’s more…
Standardizing the data
Getting ready
How to do it…
How it works…
There’s more…
Performing tokenization
Getting ready
How to do it…
How it works…
There’s more…
See also
Removing stop words
How to do it…
How it works…
There’s more…
See also
Stemming the words
Getting ready
How to do it…
How it works…
There’s more…
See also
Performing word lemmatization
Getting ready
How to do it…
How it works…
There’s more…
See also
Representing the text as a bag of words
Getting ready
How to do it…
How it works…
There’s more…
See also
Calculating term frequencies and inverse document frequencies
Getting ready
How to do it…
How it works…
There’s more…
4. Data Analysis – Deep Dive
Introduction
Matrix Decomposition:
Extracting the principal components
Getting ready
How to do it…
How it works…
There’s more…
See also
Using Kernel PCA
Getting ready
How to do it…
How it works…
There’s more…
Extracting features using singular value decomposition
Getting ready
How to do it…
How it works…
There’s more…
Reducing the data dimension with random projection
Getting ready
How to do it…
How it works…
There’s more…
See also
Decomposing the feature matrices using non-negative matrix factorization
Getting ready
How to do it…
How it works…
There’s more…
See also
5. Data Mining – Needle in a Haystack
Introduction
Working with distance measures
Getting ready
How to do it…
How it works…
There’s more…
See also
Learning and using kernel methods
Getting ready
How to do it…
How it works…
There’s more…
See also
Clustering data using the k-means method
Getting ready
How to do it…
How it works…
There’s more…
See also
Learning vector quantization
Getting ready
How to do it…
How it works…
There’s more…
See also
Finding outliers in univariate data
Getting ready
How to do it…
How it works…
There’s more…
See also
Discovering outliers using the local outlier factor method
Getting ready
How to do it…
How it works…
There’s more…
6. Machine Learning 1
Introduction
Preparing data for model building
Getting ready
How to do it…
How it works…
There’s more…
Finding the nearest neighbors
Getting ready
How to do it…
How it works…
There’s more…
See also
Classifying documents using Naïve Bayes
Getting ready
How to do it…
How it works…
There’s more…
See also
Building decision trees to solve multiclass problems
Getting ready
How to do it…
How it works…
There’s more…
See also
7. Machine Learning 2
Introduction
Predicting real-valued numbers using regression
Getting ready
How to do it…
How it works…
There’s more…
See also
Learning regression with L2 shrinkage – ridge
Getting ready
How to do it…
How it works…
There’s more…
See also
Learning regression with L1 shrinkage – LASSO
Getting ready
How to do it…
How it works…
There’s more…
See also
Using cross-validation iterators with L1 and L2 shrinkage
Getting ready
How to do it…
How it works…
There’s more…
See also
8. Ensemble Methods
Introduction
Understanding Ensemble – Bagging Method
Getting ready…
How to do it
How it works…
There’s more…
See also
Understanding Ensemble – Boosting Method
Getting Started…
How to do it
How it works…
There’s more…
See also
Understanding Ensemble – Gradient Boosting
Getting Started…
How to do it
How it works…
There’s more…
See also
9. Growing Trees
Introduction
Going from trees to Forest – Random Forest
Getting ready
How to do it…
How it works…
There’s more…
See also
Growing Extremely Randomized Trees
Getting ready…
How to do it…
How it works…
There’s more…
See also
Growing Rotational Forest
Getting ready…
How to do it…
How it works…
There’s more…
See also
10. Large-Scale Machine Learning – Online Learning
Introduction
Using perceptron as an online learning algorithm
Getting ready
How to do it…
How it works…
There’s more…
See also
Using stochastic gradient descent for regression
Getting ready
How to do it…
How it works…
There’s more…
See also
Using stochastic gradient descent for classification
Getting ready
How to do it…
How it works…
There’s more…
See also
Index
Python Data Science Cookbook
Python Data Science Cookbook
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: November 2015
Production reference: 1041115
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-640-4
www.packtpub.com
Credits
Author
Gopi Subramanian
Reviewer
Bastiaan Sjardin
Commissioning Editor
Akram Hussain
Acquisition Editor
Nikhil Karkal
Content Development Editor
Siddhesh Salvi
Technical Editor
Danish Shaikh
Copy Editor
Tasneem Fatehi
Project Coordinator
Kranti Berde
Proofreader
Safis Editing
Indexer
Mariammal Chettiyar
Graphics
Disha Haria
Production Coordinator
Nilesh Mohite
Cover Work
Nilesh Mohite
About the Author
Gopi Subramanian is a data scientist with over 15 years of experience in the field of data
mining and machine learning. During the past decade, he has designed, conceived,
developed, and led data mining, text mining, natural language processing, information
extraction and retrieval, and search systems for various domains and business verticals,
including engineering infrastructure, consumer finance, healthcare, and materials. In the
loyalty domain, he has conceived and built innovative consumer loyalty models and
designed enterprise-wide systems for personalized promotions. He has filed over ten
patent applications at the US and Indian patent office and has several publications to his
credit. He currently lives and works in Bangaluru, India.
About the Reviewer
Bastiaan Sjardin is a data scientist and entrepreneur with a background in artificial
intelligence, mathematics, and machine learning. He has an MSc degree in cognitive
science and mathematical statistics from the University of Leiden. In the past 5 years, he
has worked on a wide range of data science projects. He is a frequent community TA at
Coursera in the social network analysis course from the University of Michigan and the
practical machine learning course from Johns Hopkins University. His programming
language of choice is R and Python. Currently, he is the cofounder of Quandbee
(www.quandbee.com), a company specializing in machine learning applications.
www.PacktPub.com
Support files, eBooks, discount offers, and
more
For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and
ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as
a print book customer, you are entitled to a discount on the eBook copy. Get in touch with
us at <[email protected]> for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up
for a range of free newsletters and receive exclusive discounts and offers on Packt books
and eBooks.

https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt’s online digital
book library. Here, you can search, access, and readPackt’s entire library of books.
Why Subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Free Access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access
PacktLib today and view 9 entirely free books. Simply use your login credentials for
immediate access.
Preface
Today, we live in a world of connected things where tons of data is generated and it is
humanly impossible to analyze all the incoming data and make decisions. Human
decisions are increasingly replaced by decisions made by computers. Thanks to the field
of data science. Data science has penetrated deeply in our connected world and there is a
growing demand in the market for people who not only understand data science
algorithms thoroughly, but are also capable of programming these algorithms. Data
science is a field that is at the intersection of many fields, including data mining, machine
learning, and statistics, to name a few. This puts an immense burden on all levels of data
scientists; from the one who is aspiring to become a data scientist and those who are
currently practitioners in this field. Treating these algorithms as a black box and using
them in decision-making systems will lead to counterproductive results. With tons of
algorithms and innumerable problems out there, it requires a good grasp of the underlying
algorithms in order to choose the best one for any given problem.
Python as a programming language has evolved over the years and today, it is the number
one choice for a data scientist. Its ability to act as a scripting language for quick prototype
building and its sophisticated language constructs for full-fledged software development
combined with its fantastic library support for numeric computations has led to its current
popularity among data scientists and the general scientific programming community. Not
just that, Python is also popular among web developers; thanks to frameworks such as
Django and Flask.
This book has been carefully written to cater to the needs of a diverse range of data
scientists—starting from novice data scientists to experienced ones—through carefully
crafted recipes, which touch upon the different aspects of data science, including data
exploration, data analysis and mining, machine learning, and large scale machine learning.
Each chapter has been carefully crafted with recipes exploring these aspects. Sufficient
math has been provided for the readers to understand the functioning of the algorithms in
depth. Wherever necessary, enough references are provided for the curious readers. The
recipes are written in such a way that they are easy to follow and understand.
This book brings the art of data science with power Python programming to the readers
and helps them master the concepts of data science. Knowledge of Python is not
mandatory to follow this book. Non-Python programmers can refer to the first chapter,
which introduces the Python data structures and function programming concepts.
The early chapters cover the basics of data science and the later chapters are dedicated to
advanced data science algorithms. State-of-the-art algorithms that are currently used in
practice by leading data scientists across industries including the ensemble methods,
random forest, regression with regularization, and others are covered in detail. Some of
the algorithms that are popular in academia and still not widely introduced to the
mainstream such as rotational forest are covered in detail.
With a lot of do-it-yourself books on data science today in the market, we feel that there is
a gap in terms of covering the right mix of math philosophy behind the data science
algorithms and implementation details. This book is an attempt to fill this gap. With each
recipe, just enough math introductions are provided to contemplate how the algorithm
works; I believe that the readers can take full benefits of these methods in their
applications.
A word of caution though is that these recipes are written with the objective of explaining
the data science algorithms to the reader. They have not been hard-tested in extreme
conditions in order to be production ready. Production-ready data science code has to go
through a rigorous engineering pipeline.
This book can be used both as a guide to learn data science methods and quick references.
It is a self-contained book to introduce data science to a new reader with little
programming background and help them become experts in this trade.
What this book covers
Chapter 1, Python for Data Science, introduces Python’s built-in data structures and
functions, which are very handy for data science programming.
Chapter 2, Python Environments, introduces Python’s scientific programming and plotting
libraries, including NumPy, matplotlib, and scikit-learn.
Chapter 3, Data Analysis – Explore and wrangle, covers data preprocessing and
transformation routines to perform exploratory data analysis tasks in order to efficiently
build data science algorithms.
Chapter 4, Data Analysis – Deep Dive, introduces the concept of dimensionality reduction
in order to tackle the curse of dimensionality issues in data science. Starting with simple
methods and moving on to the advanced state-of-the-art dimensionality reduction
techniques are discussed in detail.
Chapter 5, Data Mining – Needle in a haystack Name, discusses unsupervised data mining
techniques, starting with elaborate discussions on distance methods and kernel methods
and following it up with clustering and outlier detection techniques.
Chapter 6, Machine Learning 1, covers supervised data mining techniques, including
nearest neighbors, Naïve Bayes, and classification trees. In the beginning, we will lay a
heavy emphasis on data preparation for supervised learning.
Chapter 7, Machine Learning 2, introduces regression problems and follows it up with
topics on regularization including LASSO and ridge. Finally, we will discuss cross-
validation techniques as a way to choose hyperparameters for these methods.
Chapter 8, Ensemble Methods, introduces various ensemble techniques including bagging,
boosting, and gradient boosting This chapter shows you how to make a powerful state-of-
the-art method in data science where, instead of building a single model for a given
problem, an ensemble or a bag of models are built.
Chapter 9, Growing Trees, introduces some more bagging methods based on tree-based
algorithms. Due to their robustness to noise and universal applicability to a variety of
problems, they are very popular among the data science community.
Chapter 10, Large scale machine learning – Online Learning, covers large scale machine
learning and algorithms suited to tackle such large scale problems. This includes
algorithms that work with streaming data and data that cannot be fitted into memory
completely.
What you need for this book
All the recipes in this book were developed and tested on an 8 GB machine with Intel i7
CPU running Windows 7 64-bit software.
Python 2.7.5, NumPy 1.8.0, SciPy 0.13.2, Matplotlib 1.3.1, NLTK 3.0.2, and scikit-learn
0.15.2 versions were used for the developing methods.
The same code should work on Linux variants and Macs with the appropriate libraries
mentioned here. Alternatively, a Python virtual environment can be created with the
version of these libraries and you can run all the recipes.
Who this book is for
This book is intended for all levels of data science professionals, both students and
practitioners from novice to experts. Different recipes in the chapters cater to the needs of
different audiences. Novice readers can spend some time in getting themselves acquainted
with data science in the first five chapters. Experts can refer to the later chapters to
refer/understand how advanced techniques are implemented using Python. The book
covers just enough mathematics and provides the necessary references for computer
programmers who wish to understand data science. People from a non-Python background
can effectively use this book. The first chapter of the book introduces Python as a
programming language for data science. It will be helpful if you have some prior basic
programming experience. The book is mostly self-contained and introduces data science
to a new reader and can help him become an expert in this trade.
Sections
In this book, you will find several headings that appear frequently (Getting ready, How to
do it, How it works, There’s more, and See also).
To give clear instructions on how to complete a recipe, we use these sections as follows:
Getting ready
This section tells you what to expect in the recipe, and describes how to set up any
software or any preliminary settings required for the recipe.
How to do it…
This section contains the steps required to follow the recipe.
How it works…
This section usually consists of a detailed explanation of what happened in the previous
section.
Exploring the Variety of Random
Documents with Different Content
THE SLAVE MINGO’S POEM.
To the Editor of the Boston Journal:
[The following remarkable poem was sent me from the
South by a friend, who informs me that the author of it was
a slave named Mingo, a man of wonderful talents, and on
that account oppressed by his master. While in the slave-
prison, he penciled this poetic gem on one of the beams,
which was afterwards found and copied. My friend adds
that Mingo did escape, at night, but was recaptured and
destroyed by the bloodhounds. My friend promises to
send other poems of his, which, he says, are in
possession of Mingo’s aged wife.]
C. W.

Good God! and must I leave them now—


My wife, my children, in their woe?
’Tis mockery to say I’m sold—
But I forget these chains so cold,
Which goad my bleeding limbs, though high
My reason mounts above the sky.
Dear wife, they cannot sell the rose
Of love, that in my bosom glows.
Remember, as your tears may start,
They cannot sell th’ immortal part!
Thou sun, which lightest bond and free,
Tell me, I pray, is liberty
The lot of those who noblest feel,
And oftest to Jehovah kneel?
Then I may say, but not with pride,
I feel the rushings of the tide
Of reason and of eloquence,
Which strive and yearn for eminence.
I feel high manhood on me now,
A spirit-glory on my brow;
I feel a thrill of music roll,
Like angel harpings, through my soul,
While poesy, with rustling wings,
Upon my spirit rests and sings;
He sweeps my heart’s deep throbbing lyre,
Who touched Isaiah’s lips with fire.

To Plymouth Rock, ye breezes, bear


These words from me, as I would dare,
If I were free: Is not our God
Our common Father?—from the sod
He formed us all; then brothers—yes;
We’re brothers all, though some oppress,
And grind their equals in the dust.
O Heaven! tell me, is this just?
’Tis fiendish. No! I will not go,
And leave my children here in woe!
God help me! Out, bright dagger! gleam,
And find the coward’s heart, and stream
With fiendish blood! This night, this night,
Or I am free, or it shall smite
The master and his slave, and we
Will seek the heavenly liberty!
There will my master’s bloody lash
No longer lacerate * * *

Note. The last line was, from some cause, incomplete;


perhaps his feelings overcame him at the conception. I
concluded to give it as it was. C. W.
TRANSCRIBER’S NOTES:
Obvious typographical errors have been corrected.
Inconsistencies in hyphenation have been
standardized.
Archaic or variant spelling has been retained.
The cover image for this eBook was created by the
transcriber and is entered into the public domain.
*** END OF THE PROJECT GUTENBERG EBOOK THE SLAVE-
AUCTION ***

Updated editions will replace the previous one—the old editions


will be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright
in these works, so the Foundation (and you!) can copy and
distribute it in the United States without permission and without
paying copyright royalties. Special rules, set forth in the General
Terms of Use part of this license, apply to copying and
distributing Project Gutenberg™ electronic works to protect the
PROJECT GUTENBERG™ concept and trademark. Project
Gutenberg is a registered trademark, and may not be used if
you charge for an eBook, except by following the terms of the
trademark license, including paying royalties for use of the
Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such
as creation of derivative works, reports, performances and
research. Project Gutenberg eBooks may be modified and
printed and given away—you may do practically ANYTHING in
the United States with eBooks not protected by U.S. copyright
law. Redistribution is subject to the trademark license, especially
commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the


free distribution of electronic works, by using or distributing this
work (or any other work associated in any way with the phrase
“Project Gutenberg”), you agree to comply with all the terms of
the Full Project Gutenberg™ License available with this file or
online at www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand,
agree to and accept all the terms of this license and intellectual
property (trademark/copyright) agreement. If you do not agree to
abide by all the terms of this agreement, you must cease using
and return or destroy all copies of Project Gutenberg™
electronic works in your possession. If you paid a fee for
obtaining a copy of or access to a Project Gutenberg™
electronic work and you do not agree to be bound by the terms
of this agreement, you may obtain a refund from the person or
entity to whom you paid the fee as set forth in paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only


be used on or associated in any way with an electronic work by
people who agree to be bound by the terms of this agreement.
There are a few things that you can do with most Project
Gutenberg™ electronic works even without complying with the
full terms of this agreement. See paragraph 1.C below. There
are a lot of things you can do with Project Gutenberg™
electronic works if you follow the terms of this agreement and
help preserve free future access to Project Gutenberg™
electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright
law in the United States and you are located in the United
States, we do not claim a right to prevent you from copying,
distributing, performing, displaying or creating derivative works
based on the work as long as all references to Project
Gutenberg are removed. Of course, we hope that you will
support the Project Gutenberg™ mission of promoting free
access to electronic works by freely sharing Project
Gutenberg™ works in compliance with the terms of this
agreement for keeping the Project Gutenberg™ name
associated with the work. You can easily comply with the terms
of this agreement by keeping this work in the same format with
its attached full Project Gutenberg™ License when you share it
without charge with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.

1.E. Unless you have removed all references to Project


Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project
Gutenberg™ work (any work on which the phrase “Project
Gutenberg” appears, or with which the phrase “Project
Gutenberg” is associated) is accessed, displayed, performed,
viewed, copied or distributed:

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!

ebooknice.com

You might also like