Machine Learning with Python for Everyone (Addison Wesley Data & Analytics Series) 1st Edition, (Ebook PDF) - Download the ebook and explore the most detailed content
Machine Learning with Python for Everyone (Addison Wesley Data & Analytics Series) 1st Edition, (Ebook PDF) - Download the ebook and explore the most detailed content
https://ebookmass.com/product/machine-learning-for-time-series-
forecasting-with-python-francesca-lazzeri/
https://ebookmass.com/product/fundamentals-of-machine-learning-for-
predictive-data-analytics-algorithms/
https://ebookmass.com/product/machine-learning-on-geographical-data-
using-python-1st-edition-joos-korstanje/
https://ebookmass.com/product/time-series-algorithms-recipes-
implement-machine-learning-and-deep-learning-techniques-with-python-
akshay-r-kulkarni/
https://ebookmass.com/product/big-data-analytics-introduction-to-
hadoop-spark-and-machine-learning-raj-kamal/
https://ebookmass.com/product/python-data-analytics-with-pandas-numpy-
and-matplotlib-3rd-edition-fabio-nelli-2/
5.9 EOC
5.9.1 Summary
5.9.2 Notes
5.9.3 Exercises
6 Evaluating Classifiers
6.1 Baseline Classifiers
6.2.6 F1
6.8 EOC
6.8.1 Summary
6.8.2 Notes
6.8.3 Exercises
7 Evaluating Regressors
7.1 Baseline Regressors
7.5.3 Residuals
7.6 EOC
7.6.1 Summary
7.6.2 Notes
7.6.3 Exercises
8.5.1 Covariance
8.5.3 Performing DA
8.7.1 Digits
8.8 EOC
8.8.1 Summary
8.8.2 Notes
8.8.3 Exercises
9.6 EOC
9.6.1 Summary
9.6.2 Notes
9.6.3 Exercises
10.4 Discretization
10.6.2 Interactions
10.8 EOC
10.8.1 Summary
10.8.2 Notes
10.8.3 Exercises
11.6 EOC
11.6.1 Summary
11.6.2 Notes
11.6.3 Exercises
IV Adding Complexity
12 Combining Learners
12.1 Ensembles
12.3.1 Bootstrapping
12.4 Boosting
12.6 EOC
12.6.1 Summary
12.6.2 Notes
12.6.3 Exercises
13.4 EOC
13.4.1 Summary
13.4.2 Notes
13.4.3 Exercises
14.4 EOC
14.4.1 Summary
14.4.2 Notes
14.4.3 Exercises
15.6.1 Sampling
15.7 EOC
15.7.1 Summary
15.7.2 Notes
15.7.3 Exercises
A mlwpy.py Listing
Visit https://ebookmass.com today to explore
a vast collection of ebooks across various
genres, available in popular formats like
PDF, EPUB, and MOBI, fully compatible with
all devices. Enjoy a seamless reading
experience and effortlessly download high-
quality materials in just a few simple steps.
Plus, don’t miss out on exciting offers that
let you access a wealth of knowledge at the
best prices!
Preface
1.1 WELCOME
From time to time, people trot out a tired claim that
computers can “only do what they are told to do”. The
claim is taken to mean that computers can only do what
their programmers know how to do and can explain to
the computer. Yet, this claim is false. Computers can
perform tasks that their programmers cannot explain to
them. Computers can solve tasks that their programmers
do not understand. We will breakdown this paradox with
an example of a computer program that learns.
I’ll start by discussing one of the oldest —if not the oldest
known —examples of a programmed, machine learning
system. I’ve turned this into a story, but it is rooted in
historical facts. Arthur Samuel was working for IBM in
the 1950s and he had an interesting problem. He had to
test the big computing machines that were coming off
the assembly line to make sure their transistors didn’t
blow up when you turned them on and ran a program —
people don’t like smoke in their workspace. Now, Samuel
quickly got bored with running simple toy programs and,
like many computing enthusiasts, he turned his
attention towards games. He built a computer program
that let him play checkers against himself. That was fun
for awhile: he tested IBM’s computers by playing
checkers. But, as is often the case, he got bored playing
two-person games solo. His mind began to consider the
possibility of getting a good game of checkers against a
computer opponent. Problem was, he wasn’t good
enough at checkers to explain good checkers stratgies to
a computer!
Samuel came up with the idea of having the computer
learn how to play checkers. He set up scenarios where
the computer could make moves and evaluate the costs
and benefits of those moves. At first, the computer was
bad, very bad. But eventually, the program started
making progress. It was slow going. Suddenly, Samuel
had a great two-for-one idea: he decided to let one
computer play another and take himself out of the loop.
Because the computers could make moves much faster
than Samuel could enter his moves —let alone think
about them —the result was many more cycles of “make
a move and evaulate the outcome” per minute and hour
and day.
Here is the amazing part. It didn’t take very long for the
computer opponent to be able to consistently beat
Samuel. The computer became a better checkers player
than its programmer! How on earth could this happen,
if “computers can only do what they are told to do”? The
answer to this riddle comes when we very carefully
express what the computer was told to do. Samuel did
not simply tell the computer to-play-checkers. He told
the computer to-learn-to-play-checkers. Yes, we just
went all meta on you. Meta is what happens when you
take a picture of someone taking a picture of someone
(else). Meta is what happens when a sentence refers to
itself; the next sentence is an example. This sentence has
five words. When we access the meta-level we step
outside the box we were playing in and we get an entirely
new perspective on the world. Learning-to-play-
checkers, a task that develops skill at another task, is a
meta-task. It lets us move beyond a limiting
interpretation of the statement: computers can only do
what they are told. Computers do what they are told, but
they can be told to develop-a-capability. Computers can
be told to learn.
1.2.1 Features
Let’s get a bit more concrete. For example —a meta-
example, if you will —a dataset focused on human
medical records might record several values for each
patient. Some relevant values are the height, weight, sex,
age, smoking history, systolic and diasystolic —that’s the
high and low numbers —blood pressures and resting
heart rate. The different people represented in the
dataset are our examples. The biometric and
demographic characteristics are our attributes.
We can capture this data very conveniently as in Table
1.1.
DI
DIEGO MARTELLI.
I.
Giotto.
II.
L'Angelico.
IV.
Andrea del Castagno.
V.
Piero della Francesca.
Emulo nello splendore della pittura, nella chiarezza dei suoi dipinti
all'Angelico, dotto in tutto ciò che l'arte dava allora di più pratico e di
più positivo, compositore di prim'ordine con una nota tutta sua
propria è Piero della Francesca. A Firenze poco abbiamo di lui,
tranne i due ritratti in profilo del duca e della duchessa d'Urbino che
vediamo nella Galleria degli Uffizi e che al di dietro della tavola
portano dei trionfi allegorici. Pur tuttavia questo piccolo esempio è
talmente forte che basta a persuadere chiunque dell'eccellenza
dell'artista. Piero della Francesca ha profilato le sue figure
leggermente di tono su un'aria limpidissima e su un paese che si
perde lontano lontano nell'orizzonte. Ora questa potenza di mettere
di contro alla luce una figura, di farne vedere tutti i dettagli, non
forzando oltre modo nè troppo caricando le tinte e nello stesso
tempo facendola risaltare su un cielo immensamente chiaro, e in un
paese chiarissimo, è opera precisamente di grande coloritore. Piero
della Francesca ha lasciato il più bel testamento artistico che si possa
mai immaginare nelle pareti del Coro del San Francesco in Arezzo, e
io consiglio chiunque è amatore della buona pittura di non trascurare
una gita ad Arezzo per vedere le pitture di Piero della Francesca.
La prima volta che io mi sono trovato costà davanti all'affresco
rappresentante la regina di Saba che va a visitare Salomone
(affresco nel quale abbiamo il re Salomone sotto una specie di
peristilio a colonne bianche di marmo mentre la regina è dalla parte
esterna di questo peristilio e comparisce in un paese dove sono
alberi verdi su un fondo ugualmente chiaro, in fondo al quale
rosseggiano le tinte del tramonto) io mi sono trovato davanti a una
pittura così luminosamente fresca, così brillantemente fatta che
primo fra gli artisti m'è saltato in testa Domenico Morelli in certi suoi
bianchi, in certi suoi effetti luminosissimi e violenti. Io vi dico questo
non per dirvi una cosa rara, perchè io nè di cose belle, nè di cose
rare fo mestiere, ma per dire una impressione che ho ricevuto; e se
un pittore che nasce nella prima metà del secolo XV, se un pittore
che nasce a quell'epoca lì, ha tanto in sè da rammentare di primo
acchito uno dei più moderni nostri moderni, mi pare che sia sempre
un bel gagliardo, e che viva d'una giovinezza assolutamente
imperitura. Egli campò vecchissimo; uomo insigne in matematica e
prospettico eccellente, scrisse anzi su questa materia dei dotti
volumi, i quali forse furono la causa per la quale l'opera sua di
pittore non è troppo abbondante. Dicesi che delle opere sue
rimanesse erede, per così dire, un fra Luca Pacioli suo discepolo, che
alla morte del maestro le dette per sue.
Questa pure è una accusa lanciata dal Vasari; Milanesi l'attenua e la
nega in parte. Comunque sia, resta che Piero della Francesca è uno
dei più insigni, dei più delicati pittori dell'epoca sua; il che non toglie
che fosse al solito un gran maestro in matematica e prospettiva,
uomo d'ingegno, e dei più colti dell'epoca nella quale viveva.
VI.
Benozzo Gozzoli, Alessandro Botticelli.
VII.
Il Ghirlandaio.
Egli nasce da Tommaso del Ghirlandaio della famiglia dei Bigordi nel
1449, ed arriva a tempo per riassumere i portati della scienza
pittorica che si era precedentemente sviluppata. Egli entra nell'arte
come c'è entrato il Verrocchio, come c'è entrato il Pollaiuolo, per la
via dell'oreficeria. Domenico Ghirlandaio è molteplice, splendido fra
tutti i pittori dell'epoca sua; finissimo anch'egli per la potenza del
chiaroscuro, finissimo anch'egli per la delicatezza della sua
intonazione.
La tavola della Galleria delle Belle Arti nella quale si rappresenta
l'adorazione dei pastori, e dove egli stesso ha ritratto la propria
effigie, ha un indietro lontano, con una cavalcata di signori, forse i re
Magi che vengono all'adorazione dell'infante Gesù, stupendo per
prospettiva aerea, per delicatezza di sfondo, per serenità di
ambiente. Il coro di Santa Maria Novella è là che parla; esso è
un'opera smisurata, colossale. La cappella di Santa Fina a San
Gemignano è un gioiello. Il Cenacolo che abbiamo qui in San Marco,
è un'altra cosa stupenda come colore perchè il Ghirlandaio è
potentissimo nel mettere bene le cose del primo piano, su dei fondi
chiari ed ariosi. Nella cappella di Santa Fina in San Gemignano che è
di un tono delicato ed argentino, nell'affresco del miracolo della
Santa da una finestrella si vede la campagna lontana, a perdita
d'occhio, luminosissimo è l'ambiente della stanza interna senza
essere sfacciatamente colorito, più che luminoso, scintillante è il
paese traveduto dalla finestrella. Tutte le tenuità, tutte le delicatezze,
tutte le finezze di un grande artista il Ghirlandaio tiene con sè. Egli
ha lavorato alla cappella Sassetti in Santa Trinità, cappella che
veramente, sia per la disposizione della luce, o pel modo con cui è
fatta, è molto oscura e poco decifrabile.
Ho però il piacere di potervi dare una bella notizia. Nei restauri che si
sono fatti adesso in Santa Trinità s'è scoperto l'affresco della parete
esterna della cappella, una grande pittura di dieci figure
rappresentante la Sibilla tiburtina che indica il monogramma e
predice la venuta di Cristo all'Imperatore. La Sibilla colle sue ancelle
da un lato accenna il monogramma; l'imperatore dall'altro lo guarda
quasi abbacinato. Questa scoperta si deve alla pazienza di Cosimo
Conti, il quale si offrì gratuitamente di cercare codesto affresco, e
ora dopo avere saputo che l'affresco c'era, ed aver visto che era
scoperto, finalmente, magna degnatione, il Ministero della Pubblica
Istruzione s'è deciso a farlo restaurare e rimettere.
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.
ebookmass.com