Deep Learning with Python Develop Deep Learning Models on Theano and TensorFLow Using Keras Jason Brownlee download
Deep Learning with Python Develop Deep Learning Models on Theano and TensorFLow Using Keras Jason Brownlee download
https://textbookfull.com/product/deep-learning-with-python-
develop-deep-learning-models-on-theano-and-tensorflow-using-
keras-jason-brownlee/
https://textbookfull.com/product/deep-learning-for-natural-
language-processing-develop-deep-learning-models-for-natural-
language-in-python-jason-brownlee/
https://textbookfull.com/product/deep-learning-projects-using-
tensorflow-2-neural-network-development-with-python-and-
keras-1st-edition-vinita-silaparasetty/
https://textbookfull.com/product/deep-learning-with-applications-
using-python-chatbots-and-face-object-and-speech-recognition-
with-tensorflow-and-keras-springerlink-online-service/
https://textbookfull.com/product/beginning-anomaly-detection-
using-python-based-deep-learning-with-keras-and-pytorch-sridhar-
alla/
Computer Vision Using Deep Learning Neural Network
Architectures with Python and Keras 1st Edition Vaibhav
Verdhan
https://textbookfull.com/product/computer-vision-using-deep-
learning-neural-network-architectures-with-python-and-keras-1st-
edition-vaibhav-verdhan/
https://textbookfull.com/product/deep-learning-for-time-series-
forecasting-predict-the-future-with-mlps-cnns-and-lstms-in-
python-jason-brownlee/
https://textbookfull.com/product/reinforcement-learning-with-
open-ai-tensorflow-and-keras-using-python-1st-edition-abhishek-
nandy/
https://textbookfull.com/product/deep-learning-with-python-learn-
best-practices-of-deep-learning-models-with-pytorch-2nd-edition-
nikhil-ketkar-jojo-moolayil/
https://textbookfull.com/product/deep-learning-with-python-learn-
best-practices-of-deep-learning-models-with-pytorch-2nd-edition-
nikhil-ketkar-jojo-moolayil-2/
��������������������������������
����������������������������
�����
��������������
Jason Brownlee
Edition: v1.7
Contents
Preface iii
I Introduction 1
1 Welcome 2
1.1 Deep Learning The Wrong Way . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Deep Learning With Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Book Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Requirements For This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.5 Your Outcomes From Reading This Book . . . . . . . . . . . . . . . . . . . . . . 7
1.6 What This Book is Not . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
II Background 10
2 Introduction to Theano 11
2.1 What is Theano? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2 How to Install Theano . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.3 Simple Theano Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.4 Extensions and Wrappers for Theano . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 More Theano Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3 Introduction to TensorFlow 15
3.1 What is TensorFlow? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 How to Install TensorFlow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 Your First Examples in TensorFlow . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4 Simple TensorFlow Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.5 More Deep Learning Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4 Introduction to Keras 19
4.1 What is Keras? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2 How to Install Keras . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3 Theano and TensorFlow Backends for Keras . . . . . . . . . . . . . . . . . . . . 20
ii
iii
20.10Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Deep learning is a fascinating field. Artificial neural networks have been around for a long time,
but something special has happened in recent years. The mixture of new faster hardware, new
techniques and highly optimized open source libraries allow very large networks to be created
with frightening ease.
This new wave of much larger and much deeper neural networks are also impressively skillful
on a range of problems. I have watched over recent years as they tackle and handily become
state-of-the-art across a range of difficult problem domains. Not least object recognition, speech
recognition, sentiment classification, translation and more.
When a technique comes a long that does so well on such a broad set of problems, you have
to pay attention. The problem is where do you start with deep learning? I created this book
because I thought that there was no gentle way for Python machine learning practitioners to
quickly get started developing deep learning models.
In developing the lessons in this book, I chose the best of breed Python deep learning library
called Keras that abstracted away all of the complexity, ruthlessly leaving you an API containing
only what you need to know to efficiently develop and evaluate neural network models.
This is the guide that I wish I had when I started apply deep learning to machine learning
problems. I hope that you find it useful on your own projects and have as much fun applying
deep learning as I did in creating this book for you.
Jason Brownlee
Melbourne, Australia
2016
viii
Part I
Introduction
1
Chapter 1
Welcome
Welcome to Deep Learning With Python. This book is your guide to deep learning in Python.
You will discover the Keras Python library for deep learning and how to use it to develop and
evaluate deep learning models. In this book you will discover the techniques, recipes and skills
in deep learning that you can then bring to your own machine learning projects.
Deep learning does have a lot of fascinating math under the covers, but you do not need
to know it to be able to pick it up as a tool and wield it on important projects and deliver
real value. From the applied perspective, deep learning is quite a shallow field and a motivated
developer can quickly pick it up and start making very real and impactful contributions. This is
my goal for you and this book is your ticket to that outcome.
You can see that the “common sense” advice means that it is not until after you have
completed years of study and experience that you are ready to actually start developing and
evaluating machine learning model for your machine learning projects.
I think this advice is dead wrong.
2
1.2. Deep Learning With Python 3
Lessons where you learn about specific features of neural network models and or how to
use specific aspects of the Keras API.
Projects where you will pull together multiple lessons into an end-to-end project and
deliver a result, providing a template your your own projects.
Recipes where you can copy and paste the standalone code into your own project,
including all of the code presented in this book.
Background.
Multilayer Perceptrons.
At the end of this part you will know how to confidently wield Keras on your own machine
learning projects with a focus of the finer points of investigating model performance, persisting
models for later use and gaining lifts in performance over baseline models.
The best way to learn about this impressive type of neural network model is to apply it.
You will work through three larger projects and apply CNN to image data for object recognition
and text data for sentiment classification.
After completing the lessons and projects in this part you will have the skills and the
confidence of complete and working templates and recipes to tackle your own deep learning
projects using convolutional neural networks.
1.4. Requirements For This Book 6
The best way to learn about this complex type of neural network model is to apply it.
You will work through two larger projects and apply RNN to sequence classification and text
generation.
After completing the lessons and projects in this part you will have the skills and the
confidence of complete and working templates and recipes to tackle your own deep learning
projects using recurrent neural networks.
1.3.7 Conclusions
The book concludes with some resources that you can use to learn more information about a
specific topic or find help if you need it as you start to develop and evaluate your own deep
learning models.
1.3.8 Recipes
Building up a catalog of code recipes is an important part of your deep learning journey. Each
time you learn about a new technique or new problem type, you should write up a short code
recipe that demonstrates it. This will give you a starting point to use on your next deep learning
or machine learning project.
As part of this book you will receive a catalog of deep learning recipes. This includes recipes
for all of the lessons presented in this book, as well as the complete code for all of the projects.
You are strongly encouraged to add to and build upon this catalog of recipes as you expand
your use and knowledge of deep learning in Python.
Python version 2 or 3 installed. This book was developed using Python version 2.7.11.
SciPy and NumPy installed. This book was developed with SciPy version 0.17.0 and
NumPy version 1.11.0.
Matplotlib installed. This book was developed with Matplotlib version 1.5.1.
Pandas installed. This book was developed with Pandas version 0.18.0.
You do not need to match the version exactly, but if you are having problems running a
specific code example, please ensure that you update to the same or higher version as the library
specified. You will be guided as to how to install the deep learning libraries Theano, TensorFlow
and Keras in Part II of the book.
How to use more advanced techniques required for developing state-of-the-art deep learning
models.
How to use advanced image augmentation techniques in order to lift model performance.
From here you can start to dive into the specifics of the functions, techniques and algorithms
used with the goal of learning how to use them better in order to deliver more accurate predictive
models, more reliably in less time. There are a few ways you can read this book. You can dip
into the lessons and projects as your need or interests motivate you. Alternatively, you can
work through the book end-to-end and take advantage of how the lessons and projects build in
complexity and range. I recommend the latter approach.
To get the very most from this book, I recommend taking each lesson and project and build
upon them. Attempt to improve the results, apply the method to a similar but di↵erent problem,
and so on. Write up what you tried or learned and share it on your blog, social media or send
me an email at [email protected]. This book is really what you make of it
and by putting in a little extra, you can quickly become a true force in applied deep learning.
This is not a deep learning textbook. We will not be getting into the basic theory
of artificial neural networks or deep learning algorithms. You are also expected to have
some familiarity with machine learning basics, or be able to pick them up yourself.
This is not an algorithm book. We will not be working through the details of how
specific deep learning algorithms work. You are expected to have some basic knowledge of
deep learning algorithms or how to pick up this knowledge yourself.
This is not a Python programming book. We will not be spending a lot of time on
Python syntax and programming (e.g. basic programming tasks in Python). You are
expected to already be familiar with Python or a developer who can pick up a new C-like
language relatively quickly.
You can still get a lot out of this book if you are weak in one or two of these areas, but you
may struggle picking up the language or require some more explanation of the techniques. If
this is the case, see the Getting More Help chapter at the end of the book and seek out a good
companion reference text.
1.7. Summary 9
1.7 Summary
It is a special time right now. The tools for applied deep learning have never been so good.
The pace of change with neural networks and deep learning feels like it has never been so fast,
spurred by the amazing results that the methods are showing in such a broad range of fields.
This is the start of your journey into deep learning and I am excited for you. Take your time,
have fun and I’m so excited to see where you can take this amazing new technology.
1.7.1 Next
Let’s dive in. Next up is Part II where you will take a whirlwind tour of the foundation libraries
for deep learning in Python, namely the numerical libraries Theano and TensorFlow and the
library you will be using throughout this book called Keras.
Part II
Background
10
Chapter 2
Introduction to Theano
Theano is a Python library for fast numerical computation that can be run on the CPU or GPU.
It is a key foundational library for deep learning in Python that you can use directly to create
deep learning models. After completing this lesson, you will know:
How a very simple symbolic expression can be defined, compiled and calculated.
11
2.2. How to Install Theano 12
Theano v0.8.2is the latest at the time of writing and is used in this book.
2.6 Summary
In this lesson you discovered the Theano Python library for efficient numerical computation.
You learned:
Theano is a foundation library used for deep learning research and development.
The development and evaluation of deep learning models is easier with wrapper libraries
like Keras.
2.6.1 Next
You now know about the Theano library for numerical computation in Python. In the next
lesson you will discover the TensorFlow library released by Google that attempts to o↵er the
same capabilities.
Chapter 3
Introduction to TensorFlow
TensorFlow is a Python library for fast numerical computing created and released by Google.
It is a foundation library that can be used to create deep learning models directly or by using
wrapper libraries that simplify the process built on top of TensorFlow. After completing this
lesson you will know:
15
3.3. Your First Examples in TensorFlow 16
environment, it is relatively straightforward to install TensorFlow using pip There are a number
of di↵erent distributions of TensorFlow, customized for di↵erent environments, therefore to
install TensorFlow you can follow the Download and Setup instructions3 on the TensorFlow
website. , for example:
TensorFlow v0.10.0is the latest at the time of writing and is used in this book.
Nodes: Nodes perform computation and have zero or more inputs and outputs. Data that
moves between nodes are known as tensors, which are multi-dimensional arrays of real
values.
Edges: The graph defines the flow of data, branching, looping and updates to state.
Special edges can be used to synchronize behavior within the graph, for example waiting
for computation on a number of inputs to complete.
Operation: An operation is a named abstract computation which can take input attributes
and produce output attributes. For example, you could define an add or multiply operation.
Running the example prints the output 4, which matches our expectation that 1.5 + 2.5 = 4.0.
This is a useful example as it gives you a flavor for how a symbolic expression can be defined,
compiled and used. Although we have only performed a basic introduction of adding 2 and 2,
you can see how pre-defining computation to be compiled for efficiency may be scaled up to
large vector and matrix operations required for deep learning.
Also check the examples directory as it contains an example using the MNIST dataset.
There is also an excellent list of tutorials on the main TensorFlow website4 . They show how
to use di↵erent network types, di↵erent datasets and how to use the framework in various
di↵erent ways. Finally, there is the TensorFlow playground5 where you can experiment with
small networks right in your web browser.
3.6 Summary
In this lesson you discovered the TensorFlow Python library for deep learning. You learned:
Like Theano, deep learning models can be developed directly in TensorFlow if desired.
Also like Theano, TensorFlow may be better leveraged by a wrapper library that abstracts
the complexity and lower level details.
4
https://www.tensorflow.org/versions/r0.9/tutorials/
5
http://playground.tensorflow.org/
3.6. Summary 18
3.6.1 Next
You now know about the Theano and TensorFlow libraries for efficient numerical computation
in Python. In the next lesson you will discover the Keras library that wraps both libraries and
gives you a clean and simple API for developing and evaluating deep learning models.
Chapter 4
Introduction to Keras
Two of the top numerical platforms in Python that provide the basis for deep learning research
and development are Theano and TensorFlow. Both are very powerful libraries, but both can
be difficult to use directly for creating deep learning models. In this lesson you will discover
the Keras Python library that provides a clean and convenient way to create a range of deep
learning models on top of Theano or TensorFlow. After completing this lesson you will know:
Modularity: A model can be understood as a sequence or a graph alone. All the concerns
of a deep learning model are discrete components that can be combined in arbitrary ways.
Minimalism: The library provides just enough to achieve an outcome, no frills and
maximizing readability.
Extensibility: New components are intentionally easy to add and use within the frame-
work, intended for developers to trial and explore new ideas.
Python: No separate model files with custom file formats. Everything is native Python.
19
Other documents randomly have
different content
Hec cum superba uerterit uices dextra.
Prose II.
Metre II.
Prose III.
Therfor, yif that Fortune spake with thee for hir-self in this
manere, for-sothe thou ne haddest nat what thou mightest answere.
And, if thou hast any-thing wherwith, thou mayest rightfully defenden
thy compleint, it behoveth thee to shewen it; and I wol
yeven thee space to tellen it.' 5
Art thou now comen first, a sodein gest, in-to the shadwe or 55
tabernacle of this lyf; or trowest thou that any stedefastnesse be
in mannes thinges, whan ofte a swift houre dissolveth the same
man; that is to seyn, whan the soule departeth fro the body? For,
al-though that selde is ther any feith that fortunous thinges wolen
dwellen, yit natheles the laste day of a mannes lyf is a manere 60
deeth to Fortune, and also to thilke that hath dwelt. And therfor,
what, wenestow, thar [thee] recche, yif thou forlete hir in deyinge,
or elles that she, Fortune, forlete thee in fleeinge awey?
Pr. III. 2. A. om. nat. 4. A. tellen (for defenden). 6. C. bet (for beth); A. ben.
8. C. delysyos; A. deliciouse. 15. C. maledye. // C. noryssynges; A.
norissinges. // C. sorwes; A. sorwe (Lat. doloris). 17. C. swych; A. swiche. 20.
C. souerane; A. souerayn. 23. C. begunne; A. bygunne. 24. C. neysshebour;
A. neyȝbour. // C. presyous. 26. A. om. tho that. // A. nere (for were). // C.
fadyris. 27. C. castete; A. chastite. 29. C. lyste; A. lyst. // C. the; A. of. 30. A.
thought (for youthe); Ed. youthe. 32. C. wel-; A. wele-. // C. frute; A. fruyt.
36. C. A semble; A. Ed. assemble. 37. C. peeple; A. poeple. 39. C. des-; A.
de-. 40. C. bitwyen; A. bytwix; Ed. bytwene. 41. C. hihte; A. hyȝt. // C. A. Ed.
all insert and before fulfuldest; I omit it, because it obscures the sense. 42. A.
om. the and so. 44. C. to; A. of. 45. So Ed.; C. A. desseiuedest. 46. C.
noryssede; A. norsshed; Ed. norisshed. // A. hast had (for bere away). // C.
bar. 47. C. A. gerdoun; Ed. guerdon. 48. C. lye; A. leye; Ed. laye (Lat. ponere).
49. C. om. a. 50. C. blysse (wrongly); A. Ed. blisses. 51. C. art; A. Ed. nart. //
C. blysse-; A. blys-. 53. C. the; A. tho (Lat. tunc). 57. C. dyssoluede; A. Ed.
dissolueth. 59. C. al that thowgh; A. Ed. although that. // Ed. selde; C. ȝelde
(= zelde); A. yelde (= ȝelde); Lat. rara. // C. fortune; A. Ed. fortunous. 62: C.
weenestow; A. wenest thou. // C. dar; A. thar. // I supply thee. // C. recke; A.
recche.
Metre III.
Whan the wode wexeth rody of rosene floures, in the first somer
sesoun, thorugh the brethe of the winde Zephirus that wexeth
warm, yif the cloudy wind Auster blowe felliche, than goth awey
the fairenesse of thornes. 10
Ofte the see is cleer and calm withoute moevinge flodes; and
ofte the horrible wind Aquilon moeveth boilinge tempestes and
over-whelveth the see.
Yif the forme of this worlde is so selde stable, and yif it turneth
by so many entrechaunginges, wolt thou thanne trusten in the 15
tomblinge fortunes of men? Wolt thou trowen on flittinge goodes?
It is certein and establisshed by lawe perdurable, that no-thing that
is engendred nis stedefast ne stable.'
Prose IV.
Thanne seide I thus: 'O norice of alle vertues, thou seist ful
sooth; ne I ne may nat forsake the right swifte cours of my
prosperitee; that is to seyn, that prosperitee ne be comen to me
wonder swiftly and sone. But this is a thing that greetly smerteth
me whan it remembreth me. For in alle adversitee of fortune, 5
the most unsely kinde of contrarious fortune is to han ben
weleful.'
'But that thou,' quod she, 'abyest thus the torment of thy
false opinioun, that mayst thou nat rightfully blamen ne aretten
to thinges: as who seith, for thou hast yit many habundaunces of 10
thinges.
'I have som-what avaunsed and forthered thee,' quod she, 'yif
that thou anoye nat or forthinke nat of al thy fortune: as who
seith, I have som-what comforted thee, so that thou tempest thee nat 50
thus with al thy fortune, sin thou hast yit thy beste thinges. But
I may nat suffren thy delices, that pleynest so wepinge and
anguissous, for that ther lakketh som-what to thy welefulnesse.
For what man is so sad or of so parfit welefulnesse, that he ne
stryveth and pleyneth on som halve ayen the qualitee of his 55
estat? For-why ful anguissous thing is the condicioun of mannes
goodes; for either it cometh nat al-togider to a wight, or elles it
last nat perpetuel. For sum man hath grete richesses, but he is
ashamed of his ungentel linage; and som is renowned of noblesse
of kinrede, but he is enclosed in so grete anguisshe of nede 60
of thinges, that him were lever that he were unknowe. And
som man haboundeth both in richesse and noblesse, but yit he
bewaileth his chaste lyf, for he ne hath no wyf. And som man is
wel and selily y-maried, but he hath no children, and norissheth
his richesses to the eyres of strange folkes. And som man is 65
gladed with children, but he wepeth ful sory for the trespas of
his sone or of his doughter. And for this ther ne acordeth no
wight lightly to the condicioun of his fortune; for alwey to every
man ther is in som-what that, unassayed, he ne wot nat; or elles
he dredeth that he hath assayed. And adde this also, that every 70
weleful man hath a ful delicat felinge; so that, but-yif alle thinges
bifalle at his owne wil, for he is impacient, or is nat used to han
non adversitee, anon he is throwen adoun for every litel thing.
And ful litel thinges ben tho that withdrawen the somme or the
perfeccioun of blisfulnesse fro hem that ben most fortunat. How 75
many men, trowest thou, wolden demen hem-self to ben almost in
hevene, yif they mighten atayne to the leest party of the remnaunt
of thy fortune? This same place that thou clepest exil, is
contree to hem that enhabiten heer, and forthy nothing [is]
wrecched but whan thou wenest it: as who seith, thou thy-self, ne 80
no wight elles, nis a wrecche, but whan he weneth him-self a wrecche
by reputacioun of his corage. And ayeinward, alle fortune is blisful
to a man by the agreabletee or by the egalitee of him that
suffreth it.
Metre IV.
Me. IV. 1. C. waar. 7. Ed. lose; A. lowe see(!); (Lat. solutae). // A. weyȝte. 10.
C. lowh; A. Ed. lowe. 12. C. A. palys (Lat. ualli).
Prose V.
O! streite and nedy clepe I this richesse, sin that many folk
ne may nat han it al, ne al may it nat comen to o man with-outen 25
povertee of alle other folk! And the shyninge of gemmes, that
I clepe precious stones, draweth it nat the eyen of folk to hem-ward,
that is to seyn, for the beautee? But certes, yif ther were
beautee or bountee in the shyninge of stones, thilke cleernesse is
of the stones hem-self, and nat of men; for whiche I wondre 30
gretly that men mervailen on swiche thinges. For-why, what
thing is it, that yif it wanteth moeving and Ioynture of sowle and
body, that by right mighte semen a fair creature to him that hath
a sowle of resoun? For al be it so that gemmes drawen to hem-self
a litel of the laste beautee of the world, through the entente of 35
hir creatour and through the distinccioun of hem-self; yit, for as
mochel as they ben put under youre excellence, they ne han nat
deserved by no wey that ye sholden mervailen on hem. And
the beautee of feldes, delyteth it nat mochel un-to yow?'
Boece. 'Why sholde it nat delyten us, sin that it is a right fair 40
porcioun of the right faire werke, that is to seyn, of this world?
And right so ben we gladed som-tyme of the face of the see
whan it is cleer; and also mervailen we on the hevene and on the
sterres, and on the sonne and on the mone.'
And I denye that thilke thing be good that anoyeth him that 120
hath it. Gabbe I of this?. Thou wolt seye "nay." Certes,
richesses han anoyed ful ofte hem that han tho richesses; sin that
every wikked shrewe, (and for his wikkednesse the more gredy
after other folkes richesses, wher-so ever it be in any place, be it
gold or precious stones), weneth him only most worthy that hath 125
hem. Thou thanne, that so bisy dredest now the swerd and now
the spere, yif thou haddest entred in the path of this lyf a voide
wayferinge man, than woldest thou singe beforn the theef; as
who seith, a pore man, that berth no richesse on him by the weye,
may boldely singe biforn theves, for he hath nat wherof to ben 130
robbed. O precious and right cleer is the blisfulnesse of mortal
richesses, that, whan thou hast geten it, than hast thou lorn thy
sikernesse!
Metre V.
Blisful was the first age of men! They helden hem apayed
with the metes that the trewe feldes broughten forth. They
ne distroyede nor deceivede nat hem-self with outrage. They
weren wont lightly to slaken hir hunger at even with acornes
of okes. They ne coude nat medly the yifte of Bachus to the 5
cleer hony; that is to seyn, they coude make no piment nor clarree;
ne they coude nat medle the brighte fleeses of the contree of
Seriens with the venim of Tyrie; this is to seyn, they coude nat
deyen whyte fleeses of Serien contree with the blode of a maner
shelfisshe that men finden in Tyrie, with whiche blood men deyen 10
purpur. They slepen hoolsom slepes up-on the gras, and
dronken of the renninge wateres; and layen under the shadwes
of the heye pyn-trees. Ne no gest ne straungere ne carf yit
the heye see with ores or with shippes; ne they ne hadde seyn
yit none newe strondes, to leden marchaundyse in-to dyverse 15
contrees. Tho weren the cruel clariouns ful hust and ful stille,
ne blood y-shad by egre hate ne hadde nat deyed yit armures.
For wher-to or which woodnesse of enemys wolde first moeven
armes, whan they seyen cruel woundes, ne none medes be of
blood y-shad? 20
Prose VI.
But what thing is it that a man may don to another man, that
he ne may receyven the same thing of othre folk in him-self: 45
or thus, what may a man don to folk, that folk ne may don him the
same? I have herd told of Busirides, that was wont to sleen his
gestes that herberweden in his hous; and he was sleyn him-self
of Ercules that was his gest. Regulus hadde taken in bataile
many men of Affrike and cast hem in-to feteres; but sone after 50
he moste yeve his handes to ben bounde with the cheynes of
hem that he hadde whylom overcomen. Wenest thou thanne
that he be mighty, that hath no power to don a thing, that othre
ne may don in him that he doth in othre? And yit more-over,
yif it so were that thise dignitees or poweres hadden any propre 55
or natural goodnesse in hem-self, never nolden they comen to
shrewes. For contrarious thinges ne ben nat wont to ben
y-felawshiped to-gidere. Nature refuseth that contrarious thinges
ben y-ioigned. And so, as I am in certein that right wikked folk
han dignitees ofte tyme, than sheweth it wel that dignitees and 60
powers ne ben nat goode of hir owne kinde; sin that they suffren
hem-self to cleven or ioinen hem to shrewes. And certes, the
same thing may I most digneliche iugen and seyn of alle the
yiftes of fortune that most plentevously comen to shrewes; of
the whiche yiftes, I trowe that it oughte ben considered, that no 65
man douteth that he nis strong in whom he seeth strengthe; and
in whom that swiftnesse is, sooth it is that he is swift. Also
musike maketh musiciens, and phisike maketh phisiciens, and
rethorike rethoriens. For-why the nature of every thing maketh
his propretee, ne it is nat entremedled with the effects of the 70
contrarious thinges; and, as of wil, it chaseth out thinges that
ben to it contrarie. But certes, richesse may not restreyne
avarice unstaunched; ne power ne maketh nat a man mighty
over him-self, whiche that vicious lustes holden destreyned with
cheynes that ne mowen nat be unbounden. And dignitees that 75
ben yeven to shrewede folk nat only ne maketh hem nat digne,
but it sheweth rather al openly that they ben unworthy and
undigne. And why is it thus? Certes, for ye han Ioye to clepen
thinges with false names that beren hem alle in the contrarie;
the whiche names ben ful ofte reproeved by the effecte of the 80
same thinges; so that thise ilke richesses ne oughten nat by
right to ben cleped richesses; ne swich power ne oughte nat
ben cleped power; ne swich dignitee ne oughte nat ben cleped
dignitee.
And at the laste, I may conclude the same thing of alle the 85
yiftes of Fortune, in which ther nis nothing to ben desired, ne
that hath in him-self naturel bountee, as it is ful wel y-sene. For
neither they ne ioignen hem nat alwey to goode men, ne maken
hem alwey goode to whom that they ben y-ioigned.
Metre VI.
Prose VII.
Thanne seyde I thus: 'Thou wost wel thy-self that the coveitise
of mortal thinges ne hadde never lordshipe of me; but
I have wel desired matere of thinges to done, as who seith, I
desire to han matere of governaunce over comunalitees, for vertu,
stille, ne sholde nat elden;' that is to seyn, that [him] leste that, 5
or he wex olde, his vertu, that lay now ful stille, ne should nat
perisshe unexercised in governaunce of comune; for which men
mighten speken or wryten of his goode governement.
Pr. VII. 4. A. desired. 5. I supply him (to make sense). // Ed. leste; C. A. list.
6. A. wex; C. wax. 7. C. perise; A. perisshe. // Ed. vnexercysed; C. A.
vnexcercised. 17. A. om. 1st the. // C. om. of. 21. A. that erthe helde. 26. A.
and mareys. // C. spaces (for space). 28. C. vel; A. wel. 32. C. narwh; A.
narwe. 36. A. cloos. 37. C. deficulte; A. difficulte. // C. deficulte (repeated); A.
Ed. diuersite. 38. A. om. and after vnusage. 39. Ed. synguler; C. A. syngler. //
A. om. nat (bef. 1st strecchen). 41. C. marchus; A. Marcus. // Ed. Tullius; C.
A. Tulius. // C. writ; A. writeth. 43. C. om. yit. // A. hyȝt. 44. C. thikke; A.
thilk. // A. wexen. 45. C. sestow; A. Sest thou. 48. Ed. synguler; C. singler; A.
singlere. // A. strecchen; C. strechchen. 49. C. seysthow; A. sest thou; Ed.
seest thou. 51. C. thinge; A. thing. 56. A. paied. // Ed. publysshed; C.
publyssed; A. puplissed. 57. A. neyȝbores; Ed. neyghbours; C. nesshebours.
59. A. nedy and wrecched. 63. A. autours; Ed. auctours; C. actorros (!). // A.
Ed. ye men semen; C. yow men semeth. 64. A. thenke; C. thinken. // A.
comyng (om. to-). 65. A. space (Lat. spatia). 69. C. A. Ed. insert for bef. yit
(wrongly). 70. A. it a litel. 73. C. -durablyte; A. -durablete. // A. eenles (for
endeles). 74, 75. A. om. but of ... comparisoun. 77. A. by (for 2nd to). 82. C.
A. gerdouns; Ed. guerdones. 84. A. whiche (for swich). 89. A. speke. 90. C.
weere he; A. where he; Ed. wheder he. 91. A. om. that. 94. C. resseyuyd; A.
receiued. 95. C. vnderstondow. 97. A. om. it. 98. C. glosses it by s. fama. 102.
A. om. it. 103. C. deffendeth; A. defendith. 105. A. for (for whan). 107. C.
glosses erthe by i. corporis. 108. C. glosses it by i. anima. 110, 111. A. om. As
who ... this world.
Metre VII.
3. C. cyte (for site); A. sete (error for site; Lat. situm). 6. A. liften vpon hire
nekkes in ydel and dedely. 7. A. om. that. 9. A. om. that. // C. cler; A. clere.
13. A. stiern; Ed. sterne. 17. A. Ed. consumpt. 18. A. vtterly. 21. Ed. to (for
un-to); A. in. // A. Ed. the; C. om. (after heer).
Prose VIII.
Metre VIII.
Quod mundus stabili fide.
By this she hadde ended hir song, whan the sweetnesse of hir
ditee hadde thorugh-perced me that was desirous of herkninge,
and I astoned hadde yit streighte myn eres, that is to seyn, to
herkne the bet what she wolde seye; so that a litel here-after I
seyde thus: 'O thou that art sovereyn comfort of anguissous 5
corages, so thou hast remounted and norisshed me with the
weighte of thy sentences and with delyt of thy singinge; so that
I trowe nat now that I be unparigal to the strokes of Fortune:
as who seyth, I dar wel now suffren al the assautes of Fortune, and
wel defende me fro hir. And tho remedies whiche that thou 10
seydest her-biforn weren right sharpe, nat only that I am nat
a-grisen of hem now, but I, desirous of heringe, axe gretely to
heren the remedies.'
Than seyde she thus: 'That felede I ful wel,' quod she, 'whan
that thou, ententif and stille, ravisshedest my wordes; and I 15
abood til that thou haddest swich habite of thy thought as thou
hast now; or elles til that I my-self hadde maked to thee the
same habit, which that is a more verray thing. And certes, the
remenaunt of thinges that ben yit to seye ben swiche, that first
whan men tasten hem they ben bytinge, but whan they ben 20
receyved withinne a wight, than ben they swete. But for thou
seyst that thou art so desirous to herkne hem, with how gret
brenninge woldest thou glowen, yif thou wistest whider I wol
leden thee!'
'To thilke verray welefulnesse,' quod she, 'of whiche thyn herte
dremeth; but for as moche as thy sighte is ocupied and distorbed
by imaginacioun of erthely thinges, thou mayst nat yit seen thilke
selve welefulnesse.'
'Do,' quod I, 'and shewe me what is thilke verray welefulnesse, 30
I preye thee, with-oute taryinge.'
'That wole I gladly don,' quod she, 'for the cause of thee;
but I wol first marken thee by wordes and I wol enforcen me to
enformen thee thilke false cause of blisfulnesse that thou more
knowest; so that, whan thou hast fully bi-holden thilke false 35
goodes, and torned thyn eyen to that other syde, thou mowe knowe
the cleernesse of verray blisfulnesse.
Metre I.
Who-so wole sowe a feeld plentivous, lat him first delivere it fro
thornes, and kerve asunder with his hook the busshes and the
fern, so that the corn may comen hevy of eres and of greynes.
Hony is the more swete, yif mouthes han first tasted savoures that
ben wikkid. The sterres shynen more agreably whan the wind 5
Nothus leteth his ploungy blastes; and after that Lucifer the
day-sterre hath chased awey the derke night, the day the fairere
ledeth the rosene hors of the sonne. And right so thou, bi-holdinge
first the false goodes, bigin to with-drawen thy nekke
fro the yok of erthely affecciouns; and after-ward the verray goodes 10
shollen entren in-to thy corage.'
Tho fastnede she a litel the sighte of hir eyen, and with-drow
hir right as it were in-to the streite sete of hir thought; and bigan
to speke right thus: 'Alle the cures,' quod she, 'of mortal folk,
whiche that travaylen hem in many maner studies, goon certes by
diverse weyes, but natheles they enforcen hem alle to comen only 5
to oon ende of blisfulnesse. And blisfulnesse is swiche a good,
that who-so that hath geten it, he ne may, over that, no-thing
more desyre. And this thing is forsothe the sovereyn good that
conteyneth in him-self alle maner goodes; to the whiche good yif
ther failede any thing, it mighte nat ben cleped sovereyn good: 10
for thanne were ther som good, out of this ilke sovereyn good, that
mighte ben desired. Now is it cleer and certein thanne, that
blisfulnesse is a parfit estat by the congregacioun of alle goodes;
the whiche blisfulnesse, as I have seyd, alle mortal folk enforcen
hem to geten by diverse weyes. For-why the coveitise of verray 15
good is naturelly y-plaunted in the hertes of men; but the miswandringe
errour mis-ledeth hem in-to false goodes. Of the
whiche men, som of hem wenen that sovereyn good be to liven
with-oute nede of any thing, and travaylen hem to be haboundaunt
of richesses. And som other men demen that sovereyn good be, 20
for to ben right digne of reverence; and enforcen hem to ben
reverenced among hir neighbours by the honours that they han
y-geten. And some folk ther ben that holden, that right heigh
power be sovereyn good, and enforcen hem for to regnen, or elles
to ioignen hem to hem that regnen. And it semeth to some other 25
folk, that noblesse of renoun be the sovereyn good; and hasten
hem to geten glorious name by the arts of werre and of pees.
And many folk mesuren and gessen that sovereyn good be Ioye
and gladnesse, and wenen that it be right blisful thing to ploungen
hem in voluptuous delyt. And ther ben folk that entrechaungen 30
the causes and the endes of thise forseyde goodes, as they that
desiren richesses to han power and delytes; or elles they desiren
power for to han moneye, or for cause of renoun. In thise thinges,
and in swiche othre thinges, is torned alle the entencioun of
desiringes and of werkes of men; as thus: noblesse and favour 35
of people, whiche that yeveth to men, as it semeth hem, a maner
cleernesse of renoun; and wyf and children, that men desiren for
cause of delyt and of merinesse. But forsothe, frendes ne sholden
nat be rekned a-mong the godes of fortune, but of vertu; for it is
a ful holy maner thing. Alle thise othre thinges, forsothe, ben 40
taken for cause of power or elles for cause of delyt.
Now hast thou thanne biforn thyn eyen almest al the purposed
forme of the welefulnesse of man-kinde, that is to seyn, richesses,
honours, power, and glorie, and delyts. The whiche delyt only
considerede Epicurus, and iuged and establisshed that delyt is 55
the sovereyn good; for as moche as alle othre thinges, as him
thoughte, bi-refte awey Ioye and mirthe fram the herte. But I
retorne ayein to the studies of men, of whiche men the corage
alwey reherseth and seketh the sovereyn good, al be it so that
it be with a derked memorie; but he not by whiche path, right 60
as a dronken man not nat by whiche path he may retorne him to
his hous. Semeth it thanne that folk folyen and erren that
enforcen hem to have nede of nothing? Certes, ther nis non other
thing that may so wel performe blisfulnesse, as an estat plentivous
of alle goodes, that ne hath nede of non other thing, but that is 65
suffisaunt of himself unto him-self. And folyen swiche folk thanne,
that wenen that thilke thing that is right good, that it be eek right
worthy of honour and of reverence? Certes, nay. For that thing
nis neither foul ne worthy to ben despised, that wel neigh al the
entencioun of mortal folk travaylen for to geten it. And power, 70
oughte nat that eek to ben rekened amonges goodes? What
elles? For it is nat to wene that thilke thing, that is most worthy
of alle thinges, be feble and with-oute strengthe. And cleernesse
of renoun, oughte that to ben despised? Certes, ther may no
man forsake, that al thing that is right excellent and noble, that it ne 75
semeth to ben right cleer and renomed. For certes, it nedeth nat
to seye, that blisfulnesse be [nat] anguissous ne drery, ne subgit to
grevaunces ne to sorwes, sin that in right litel thinges folk seken
to have and to usen that may delyten hem. Certes, thise ben
the thinges that men wolen and desiren to geten. And for this 80
cause desiren they richesses, dignitees, regnes, glorie, and delices.
For therby wenen they to han suffisaunce, honour, power, renoun,
and gladnesse. Than is it good, that men seken thus by so many
diverse studies. In whiche desyr it may lightly ben shewed how
gret is the strengthe of nature; for how so that men han diverse 85
sentences and discordinge, algates men acorden alle in lovinge the
ende of good.
Metre II.
Me. II. 3. A. om. the. 8. A. om. betinges. 9. C. horyble. 11. A. that (for 1st
and). 13. A. to-teren. 15. A. Iangland. // A. this (for 2nd that). 16. A. inclosed.
// C. streyht; A. streit. 17. C. pleynynge; A. pleiyng; Lat. ludens. 19. A. Ed.
agreable. 24. C. bent; A. bente. 27. A. in-to (for to). 30. C. hat; A. hath.
Prose III.
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.
textbookfull.com