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

Instant Download Python machine learning blueprints intuitive data projects you can relate to an approachable guide to applying advanced machine learning methods to everyday problems Alexander T. Combs PDF All Chapters

machine

Uploaded by

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

Instant Download Python machine learning blueprints intuitive data projects you can relate to an approachable guide to applying advanced machine learning methods to everyday problems Alexander T. Combs PDF All Chapters

machine

Uploaded by

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

Download the Full Version of textbook for Fast Typing at textbookfull.

com

Python machine learning blueprints intuitive data


projects you can relate to an approachable guide
to applying advanced machine learning methods to
everyday problems Alexander T. Combs
https://textbookfull.com/product/python-machine-learning-
blueprints-intuitive-data-projects-you-can-relate-to-an-
approachable-guide-to-applying-advanced-machine-learning-
methods-to-everyday-problems-alexander-t-combs/

OR CLICK BUTTON

DOWNLOAD NOW

Download More textbook Instantly Today - Get Yours Now at textbookfull.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

Python Real World Machine Learning: Real World Machine


Learning: Take your Python Machine learning skills to the
next level 1st Edition Joshi
https://textbookfull.com/product/python-real-world-machine-learning-
real-world-machine-learning-take-your-python-machine-learning-skills-
to-the-next-level-1st-edition-joshi/
textboxfull.com

Introduction to Machine Learning with Python A Guide for


Data Scientists Andreas C. Müller

https://textbookfull.com/product/introduction-to-machine-learning-
with-python-a-guide-for-data-scientists-andreas-c-muller/

textboxfull.com

Statistical Methods for Machine Learning: Discover How to


Transform Data into Knowledge with Python Jason Brownlee

https://textbookfull.com/product/statistical-methods-for-machine-
learning-discover-how-to-transform-data-into-knowledge-with-python-
jason-brownlee/
textboxfull.com

Advanced Data Analytics Using Python: With Machine


Learning, Deep Learning and NLP Examples Mukhopadhyay

https://textbookfull.com/product/advanced-data-analytics-using-python-
with-machine-learning-deep-learning-and-nlp-examples-mukhopadhyay/

textboxfull.com
Introduction to Machine Learning with Python A Guide for
Data Scientists 1st Edition Andreas C. Müller

https://textbookfull.com/product/introduction-to-machine-learning-
with-python-a-guide-for-data-scientists-1st-edition-andreas-c-muller/

textboxfull.com

ML.NET Revealed: Simple Tools for Applying Machine


Learning to Your Applications Sudipta Mukherjee

https://textbookfull.com/product/ml-net-revealed-simple-tools-for-
applying-machine-learning-to-your-applications-sudipta-mukherjee/

textboxfull.com

Applying Machine Learning for Automated Classification of


Biomedical Data in Subject-Independent Settings Thuy T.
Pham
https://textbookfull.com/product/applying-machine-learning-for-
automated-classification-of-biomedical-data-in-subject-independent-
settings-thuy-t-pham/
textboxfull.com

From Curve Fitting to Machine Learning An Illustrative


Guide to Scientific Data Analysis and Computational
Intelligence 2nd Edition Achim Zielesny
https://textbookfull.com/product/from-curve-fitting-to-machine-
learning-an-illustrative-guide-to-scientific-data-analysis-and-
computational-intelligence-2nd-edition-achim-zielesny/
textboxfull.com

Hands On Unsupervised Learning Using Python How to Build


Applied Machine Learning Solutions from Unlabeled Data 1st
Edition Ankur A. Patel
https://textbookfull.com/product/hands-on-unsupervised-learning-using-
python-how-to-build-applied-machine-learning-solutions-from-unlabeled-
data-1st-edition-ankur-a-patel/
textboxfull.com
Python Machine
Learning Blueprints
Python Machine Learning
Blueprints
Copyright © 2016 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: July 2016

Production reference: 1270716

Published by Packt Publishing Ltd.

Livery Place
35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78439-475-2

www.packtpub.com
Credits

Author Copy Editor

Alexander T. Combs Priyanka Ravi

Reviewer Project Coordinator

Kushal Khandelwal Suzanne Coutinho

Commissioning Editor Proofreader

Kartikey Pandey Safis Editing

Acquisition Editor
Indexer
Vivek Anantharaman
Rekha Nair
Manish Nainani

Content Development Editor Production Coordinator

Merint Thomas Mathew Melwyn Dsa

