Scaling Machine Learning with Spark: Distributed ML with MLlib, TensorFlow, and PyTorch Adi Polak pdf download
Scaling Machine Learning with Spark: Distributed ML with MLlib, TensorFlow, and PyTorch Adi Polak pdf download
https://ebookmeta.com/product/scaling-machine-learning-with-
spark-distributed-ml-with-mllib-tensorflow-and-pytorch-adi-polak/
https://ebookmeta.com/product/scaling-machine-learning-with-
spark-third-early-release-adi-polak/
https://ebookmeta.com/product/deep-reinforcement-learning-with-
python-with-pytorch-tensorflow-and-openai-gym-1st-edition-nimish-
sanghi-3/
https://ebookmeta.com/product/deep-reinforcement-learning-with-
python-with-pytorch-tensorflow-and-openai-gym-1st-edition-nimish-
sanghi/
https://ebookmeta.com/product/horimiya-vol-3-daisuke-hagiwara/
Climate Geoengineering: Law and Governance (AESS
Interdisciplinary Environmental Studies and Sciences
Series) Wil Burns
https://ebookmeta.com/product/climate-geoengineering-law-and-
governance-aess-interdisciplinary-environmental-studies-and-
sciences-series-wil-burns/
https://ebookmeta.com/product/plant-growth-responses-for-smart-
agriculture-prospects-and-applications-1st-edition-t-girija-
editor/
https://ebookmeta.com/product/fifty-years-of-the-australian-
master-tax-guide-cch-australia-limited/
https://ebookmeta.com/product/quantum-mechanics-nouredine-
zettili/
https://ebookmeta.com/product/very-british-weather-
over-365-hidden-wonders-from-the-world-s-greatest-
forecasters-1st-edition-the-met-office/
Official ABCs of Love 1st Edition Georgia Coffman
https://ebookmeta.com/product/official-abcs-of-love-1st-edition-
georgia-coffman/
Scaling Machine
Learning with
Spark
Distributed ML with MLlib,
TensorFlow, and PyTorch
Adi Polak
Scaling Machine Learning with Spark
Learn how to build end-to-end scalable machine learning
solutions with Apache Spark. With this practical guide, author “If there is one book the
Adi Polak introduces data and ML practitioners to creative
Spark community has
solutions that supersede today’s traditional methods. You’ll
learn a more holistic approach that takes you beyond specific been craving for the last
requirements and organizational goals—allowing data and ML decade, it’s this.”
practitioners to collaborate and understand each other better. —Andy Petrella
Founder at Kensu and author of
Scaling Machine Learning with Spark examines several Fundamentals of Data Observability
technologies for building end-to-end distributed ML
workflows based on the Apache Spark ecosystem with
Spark MLlib, MLFlow, TensorFlow, and PyTorch. If you’re Adi Polak is an open source
a data scientist who works with machine learning, this technologist who believes in
communities and education, and
book shows you when and why to use each technology.
their ability to positively impact the
You will: world around us. She is passionate
about building a better world through
• Explore machine learning, including distributed open collaboration and technological
computing concepts and terminology innovation. As a seasoned engineer
• Manage the ML lifecycle with MLflow and vice president of developer
experience at Treeverse, Adi shapes
• Ingest data and perform basic preprocessing with Spark the future of data and ML technologies
• Explore feature engineering, and use Spark for hands-on builders. She serves on
multiple program committees and acts
to extract features
as an advisor for conferences like Data
• Train a model with MLlib and build a pipeline to reproduce it & AI Summit by Databricks, Current by
Confluent, and Scale by the Bay, among
• Build a data system to combine the power of Spark others. Adi previously served as a
with deep learning senior manager for Azure at Microsoft,
• Get a step-by-step example of working with where she helped build advanced
distributed TensorFlow analytics systems and modern data
architectures. Adi gained experience
• Use PyTorch to scale machine learning and in machine learning by conducting
its internal architecture research for IBM, Deutsche Telekom,
and other Fortune 500 companies.
9 781098 106829
Praise for Scaling Machine Learning with Spark
If there is one book the Spark community has been craving for the last decade, it’s this.
Writing about the combination of Spark and AI requires broad knowledge, a deep
technical skillset, and the ability to break down complex concepts so they’re easy to
understand. Adi delivers all of this and more while covering big data, AI, and
everything in between.
—Andy Petrella, founder at Kensu and author of
Fundamentals of Data Observability (O’Reilly)
Scaling Machine Learning with Spark is a wealth of knowledge for data and ML
practitioners, providing a holistic and creative approach to building end-to-end scalable
machine learning solutions. The author’s expertise and knowledge, combined with a focus
on collaboration and understanding, makes this book a must-read for anyone
in the industry.
—Noah Gift, Duke executive in residence
Adi’s book is without any doubt a good reference and resource to have beside you when
working with Spark and distributed ML. You will learn best practices she has to share
along with her experience working in the industry for many years. Worth the investment
and time reading it.
—Laura Uzcategui, machine learning engineer at TalentBait
This book is an amazing synthesis of knowledge and experience. I consider it essential
reading for both novice and veteran machine learning engineers. Readers will deepen
their understanding of general principles for machine learning in distributed systems
while simultaneously engaging with the technical details required to integrate and scale
the most widely used tools of the trade including Spark, PyTorch, Tensorflow.
—Matthew Housley, CTO and coauthor of Fundamentals of
Data Engineering (O’Reilly)
Adi’s done a wonderful job at creating a very readable, practical, and insanely detailed
deep dive into machine learning with Spark.
—Joe Reis, coauthor of Fundamentals of Data Engineering
(O’Reilly) and “recovering data scientist”
Scaling Machine Learning
with Spark
Distributed ML with MLlib,
TensorFlow, and PyTorch
Adi Polak
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Scaling Machine Learning with Spark,
the cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
The views expressed in this work are those of the author and do not represent the publisher’s views. While
the publisher and the author have used good faith efforts to ensure that the information and instructions
contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or
omissions, including without limitation responsibility for damages resulting from the use of or reliance
on this work. Use of the information and instructions contained in this work is at your own risk. If any
code samples or other technology this work contains or describes is subject to open source licenses or the
intellectual property rights of others, it is your responsibility to ensure that your use thereof complies
with such licenses and/or rights.
978-1-098-10682-9
[LSI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
v
2. Introduction to Spark and PySpark. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Apache Spark Architecture 30
Intro to PySpark 32
Apache Spark Basics 33
Software Architecture 33
PySpark and Functional Programming 39
Executing PySpark Code 40
pandas DataFrames Versus Spark DataFrames 41
Scikit-Learn Versus MLlib 42
Summary 43
vi | Table of Contents
5. Feature Engineering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Features and Their Impact on Models 93
MLlib Featurization Tools 96
Extractors 96
Selectors 97
Example: Word2Vec 98
The Image Featurization Process 99
Understanding Image Manipulation 101
Extracting Features with Spark APIs 103
The Text Featurization Process 109
Bag-of-Words 110
TF-IDF 110
N-Gram 111
Additional Techniques 112
Enriching the Dataset 112
Summary 113
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Table of Contents | ix
Preface
Welcome to Scaling Machine Learning with Spark: Distributed ML with MLlib, Tensor‐
Flow, and PyTorch. This book aims to guide you in your journey as you learn more
about machine learning (ML) systems. Apache Spark is currently the most popular
framework for large-scale data processing. It has numerous APIs implemented in
Python, Java, and Scala and is used by many powerhouse companies, including Net‐
flix, Microsoft, and Apple. PyTorch and TensorFlow are among the most popular
frameworks for machine learning. Combining these tools, which are already in use in
many organizations today, allows you to take full advantage of their strengths.
Before we get started, though, perhaps you are wondering why I decided to write this
book. Good question. There are two reasons. The first is to support the machine
learning ecosystem and community by sharing the knowledge, experience, and exper‐
tise I have accumulated over the last decade working as a machine learning algorithm
researcher, designing and implementing algorithms to run on large-scale data. I have
spent most of my career working as a data infrastructure engineer, building infra‐
structure for large-scale analytics with all sorts of formatting, types, schemas, etc., and
integrating knowledge collected from customers, community members, and collea‐
gues who have shared their experience while brainstorming and developing solutions.
Our industry can use such knowledge to propel itself forward at a faster rate, by lev‐
eraging the expertise of others. While not all of this book’s content will be applicable
to everyone, much of it will open up new approaches for a wide array of practitioners.
This brings me to my second reason for writing this book: I want to provide a holistic
approach to building end-to-end scalable machine learning solutions that extends
beyond the traditional approach. Today, many solutions are customized to the specific
requirements of the organization and specific business goals. This will most likely con‐
tinue to be the industry norm for many years to come. In this book, I aim to challenge
the status quo and inspire more creative solutions while explaining the pros and cons
of multiple approaches and tools, enabling you to leverage whichever tools are used in
your organization and get the best of all worlds. My overall goal is to make it simpler
xi
for data and machine learning practitioners to collaborate and understand each other
better.
xii | Preface
Chapter 1, “Distributed Machine Learning Terminology and Concepts”
This chapter provides a high-level introduction to machine learning and covers
terminology and concepts related to distributed computing and network topolo‐
gies. I will walk you through various concepts and terms, so you have a strong
foundation for the next chapters.
Chapter 2, “Introduction to Spark and PySpark”
The goal of this chapter is to bring you up to speed on Spark and its Python
library, PySpark. We’ll discuss terminology, software abstractions, and more.
Chapter 3, “Managing the Machine Learning Experiment Lifecycle with MLflow”
This chapter introduces MLflow, a platform that facilitates managing the
machine learning lifecycle. We’ll discuss what a machine learning experiment is
and why managing its lifecycle is important, and we’ll examine the various com‐
ponents of MLflow that make this possible.
Chapter 4, “Data Ingestion, Preprocessing, and Descriptive Statistics”
Next, we will dive into working with data. In this chapter, I will discuss how to
use Spark to ingest your data, perform basic preprocessing (using image files as
an example), and get a feel for the data. I’ll also cover how to avoid the so-called
small file problem with image files by leveraging the PySpark API.
Chapter 5, “Feature Engineering”
Once you’ve performed the steps in the previous chapter, you’re ready to engi‐
neer the features you will use to train your machine learning model. This chapter
explains in detail what feature engineering is, covering various types, and show‐
cases how to leverage Spark’s functionality for extracting features. We’ll also look
at how and when to use applyInPandas and pandas_udf to optimize perfor‐
mance.
Chapter 6, “Training Models with Spark MLlib”
This chapter walks you through working with MLlib to train a model, evaluate
and build a pipeline to reproduce the model, and finally persist it to disk.
Chapter 7, “Bridging Spark and Deep Learning Frameworks”
This chapter breaks down how to build a data system to combine the power of
Spark with deep learning frameworks. It discusses bridging Spark and deep
learning clusters and provides an introduction to Petastorm, Horovod, and the
Spark initiative Project Hydrogen.
Chapter 8, “TensorFlow Distributed Machine Learning Approach”
Here, I’ll lead you through a step-by-step example of working with distributed
TensorFlow—specifically tf.keras—while leveraging the preprocessing you’ve
done with Spark. You will also learn about the various TensorFlow patterns for
scaling machine learning and the component architectures that support it.
Preface | xiii
Another Random Scribd Document
with Unrelated Content
started up. Removing the thin piece of wood thus displaced, the
worthy gentleman exhibited to the eyes of the bystanders some
fifteen or twenty bundles of papers, neatly tied up and ticketed.
"A very pretty figure, but not applicable," replied Mr. Bond. "All
the other gentlemen have trusted to Mr. Tracy's catching me, and so
his passport is, as the French say, valable for the present."
"I shall take care, at all events," said Chandos, "to make this
matter generally known when I reach London."
"Now that is not fair, that is not fair," said Mr. Bond. "But I will be
beforehand with you; and, as I think our business is concluded, I will
go and pack up my trunk. Good morning, Mr. Winslow; good
morning, gentlemen all."
Chandos did not deign to make any reply; but, taking the papers
from Faber, walked out of the house.
The little boy, Tim, was found in the garden, near the gate, which
he had burst open; for the proximity of Mr. Bond's strapping
maidservant did not seem pleasant to him.
"Have you got it? have you got it?" cried the boy. And when
Chandos, patting him on the head, answered in the affirmative, he
clapped his little hands with joy, exclaiming, "I will run and tell my
mother; she will be so glad!"
"I will go with you, Tim," said Chandos; "for she must take you
home to Northferry. All my plans are altered by this morning's work,
Lockwood; and I must speed up to London without delay. I will be
down, however, to-morrow or the day after, for a new light has
broken upon me in an instant, which I think may lead to great
results. I wish to Heaven I could see the memorandum which poor
Roberts found."
"I can show it you, Sir," said Faber; "for by his direction I took a
copy of it, and have got it in my pocket-book."
His companions could not at all make out what he meant; but the
new light which he said he had got, greatly accelerated all Chandos's
movements. With a quick step he led the way to the copse where he
had left the gipsey woman; and having given little Tim into her
charge, he explained to her all that had occurred; but in terms so
brief that none but one of her rapid intelligence could have
comprehended what he meant. Then promising to see her again
soon, he hurried away towards the high-road to London,
accompanied as before by Faber and Lockwood. As they approached
the little inn where Chandos had stopped on the preceding day, but
before they could see the road, the sound of rolling wheels was
heard; and with an impatient exclamation he said, "There is the
coach gone!"
In a few minutes after, the coach rolled up, the portmanteau was
put in the boot, Chandos sprang upon the top, and after a short
delay, away the vehicle rolled towards the great city.
"I don't know, I am sure," replied Faber; and they turned away.
CHAPTER XLIV.
"My master and Mr. Tracy are both out, Sir," he said, even before
he was asked; "but Miss Rose is in the drawing-room."
"Pretty well; but very sad," replied the man. "Miss Emily, indeed,
is not very well; and has not been out of her room to-day."
"I hope I bring them all good news," replied Chandos, willing to
lighten the grief even of an attached dependent. "I will, therefore,
make bold, to go up at once, my good friend, without being
announced:" and walking rapidly up the stairs, he opened the
drawing-room door.
Rose was seated at a table, writing; for she had not heard the
sound of a footfall on the well-carpeted stairs: but, the moment
Chandos entered the room, she looked up; and though there were
still tears in her eyes, a low exclamation of pleasure broke from her
lips, when she saw him.
"I did, dearest Rose," he answered; "but I have come back to-day
on business of importance."
"Why, the fact is this," said Rose, looking down at the letter she
had been writing, till the rich beautiful hair fell over her fair face,
"the creditors have, this morning, returned an unfavourable answer.
They will not consent to my uncle's proposal. They will not permit
the reservation of ten thousand pounds from the sale of his estate
for Emily, and the same for myself; though they do not object to the
sum appropriated to purchase an annuity for my uncle and papa.
Emily at once begged that she might not be considered for a
moment; and so did I: but my uncle said, that, in my case, he was
not a free agent; for that he had promised that sum of ten thousand
pounds to you: and that he could not even propose to withdraw
from his word. I took upon me, Chandos, to answer for you; but he
said that the proposal must come from yourself, if at all, when you
knew the whole circumstances; and I had even a difficulty in gaining
permission to write to you, though everything must be decided by
half-past twelve the day after to-morrow. Was I wrong, Chandos, in
what I said on your behalf?"
"No, dearest Rose, you were not wrong," answered Chandos; and
then kissing her fair hand, he gazed with a look of mingled gaiety
and tenderness in her face; adding, "and yet, my Rose, I do not
think I shall consent after all."
"Not consent!" she exclaimed; and then, shaking her head, as she
saw the bright look with which he regarded her, she said, "Nay, I
know you better: you are jesting, Chandos."
"The change must be soon, Chandos," said Rose, sadly; "for these
people have announced their intention of making him a bankrupt the
day after to-morrow, if their demands are not complied with."
"The change has taken place, dear Rose," replied Chandos; "and I
thank God that I have been made the instrument of bringing good
news and comfort to you all. It is this which has brought me so
suddenly back to town. But, hark! that is the General's knock, or I
am mistaken."
"My father is with him," said Rose; "but tell me, dear Chandos, tell
me the news. Let me be the first to give it him."
"It is that I have recovered all the property carried off by that
villain, Bond," answered Chandos Winslow. "I have the whole of the
shares with me now."
Rose clasped her hands in joy, and at the same moment the door
opened, and the dejected face of Mr. Tracy appeared. He gazed for
an instant sternly at the laughing countenance of his daughter, and
then made a movement as if to quit the room; but Rose sprang up
and cast her arms round him--whispered some words in his ear, and
then, in the excess of her joy, burst into tears.
"What? what?" cried Mr. Tracy. "I did not hear. What does she
say? What does she mean?" and he turned towards Chandos with an
eager and impatient look, while the foot of General Tracy was heard
ascending the stairs.
"She has good news to give you, my dear Sir," replied Chandos;
"the best that you have received for some time; but I really must not
take it from her lips. Be calm, be calm, dear Rose, and tell your
father."
"Oh he has got them all!" cried Rose, still weeping; "all the
shares--all that the wretched man carried off."
"Got them all!" exclaimed General Tracy, pushing past his brother.
"All," replied Chandos; "at least all that were advertised. They are
here, my dear Sir. I never was so loaded with riches before;" and he
produced the various packets from his pockets.
Mr. Tracy sat quietly down on the sofa, in profound silence; he did
not touch the papers; he did not even look at them. His emotions
were too strong, too overpowering; and he remained with his eyes
bent upon the floor, till Rose sat down beside him, and took his hand
in hers, when he threw his arms round her, and kissed her tenderly,
whispering, "Go and tell our dear Emily, my child."
But before Mr. Winslow could answer, Emily Tracy followed Rose
into the room, and cast herself into her father's arms. Her next
movement was to hold out her hand to Chandos, saying, "Oh, thank
you, thank you! You have saved us from horrors. But how has it
been done?"
"No," answered Chandos, "I would not let him have it; but I
engaged myself for five hundred; and it is for you to judge whether I
acted right in so doing, knowing, as I did, that in this case time was
of the greatest importance."
"You acted admirably," said Mr. Tracy; "and I have to thank you
for your decision, as well as for your prudent management."
"Do you know, General," replied Chandos, "I fear I must leave
that part of the tale untold for to-night. I have some matters of
much moment on which I wish to have the best legal advice I can
get; and I must seek it instantly. If I can obtain the opinion and
directions I want to-night, I shall leave town early to-morrow. If not,
I shall come in during the morning, and will tell you all."
"But do give me a hint, however slight," said Mr. Tracy; "it seems
to me like a happy dream; and I fear I shall wake and find it unreal,
unless I have some confirmation."
"All I can stop to say," replied Chandos, "is, that your little
protégé, General, the gipsey boy, acted a great part in the
adventure; and gallantly did he perform it, I assure you, at the
hazard of life and limb."
"I will make a soldier of him," answered the old officer; "I will buy
him a commission. But there has been danger then, in this affair."
"Oh no!" replied Chandos; "only danger to the poor boy. But now
I will bid you adieu. Farewell, dear Rose. The greatest happiness I
have ever known in life, has been to bring you news which took a
heavy load from your kind warm heart."
Chandos Winslow shook hands with the rest of the party, and was
then leaving the room, when the General exclaimed, "Chandos,
Chandos!" and followed him to the top of the stairs.
"My dear friend," said the officer, "you have done us the greatest
service that man could render us; but, in so doing, you have
removed obstacles to your own happiness. Rose and Emily, are, of
course, my heiresses. I do not see why they should not have now
the greater part of their future fortunes: for I have no expenses; and
now, with changed circumstances, it would not, of course, be so
imprudent to marry, as it appeared some days ago. Poor Emily is
sad; for she has heard from your brother, announcing his return to
England; and claiming the completion of her engagement with him. I
must take it in hand myself, I see; for I will not have the dear girl's
happiness thrown away. Now, however, farewell: for I see you are in
haste; but come in, whenever you return from your journey; and
remember, that the causes which induced me to exact a promise of
you, to refrain from pressing Rose to a speedy union have been
removed. Only one word more; and that on business. Are you at the
same hotel where you were the other day?"
"Well then, I will send a cheque for the five hundred pounds
there, this evening," said the General.
"It shall be done to-morrow," replied the old officer; and they
parted: Chandos to seek his friend, Sir----, through courts and
chambers; and the General, to rejoice with his brother on a
deliverance from that which had seemed an inevitable disgrace not
half-an-hour before. General Tracy was a good, kind man; but, like
everybody else in the world who fancies he has no prejudices, he
had several; and those he had were strong. He looked upon it
undoubtedly as a disgrace not to pay a just debt under any
circumstances; but the sting of the calamity which had menaced his
brother, was to him that he might be "made a bankrupt like a mere
trader." There was the rub with General Tracy. If none but
"gentlemen and soldiers" could be made bankrupts, he would not
have felt it half as much, though he would have deplored it still. But
to be put in the Gazette like a ruined pork-butcher, that was terrible
indeed! How strange it is, that in estimating disgraces, we never
look to the act, but to the consequences!
CHAPTER XLV.
The table, looking like a little island, in the ocean of Turkey carpet
which flowed around, was covered with the desert, and with sundry
decanters of choice wines; and two servants handed the plates of
fruit and preserves to their master, and their master's guest. When
this ceremony had been performed, the attendants left the room;
and a desultory conversation, mingled with wine took place between
Sir William and the clergyman. The latter was a stout, portly man,
with a good deal of the animal in his original composition; but rigidly
and pertinaciously kept down by a strong moral sense, and high
religious feelings. The motives which had produced so speedy an
invitation on the part of Sir William Winslow were various: but one
was, that Sir William did not like to be left alone. His own thoughts
were unpleasant companions. Again, he was anxious to retrieve
some part of the good opinions he had lost. He felt that he had
undervalued character; and, of late, things had appeared important
to him, which he had looked upon with contempt before. Amongst
others, some sort of religious opinions began to be objects of desire.
He did not much care what, for his notions on the subject were very
indefinite; but he felt a want, a craving for something that could give
him the support which he possessed not in his own heart--for
something that would afford him hope, when there was nought
within him but despair. He had heard--he knew, indeed--that the
Christian religion promised pardon for offences, hope to the sinner,
peace to the repentant. And he sent to the clergyman to seek a
certain portion of religion, just as a thirsty labourer would send to a
public-house for a jug of beer.
The conversation, as I have said, was of a desultory kind: the
subject of religion was approached in a timid, uncertain sort of way
by Sir William Winslow; more as an opening than anything else: and
the clergyman answered in a few brief, but very striking words;
which produced a deep effect. He treated the matter less doctrinally
than philosophically, and in such a manner, that Sir William Winslow
was inclined to fancy what he said had a personal application to
himself; although the good man had no such intention.
"Hold, hold," cried the clergyman; "you must not say that. The
records of Scripture bear witness, that spirits have been seen; and it
can be shown philosophically, that there is no reason for supposing
such a thing impossible."
The worthy pastor had been set upon a subject which was a
favourite one with him, and he went on, citing history after history,
and instance after instance, to prove that, under certain
circumstances, there were means of communication established
between the dead and the living. He even went so far as to argue
that it would be absurd to suppose it otherwise; that granting that
there is such a thing as spirit, and that spirit is immortal, all analogy
would show that there must be a power in the disembodied of
producing certain influences upon their brethren in the flesh. "You
cannot point out any order of beings," he said, "from the most
imperfect to the most perfect, which has not some knowledge and
communication with those next to it in the great scale of animated
nature."
Sir William Winslow listened, but replied not, keeping his teeth
tight shut, and his lips compressed; and the clergyman proceeded in
the same strain, till the clock struck ten, when he suddenly rose to
depart.
His host would willingly have detained him a little longer; for, as I
have said, he loved not to be alone; but he was too haughty to press
it beyond one request; and the clergyman, who was a man of habits,
always retired at ten.
When he was gone Sir William walked into the drawing-room and
ordered coffee. He took it very strong, and that agitated rather than
calmed his nerves. He walked up and down for half-an-hour, and
then he said to himself, "I will go and look over those letters. There
is no use in going to bed, I should not sleep." He then ordered
candles in the library; but he would not go thither till they were
lighted. When that was done he walked slowly in, and took up some
of the unopened letters with which the table was strewed. The
second which he broke was signed "Overton;" and after having run
his eye down the page, he threw it away with a look of anger. He
would read no more, and sitting down in the large arm chair, where
so often his father had sat, he gnawed his lip, with his eyes bent
upon the ground.
The clock struck eleven, and Sir William started in his seat and
counted it. A minute or two after, he took out his pocket-book, and
drew from it a folded piece of vellum. He did not then look at the
contents, however, but thrust it into a drawer of the table. Then,
rising from his seat, he walked to the window and looked out. It was
a beautiful moonlight night, the soft, silvery rays resting on the
lawns and woods of the park, and the little stars, faint and sleepy in
the sky. He gazed for several minutes; but I know not whether he
beheld anything but the objects of his own fancy. Then he walked up
and down the room again, and twice stood for a moment or two
opposite the drawer in the library table. At length he suddenly pulled
it open, took out the vellum, unfolded it, and read the strange
contents.
He looked at the writing again: "She will come and fetch me!" he
repeated, with his lip curling; "I should like to see her;" and the
proud spirit seemed to rise up again in full force. But then he shook
his head sadly, and murmured, "Poor girl! she told me once before
she would come, and she did--to her own destruction."
Sir William Winslow stopped suddenly, crossed his arms upon his
chest, and thought. Then the heavy bell of the church clock began
to strike the hour of midnight; and walking rapidly on he reached the
gate of the churchyard, while the sound of the last stroke still swung
trembling in the air. He passed through the little turnstile, and
walked up the path. There was a new tombstone close upon the
right, which he had never seen before; and his eyes fixed upon it.
The letters of the inscription were all plain in the moonlight, and the
name "Roberts" stared him in the face, with these words following,
"Brutally murdered, by some person unknown, on the fifth of
February, one thousand eight hundred and forty-five, in the sixtieth
year of his age."
His courage had well nigh deserted him entirely; and he paused,
hardly able to go on, when a voice from the farther side of the
cemetery asked, "Are you come?"
"I am where I have a right to be," answered the voice from a spot
apparently below his feet. "I am amongst those from whom sprang a
man who promised to make me one of them, and broke his promise.
I am amongst your dead, William Winslow! Your father is on my
right hand, and your mother on my left. Your place is here beside
me, and will not be long vacant, if your spirit does not bow itself to
repentance, your strong will does not yield to right."
"God of Heaven!" he cried, laying his hand upon the gate in the
iron railing which surrounded the tomb, and shaking it violently; but
instantly there was a low laugh, and a voice said, "Poor fool!--You
ask," continued the voice, "what I would with you? For myself, I
seek nothing. You can neither harm nor benefit me more. The time
is past. The hour is gone by; and what you could once have done, is
now beyond your power. But for our boy, you can do much; you can
atone to the mother, by love to the child. Take him to yourself; own
him as yours; and oh! above all things, teach him to avoid and to
abhor such crimes as you yourself have committed."
"Our boy!" cried Sir William Winslow, "I knew not that you had
one, Susan. Oh, Susan, in mercy, in pity, tell me where he is?"
"Ask your brother," answered the voice; "ask that kind, noble
brother, whom you have wronged, who has been a father to your
child, when you were depriving himself of his inheritance; who has
taught him virtue, and honour, and the love of God. He will give him
to your arms, if you show yourself worthy of him. Thus much for
myself, William Winslow; but, oh that there were any power in
prayers, to make you grant that which is needful for another."
"Speak, speak!" said he eagerly; "I will grant whatever you ask. I
wronged you basely, I know; I broke my plighted word; I forfeited
my honour given. Speak, Susan! Let me make atonement, as far as
it can now be made."
Still the internal strife lasted long; and when at length he re-
entered the house, body and mind felt worn and exhausted. His
valet gazed at him with one of his quiet, serpent looks, and said,
"You seem ill, Sir. Had you not better have some cordial?"
"No, no," answered Sir William Winslow, turning from him with a
faint shudder; "I want nothing but rest. It matters not."
But that night he did not lie down to rest without bending the
knee, and imploring mercy and protection. It was the first time for
many years. It was the first night, too, that he had slept for more
than an hour at a time for several months; but now he remained in
slumber undisturbed till ten o'clock, and when he woke he felt the
effect of repose. He rose, threw on his dressing-gown, and
approached the glass on his dressing-table. He hardly knew the face
that it reflected. He did not feel ill. Sleep had refreshed him; his
limbs were strong and vigorous, but all colour had fled from his
cheek. He was thenceforth as pale as the dead.
He then went to the window for air, and the first thing his eye
lighted upon was his valet, advanced a step or two on the terrace,
talking to a tall, stout man, of a very sallow complexion, in a long,
brown great coat. Sir William Winslow's heart sunk, he knew not
why. He did not like to see that Italian talking with any one since he
had mentioned the spots of blood upon his coat; and he gazed for a
moment at the servant as he stood with his back towards him, with
feelings of pain and alarm. Suddenly a change came over him. He
raised his head high, and his proud nostril expanded. "It matters
not," he said to himself; "I will be no man's slave long. I will do
Chandos justice--I will provide for my poor boy--see him--embrace
him--and then that scoundrel shall go forth to do his worst."
With these thoughts he rang his bell sharply, and soon after
descended to breakfast. His meal was speedily concluded; and going
into the library, he wrote for some time. One paper which he
covered seemed to be a mere note; but for the other he consulted
several times a law book, which he took down out of the library.
When that was done, he rang again, and ordered the servant who
appeared to send the butler, the bailiff, and the housekeeper to him,
all together. Before they could be collected he had folded the note
and addressed it to "Chandos Winslow, Esq.," and when the three
persons he had sent for appeared, with some surprise at their
unusual summons, he said, I wish you to witness my signature of
this paper. Then taking the pen, he wrote his name at the bottom,
saying, "This is my last will and testament." The witnesses put their
hands to the paper and withdrew, each observing how ill their
master looked, and arguing by the sudden signature of his will that
he felt more unwell than he appeared.
"Yes, Sir William," replied the valet, and his master walked out at
once, and descended to the library. There, he again spread out the
letter before him, and read to the following effect:--
"The Golden Bull, Elmsly,
"May, 1845.
"Elmsly, &c."
"Leave the room, Sir!" thundered his master; "did you not hear
me?"
Sir William Winslow felt he had gained something during the last
few hours. It was courage of a peculiar sort. The day before he
would not have found resolution so to answer a man, who, to a
certain degree, had his life and honour in his hands. Now he had no
hesitation; and as he sat and thought, he asked himself if it was the
having taken the first step towards atonement which had restored to
him his long-lost firmness. He thought it was; and he resolved to go
on boldly. Perhaps he mistook the cause of the change in himself.
His was one of those quick and irritable dispositions which cannot
bear suspense of any kind, which will rather confront the utmost
peril than wait an hour in fear; and the very fact of having taken a
strong resolution gave the power to execute it. But still he fancied
that the purpose of doing right, of making atonement, was the result
of his renewed vigour; and the mistake was salutary.
They spoke in low tones, but eagerly, for about five minutes; and
at last the dark man said, "No; we had better work separate. I will
manage it, you'll see; and you can do the same if you do but
frighten him enough. I must speak with the woman first; but I'll be
back in an hour, if you think he'll be alone then."
"I dare say he will," answered the valet, "there are not many
people come here now; but if there should be any one, you can wait
about till they are gone."
"Very well," replied the other; and with a nod and a low laugh, he
turned away, and left the Italian standing at the door.
CHAPTER XLVI.
Chandos Winslow sat in the little village inn at Elmsly, with his
keen old solicitor from S----; who had, as the reader has seen, just
mingled in a note to Sir William Winslow, a certain degree of lawyer-
like formality, with an affection of commonplace ease, which he
thought was masterly in its kind. They were awaiting the reply; and
the lawyer calculated upon either one or two courses being adopted
by the baronet to meet the pungent contents of his missive. "Sir
William," he said, addressing Chandos, "will, I imagine, either beg to
know where the will is supposed to be concealed, promising to cause
search to be made himself; or else he will roughly refer us to his
solicitors in London. Mark my words, if he does not. At all events,
that last hit of our's yesterday--coming in, and finding the rough
draught of the will in Roberts's handwriting, amongst the papers in
the cabinet left to you with the other things--was capital. Hang me,
Mr. Winslow, if I did not think for a minute that it was the will itself.
However, as it is, we shall have an excellent case of it; and I should
not wonder if it were to go through every court in England, up to the
House of Lords."
"A pleasant prospect," said Chandos, drily; and he fell into the
silence of expectation.
"Is Mr. Chandos Winslow here?" asked a good, clear, round voice,
upon the stairs about five minutes after; and starting up, Chandos
opened the door, when, to his surprise, he beheld Lockwood with
the little boy, Tim Stanley.
"Well, I hope I've got him here in time," said Lockwood, "though I
could not get over by noon, as you wished; for you see, Chandos, it
is a good long round first to Northferry and then to Elmsly; and I did
not receive the message till five this morning."
"Didn't you send?" exclaimed Lockwood. "Then who the devil did,
I wonder? I had a message this morning shouted in at my window,
at five, to bring the boy over here by noon to-day to meet you. But
now we must have some dinner; for I am hungry enough, and the
boy is ravenous. What have you done with Faber? Where's Atra
Cura, if he is no longer behind the horseman?"
"We left him at S----," replied Chandos; "he was afraid to come
within ten miles of Elmsly."
"Soon decided!" said Mr. Miles; "he has not taken long to
consider." And after opening the cover containing the epistle
addressed to himself, he held the one enclosed in his hand, without
looking at the direction, while he read the other.
Chandos took the letters, and read first, with much wonder, the
one which had been opened; and then broke the seal of the other,
which contained these words:--
"Yours,
"William Winslow."
"It must be so, indeed!" said Chandos Winslow; "this change is
too great, too sudden to be in the ordinary course of events. Some
severe illness must be hanging over him. Come, Mr. Miles, let us go
at once, Lockwood will stay with the boy till we return."
"Nay, I will go with you part of the way, at least," said Lockwood;
"and you shall tell me what is the drift of all this as you go; for I am
in darkness. Tim can take care of himself; can't you, Tim?"
"I'll tell you what, Chandos," he said at length, "I cannot help
thinking there is some trick in all this. I never saw such a sudden
change. Why it is only three nights ago that he growled at you like a
dog."
"No, no, there is no trick," replied Mr. Winslow; "but I fear there is
some serious illness, either commenced or approaching, which has
thus depressed his spirits, and given conscience power to make her
voice heard in the stillness of the passions."
"I will lead you the shortest way," said Chandos, speaking to the
lawyer, who was approaching the great gates; "that path takes one
half a mile round;" and proceeding along the road, he did not enter
the park till he reached a small doorway, which stood open during
the day.
The path with which this doorway communicated, led through the
depth of a splendid wood of Spanish chestnuts, divided by
somewhat formal alleys, which crossed each other in various
directions. When Chandos and his companions had walked on not
more than two hundred yards, they could hear the voices of two
persons speaking vehemently, and at the first traversing alley which
they came to, they all turned their heads to the right, whence the
sounds proceeded. Perhaps eighty or ninety yards from them, under
the green shade of the wide leafy trees, were standing a man and a
woman. The man Chandos immediately recognized as his companion
in the stage-coach some days before, and in the woman, whose face
was turned towards them, he saw Sally Stanley. She was throwing
about her arms in wild and even fierce gesticulation, and in the
stillness of their footfalls over the turf, he could hear her exclaim, "If
you do, a curse will cleave to you and destroy you, which never
failed yet--a curse which will,"--but then her eyes lighted on the
three persons who were passing, and she darted in amongst the
trees.
The man followed her, after taking a look round; and Lockwood
asked, "Do you know who those are?"
"How strange are the turns of fate!" said Chandos; and the whole
party fell into deep thought.
"No, no!" answered the woman; "but run up--find out what the
two men are doing over here--the two men from S----. Listen to
what they say-- and save him if they are seeking him."
Her meaning was not very clear; but there was so much
apprehension and impatience in her look, that Lockwood, saying,
"Well, well, I suppose I shall find out what you mean when I get
there," turned away and left her.
His long legs and his quick steps soon brought him to the door of
the Golden Bull, at Elmsly; but all seemed quiet on the outside of the
house, at least. There was a little sort of gig, with the horse taken
out, standing in the road, and no other thing to attract attention.
Lockwood entered the house, and was about to walk up to the room
where the boy had been left, when in what was called the parlour,
on the left, he heard some men's voices speaking; and in he went.
The room contained two men and a servant girl, putting down
some beer and glasses before them; and Lockwood sat down and
asked for a glass of ale. Two or three sentences passed between the
previous occupants of the room, which seemed principally to refer to
their own dinner; but there were words mingled with their discourse
which made the last comer lend an attentive ear; and before the ale
was brought to him, he rose, walked slowly out of the room with a
careless air, hurried up stairs, and spoke a few eager words to the
boy Tim.
Lockwood then descended to the parlour again, drunk his ale, and
took up an old newspaper that lay on one of the tables.
CHAPTER XLVII.