Technical Editor Cover Work

Abhishek R. Kotian Melwyn Dsa


About the Author
Alexander T. Combs is an experienced data scientist,
strategist, and developer with a background in financial data
extraction, natural language processing and generation, and
quantitative and statistical modeling. He is currently a full-time
lead instructor for a data science immersive program in New
York City.

Writing a book is truly a massive undertaking that would not be


possible without the support of others. I would like to thank my
family for their love and encouragement and Jocelyn for her
patience and understanding. I owe all of you tremendously.
About the Reviewer
Kushal Khandelwal is a data scientist and a full-stack
developer. His interests include building scalable machine
learning and image processing software applications. He is
adept at coding in Python and contributes actively to various
open source projects. He is currently serving as the Head of
technology at Truce.in, a farmer-centric start-up where he
is building scalable web applications to assist farmers.
www.PacktPub.com
For support files and downloads related to your book, please
visit www.PacktPub.com.

eBooks, discount offers,


and more
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 read Packt'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
Get notified! Find out when new books are published by
following @PacktEnterprise on Twitter or the Packt
Enterprise Facebook page.
Preface
Machine learning is rapidly becoming a fixture in our data-
driven world. It is relied upon in fields as diverse as robotics
and medicine to retail and publishing. In this book, you will
learn how to build real-world machine learning applications step
by step.

Working through easy-to-understand projects, you will learn


how to process various types of data and how and when to
apply different machine learning techniques such as supervised
or unsupervised learning.

Each of the projects in this book provides educational as well as


practical value. For example, you'll learn how to use clustering
techniques to find bargain airfares and how to use linear
regression to find a cheap apartment. This book will teach you
how to use machine learning to collect, analyze, and act on
massive quantities of data in an approachable, no-nonsense
manner.
What this book covers
Chapter 1, The Python Machine Learning Ecosystem, delves into
Python, which has a deep and active developer community, and
many of these developers come from the scientific community
as well. This has provided Python with a rich array of libraries
for scientific computing. In this chapter, we will discuss the
features of these key libraries and how to prepare your
environment to best utilize them.

Chapter 2, Build an App to Find Underpriced Apartments,


guides us to build our first machine learning application, and we
begin with a minimal but practical example: building an
application to identify underpriced apartments. By the end of
this chapter, we will create an application that will make finding
the right apartment a bit easier.

Chapter 3, Build an App to Find Cheap Airfares, demonstrates


how to build an application that continually monitors fare
pricing. Once an anomalous price appears, our app will
generate an alert that we can quickly act on.

Chapter 4, Forecast the IPO Market using Logistic Regression,


shows how we can use machine learning to decide which IPOs
are worth a closer look and which ones we may want to skip.

Chapter 5, Create a Custom Newsfeed, covers how to build a


system that understands your taste in news and will send you a
personally tailored newsletter each day.

Chapter 6, Predict whether Your Content Will Go Viral, examines


some of the most shared content and attempts to find the
common elements that differentiate it from the content that
people are less willing to share.

Chapter 7, Forecast the Stock Market with Machine Learning,


discusses how to build and test a trading strategy. There are
countless pitfalls to avoid when trying to devise your own
system, and it is quite nearly an impossible task. However, it
can be a lot of fun, and sometimes, it can even be profitable.

Chapter 8, Build an Image Similarity Engine, helps you


construct an advanced, image-based, deep learning application.
We will also cover deep learning algorithms to understand why
they are so important and why there is such a hype
surrounding them.

Chapter 9, Build a Chatbot, demonstrates how to construct a


chatbot from scratch. Along the way, you'll learn more about
the history of the field and its future prospects.

Chapter 10, Build a Recommendation Engine, explores the


different varieties of recommendation systems. We'll see how
they're implemented commercially and how they work. We will
also implement our own recommendation engine to find GitHub
repos.
What you need for this
book
All you need is Python 3.x and a desire to build real-world
machine learning projects. You can refer to the detailed
software list provided along with the code files of this book.
Who this book is for
This book targets Python programmers, data scientists, and
architects with a good knowledge of data science and all those
who want to build complete Python-based machine learning
systems.
Conventions
In this book, you will find a number of text styles that
distinguish between different kinds of information. Here are
some examples of these styles and an explanation of their
meaning.

Code words in text, database table names, folder names,


filenames, file extensions, pathnames, dummy URLs, user
input, and Twitter handles are shown as follows: "This can be
done by calling .corr() on our DataFrame."

A block of code is set as follows:

<category>
<pattern>I LIKE TURTLES</pattern>
<template>I feel like this whole <set name="topic">turle</
thing could be a problem. What do you like about them?</te
</category>

Any command-line input or output is written as follows:

sp = pd.read_csv(r'/Users/alexcombs/Downloads/spy.csv')

sp.sort_values('Date', inplace=True)

New terms and important words are shown in bold. Words


that you see on the screen, for example, in menus or dialog
boxes, appear in the text like this: "Right-click on the page and
click on Inspect element."
NOTE
Warnings or important notes appear in a box like this.

TIP
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know
what you think about this book-what you liked or disliked.
Reader feedback is important for us as it helps us develop titles
that you will really get the most out of.

To send us general feedback, simply e-


mail [email protected], and mention the book's title
in the subject of your message.

If there is a topic that you have expertise in and you are


interested in either writing or contributing to a book, see our
author guide at www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a
number of things to help you to get the most from your
purchase.
Downloading the example
code
You can download the example code files for this book from
your account at http://www.packtpub.com. If you purchased
this book elsewhere, you can visit
http://www.packtpub.com/support and register to have the files
e-mailed directly to you.

You can download the code files by following these steps:

1. Log in or register to our website using your e-mail address and


password.
2. Hover the mouse pointer on the SUPPORT tab at the top.
3. Click on Code Downloads & Errata.
4. Enter the name of the book in the Search box.
5. Select the book for which you're looking to download the code files.
6. Choose from the drop-down menu where you purchased this book
from.
7. Click on Code Download.

You can also download the code files by clicking on the Code
Files button on the book's webpage at the Packt Publishing
website. This page can be accessed by entering the book's
name in the Search box. Please note that you need to be
logged in to your Packt account.

Once the file is downloaded, please make sure that you unzip
or extract the folder using the latest version of:

WinRAR / 7-Zip for Windows

Zipeg / iZip / UnRarX for Mac

7-Zip / PeaZip for Linux


The code bundle for the book is also hosted on GitHub at
https://github.com/packtpublishing/pythonmachinelearningblue
prints. We also have other code bundles from our rich catalog
of books and videos available at
https://github.com/PacktPublishing/. Check them out!
Errata
Although we have taken every care to ensure the accuracy of
our content, mistakes do happen. If you find a mistake in one
of our books-maybe a mistake in the text or the code-we would
be grateful if you could report this to us. By doing so, you can
save other readers from frustration and help us improve
subsequent versions of this book. If you find any errata, please
report them by visiting http://www.packtpub.com/submit-
errata, selecting your book, clicking on the Errata Submission
Form link, and entering the details of your errata. Once your
errata are verified, your submission will be accepted and the
errata will be uploaded to our website or added to any list of
existing errata under the Errata section of that title.

To view the previously submitted errata, go to


https://www.packtpub.com/books/content/support and enter
the name of the book in the search field. The required
information will appear under the Errata section.
Piracy
Piracy of copyrighted material on the Internet is an ongoing
problem across all media. At Packt, we take the protection of
our copyright and licenses very seriously. If you come across
any illegal copies of our works in any form on the Internet,
please provide us with the location address or website name
immediately so that we can pursue a remedy.

Please contact us at [email protected] with a link


to the suspected pirated material.

We appreciate your help in protecting our authors and our


ability to bring you valuable content.
Questions
If you have a problem with any aspect of this book, you can
contact us at [email protected], and we will do our
best to address the problem.
Chapter 1. The Python
Machine Learning
Ecosystem
Machine learning is rapidly changing our world. As the
centerpiece of artificial intelligence, it is difficult to go a day
without reading how it will transform our lives. Some argue it
will lead us into a Singularity-style techno-utopia. Others
suggest we are headed towards a techno-pocalypse marked by
constant battles with job-stealing robots and drone death
squads. But while the pundits may enjoy discussing these
hyperbolic futures, the more mundane reality is that machine
learning is rapidly becoming a fixture of our daily lives. Through
subtle but progressive improvements in how we interact with
computers and the world around us, machine learning is quietly
improving our lives.

If you shop at online retailers such as Amazon.com, use


streaming music or movie services such as Spotify or Netflix, or
even just perform a Google search, you have encountered a
machine learning application. The data generated by the users
of these services is collected, aggregated, and fed into models
that improve the services by creating tailored experiences for
each user.

Now is an ideal time to dive into developing machine learning


applications, and as you will discover, Python is an ideal choice
with which to develop these applications. Python has a deep
and active developer community, and many of these developers
come from the scientific community as well. This has provided
Python with a rich array of libraries for scientific computing. In
this book, we will discuss and use a number of these libraries
from this Python scientific stack.

In the chapters that follow, we'll learn step by step how to build
a wide variety of machine learning applications. But before we
begin in earnest, we'll spend the remainder of this chapter
discussing the features of these key libraries and how to
prepare your environment to best utilize them.

We'll cover the following topics in this chapter:

The data science/machine learning workflow

Libraries for each stage of the workflow

Setting up your environment

The data science/machine


learning workflow
Building machine learning applications, while similar in many
respects to the standard engineering paradigm, differs in one
crucial way: the need to work with data as a raw material. The
success of a data project will, in large part, depend on the
quality of the data that you acquired as well as how it's
handled. And because working with data falls into the domain
of data science, it is helpful to understand the data science
workflow:
The process proceeds through these six steps in the following
order: acquisition, inspection and exploration, cleaning and
preparation, modeling, evaluation, and finally deployment.
There is often the need to circle back to prior steps, such as
when inspecting and preparing the data or when evaluating and
modeling, but the process at a high level can be described as
shown in the preceding diagram.

Let's now discuss each step in detail.

Acquisition
Data for machine learning applications can come from any
number of sources; it may be e-mailed as a CSV file, it may
come from pulling down server logs, or it may require building
a custom web scraper. The data may also come in any number
of formats. In most cases, it will be text-based data, but as
we'll see, machine learning applications may just as easily be
built utilizing images or even video files. Regardless of the
format, once the data is secured, it is crucial to understand
what's in the data—as well as what isn't.

Inspection and exploration


Once the data has been acquired, the next step is to inspect
and explore it. At this stage, the primary goal is to sanity-check
the data, and the best way to accomplish this is to look for
things that are either impossible or highly unlikely. As an
example, if the data has a unique identifier, check to see that
there is indeed only one; if the data is price-based, check
whether it is always positive; and whatever the data type,
check the most extreme cases. Do they make sense? A good
practice is to run some simple statistical tests on the data and
visualize it. Additionally, it is likely that some data is missing or
incomplete. It is critical to take note of this during this stage as
it will need to be addressed it later during the cleaning and
preparation stage. Models are only as good as the data that
goes into them, so it is crucial to get this step right.

Cleaning and preparation


When all the data is in order, the next step is to place it in a
format that is amenable to modeling. This stage encompasses a
number of processes such as filtering, aggregating, imputing,
and transforming. The type of actions that are necessary will be
highly dependent on the type of data as well as the type of
library and algorithm utilized. For example, with natural-
language-based text, the transformations required will be very
different from those required for time series data. We'll see a
number of examples of these types of transformations
throughout the book.

Modeling
Once the data preparation is complete, the next phase is
modeling. In this phase, an appropriate algorithm is selected
and a model is trained on the data. There are a number of best
practices to adhere to during this stage, and we will discuss
them in detail, but the basic steps involve splitting the data into
training, testing, and validation sets. This splitting up of the
data may seem illogical—especially when more data typically
yields better models—but as we'll see, doing this allows us to
get better feedback on how the model will perform in the real
world, and prevents us from the cardinal sin of modeling:
overfitting.
Other documents randomly have
different content
The Fairy’s Party

Neighbors passing the house of the little Fairy Health, one lovely
summer day, noticed a most unusual stir and bustle. Large and small
packages were continually arriving and the neat little housemaid was
kept quite busy opening and closing the door to receive them.
The Fairy, flitting here and there among the flower beds, was
accosted by one curious neighbor and asked what it all meant.
With her hands full of flowers the Fairy paused to answer him:
“I am giving a party this afternoon,” she said, “to friends from a
distance, and we are all very busy.”
Cho-Cho, arriving about this time, was told to leave his bag in the
house and hurry back to help gather roses.
The curious neighbor departed, and Cho-Cho and the Fairy
worked for an hour, gathering flowers and vines, to make the
beautiful house more beautiful.
At last it was all finished, and the Fairy hurried upstairs to don her
party gown before the guests should arrive.
When she came down the stairs a half hour later, Cho-Cho, waiting
in the hallway, held his breath in admiration, for the little Fairy was
so lovely that words can scarce describe her. Her gown fell in graceful
lines about her slender figure—neck and arms were bare, and her
flower-like face crowned with its shining hair was radiant with joy.
Forget-me-nots were twined among her curls, and she carried a
bunch of them in her shapely hands. No jewels adorned the Fairy,
but in every way she expressed simplicity and grace.
Cho-Cho, coming forward, dropped lightly on one knee, and taking
the Fairy’s hand, raised it to his lips.
“You are wonderful,” he said.
“You like my gown, Cho-Cho?” she questioned, and smiled upon
him, for these two were old and tried friends.
A noise from without told of the advent of a guest, and Health
went forward to greet the visitor.
It proved to be the Persian Cat, looking quite handsome in a soft-
gray hat, which he gracefully doffed to the Fairy, and he carried a
gold-headed cane.
One could well imagine him a great favorite with the ladies, for he
was indeed a finished dandy.
“You rival your flowers in beauty, Fairy,” he said, as he took her
hand.
At the noise of the garden gate closing, they looked up to behold
the Wonderful Dog and his wife coming toward them.
The Wonderful Dog had on a smart new collar, and came forward
with dignity to present his wife to the Fairy, for they had never met.
Mrs. Dog was a fluffy little thing, who seemed really to care more
about her new dress and the latest style than any other subject.
The next arrival was the little Boy from the Farm. He came timidly
toward the group, looking rather frightened, but when he spied his
old friend, Cho-Cho, all his fears vanished and he smiled with
pleasure.
They were busily chatting in the Rose Arbor, when the little
Vegetable Men came softly in and stood beside the Fairy.
She welcomed them with kindness, for these were modest little
people and felt rather strange among the handsome company.
With a whirr of wings and a flash of color, the Lovely Bird and his
brother Rumor were among them and congratulated the Fairy on the
perfect weather she was having for her Fête.
The company were all assembled now except the Red Brown
Squirrel, and the Fairy asked if anyone had seen him on the high-
road as they came hither. But no one had heard of him, although the
Persian Cat had come from that direction.
An hour slipped by. The Fairy was growing anxious and Cho-Cho
repeatedly looked at his watch.
At last he said:
“With your permission, Fairy, I will go look for the Red Brown
Squirrel. He was my friend and I greatly fear some evil has befallen
him.”
“I, too, will go,” said the Cat, “there are many dangers upon the
high-road, and a comrade may be needed.”
“I am with you,” said the Dog. “Lead on, Cho-Cho.”
“Friends,” said the Persian Cat, “I believe I can find the Red Brown
Squirrel. Between his home and the Fairy’s garden there lives an evil
imp, called Jealousy. I passed him today as I journeyed hither and he
scowled upon me with a look of rage. He was afraid to attack me, but
the Squirrel is small and not a match for this cruel imp, and has
doubtless fallen a victim to his malice.”
“Hasten, hasten,” said Cho-Cho, and passing through the gate he
started briskly toward the Squirrel’s home.
The Cat and the Dog followed and all three were soon lost to the
view of the anxious company in the Fairy’s garden.
The friends covered the ground rapidly and were nearing the home
of the Red Brown Squirrel, when Cho-Cho’s sharp eyes spied a half-
eaten nut lying in the roadway.
There were no trees near, and they knew that it must have been
dropped by their friend.
Looking eagerly upon the ground, they discovered the tiny
footprints of the Squirrel and the larger ones of the flat-footed imp,
leading into a field of tall grass.
Here the Cat went forward, for his sharp eyes could distinguish the
footprints with great ease. Following these signs they crossed the
field and came out upon an unused road that sloped downward, until
they found themselves beside a deep river which seemed impossible
to pass.
“Get upon my back,” said the Wonderful Dog, “the River is my
comrade, it will not harm you.”
With ease and confidence he swam forward, and carried them to
safety on the further bank.
Cho-Cho and the Persian Cat stepped from the Dog’s back and
turned to thank him, when from behind a large rock, the ugly imp
darted out and sprang toward Cho-Cho, trying to push him into the
river. But the Cat, catching the imp by the neck, held him firmly, and
he was powerless to do aught but scream.
Binding him fast they went behind the great rock and found the
Red Brown Squirrel in chains.
The Cat set him free and the friendly Squirrel stood up before
them brave and unhurt.
Then they hurried back to the Fairy and were received with relief
and pleasure.
And now, the Fairy with the Wonderful Dog leads the way to the
dining-room. The Persian Cat gracefully offers his arm to little Mrs.
Dog. Cho-Cho and the Boy come hand in hand, followed by the
Lovely Bird and Mr. Beet. The Red Brown Squirrel is telling the story
of his adventure to Mr. Onion, and Rumor and Mr. Carrot bring up
the rear.
The dining-room is a mass of roses and smilax, and in the center, a
table full of all the delicious things that children like.
Mrs. Dog remarks that the decorations are lovely, and the Persian
Cat replies that the ladies are more beautiful than the flowers.
The little Fairy flits here and there among her guests, seeing, with
charming courtesy, that all their wants are well supplied, and when
at last they can eat no more, Cho-Cho rises, and with a glass of
sparkling lemonade proposes a toast:
“To our charming hostess, the Fairy Health.”
With a right good will the company drink the toast, then led by the
Persian Cat they leave the house and with laughter and jest pass by
lovely garden paths out to the fountain—and so the fun goes on,
ending at last with a dance in the dell, and joy and happiness in every
heart.
The Macmillan Company has arranged to publish a series of
health books for the CHILD HEALTH ORGANIZATION of
America

Health in
Education
Education in
Health

The Child Health Organization has undertaken a nation-


wide campaign to raise the health standard of the school child.
The following books are now ready:
Rosy Cheeks and Strong Heart
Rhymes of Cho-Cho’s Grandma
Cho-Cho and the Health Fairy
Child Health Alphabet

Price list furnished upon application


Order from any of the following addresses of
THE MACMILLAN COMPANY
New York
64 Fifth
Avenue

Chicago
25th St. &
Prairie Ave.
San Francisco
609 Mission
Street

Boston
Huntington
Chambers

Dallas
330 S. Harwood
Street
Literature published separately by the CHILD HEALTH
ORGANIZATION of America
Weight Card—Tags—Posters
Health in Play—My Health Book
Standards of Nutrition and Growth
The Demonstration and Its Application
The Nutrition Class
Alphabet Cards. A to Z
Health Plays for School Children
Four Plays Dramatizing “Cho-Cho and Health Fairy”
Stories
Happy’s Calendar
Milk, the Master Carpenter
Cho-Cho’s Health Game

Price list furnished upon application


Order from the CHILD HEALTH ORGANIZATION of America
Penn Terminal Building, 370 Seventh Avenue, New York City

THE U. S. BUREAU OF EDUCATION


has arranged for the sale of the following Reprints:
Class Room Weight Record
Right Height and Weight for Boys
Right Height and Weight for Girls
Wanted! Teachers to Enlist for Health Service
Diet for the School Child
Summer Health and Play School
Teaching Health
Child Health Program for Parent-Teacher Associations and
Women’s Clubs
Further Steps in Teaching Health
The Lunch Hour at School
Suggestions for a Program for Health Teaching in the
Elementary Schools
Your Opportunity in the Schools
Health Training for Teachers
Orders for these should be sent to: The Superintendent of
Documents, Government Printing
Office, Washington, D. C. (Remittance must accompany all
orders.)

CHILD HEALTH ORGANIZATION of America

Board of Trustees
Dr. L. Emmett Holt, President
Dr. Thomas D. Wood, Vice-President
Dr. Frederick Peterson, Secretary
James G. Berrien, Treasurer
Mrs. John Collier
Clinton H. Crane
Dr. Samuel McC. Hamill
Dr. Royal S. Haynes
Dr. Victor G. Heiser
Owen R. Lovejoy
Mrs. Frederick Peterson
Dr. Bernard Sachs
Mrs. Frank A. Vanderlip
Dr. Philip Van Ingen
Allan Wardwell
Miss Florence Wardwell
Dr. Herbert B. Wilcox
Dr. C.-E. A. Winslow
STAFF

Sally Lucas Jean, Director

Associate Directors: Marie L. Rose Anne L. Whitney Anne


Raymond, Field Representative
Assistants: Grace T. Hallock Margaret C. Carey Alice F.
Loomis
Advisory Directors: J. Mace Andress Lucy Oppen Mabel
Bragg
TRANSCRIBER’S NOTES
Typos fixed; non-standard spelling and dialect
retained.
*** END OF THE PROJECT GUTENBERG EBOOK CHO-CHO AND THE
HEALTH FAIRY ***

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!

textbookfull.com

You might also like