Machine Learning and its Applications 1st Edition Peter Wlodarczak pdf download
Machine Learning and its Applications 1st Edition Peter Wlodarczak pdf download
https://textbookfull.com/product/machine-learning-and-its-
applications-1st-edition-peter-wlodarczak/
https://textbookfull.com/product/mathematics-for-machine-
learning-1st-edition-marc-peter-deisenroth/
https://textbookfull.com/product/industrial-applications-of-
machine-learning-pedro-larranaga/
https://textbookfull.com/product/ai-as-a-service-serverless-
machine-learning-with-aws-1st-edition-peter-elger/
https://textbookfull.com/product/machine-learning-refined-
foundations-algorithms-and-applications-second-edition-borhani/
Machine Learning Refined: Foundations, Algorithms, and
Applications Second Edition Jeremy Watt
https://textbookfull.com/product/machine-learning-refined-
foundations-algorithms-and-applications-second-edition-jeremy-
watt/
https://textbookfull.com/product/mathematical-theories-of-
machine-learning-theory-and-applications-bin-shi/
https://textbookfull.com/product/blockchain-big-data-and-machine-
learning-trends-and-applications-first-edition-kumar/
https://textbookfull.com/product/teaching-learning-based-
optimization-algorithm-and-its-engineering-applications-1st-
edition-r-venkata-rao/
https://textbookfull.com/product/machine-learning-algorithms-for-
industrial-applications-santosh-kumar-das/
Machine Learning and
its Applications
Peter Wlodarczak
University of Southern Queensland
Toowoomba, Queensland, Australia
p,
p,
A SCIENCE PUBLISHERS BOOK
A SCIENCE PUBLISHERS BOOK
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
© 2020 by Taylor & Francis Group, LLC
CRC Press is an imprint of Taylor & Francis Group, an Informa business
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted,
or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, includ-
ing photocopying, microfilming, and recording, or in any information storage or retrieval system, without written
permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.copyright.com
(http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers,
MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and registration for a variety
of users. For organizations that have been granted a photocopy license by the CCC, a separate system of payment
has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for
identification and explanation without intent to infringe.
such as robots who could turn evil, loss of control over existential
infrastructure or even a war starting due to artificial intelligence.
However, it should be noted that artificial intelligence, as the name
suggests, is artificial and has nothing to do with human intelligence. A
machine may be capable of recognizing whether an animal in a picture
is a lion or a tiger, but it is not able to understand the concept behind
what it recognized, i.e., it does not understand the concept of a living
being. A deep learner is, in essence, a huge mathematical formula. It
has nothing to do with how the human brain works, where biochemical
processes are executed. An artificial neural network is inspired by
nature. It has a grain of how we think the brain works and a lot of math
thrown at it. Visions of machines replacing doctors in diagnosing a
patient or lawyers in sentencing a perpetrator are probably premature.
It is more likely that we will see artificial intelligence supporting a
doctor or a lawyer in his daily work instead of replacing her or him in
the near future.
This book aims to explain the basic concepts behind machine learning
and the machine learning methods. It is the work of several years of
experience in applying these methods in practice in various projects. It
tries to give a concise description of the algorithms and the math behind
them to the level where it helps explain the inner workings. However,
it is not intended to give an exhaustive mathematical description with
all the derivations. Also, machine learning goes back to the 1940’s
and has evolved since then and many different techniques have been
developed, too many to describe in one single book. Also, for virtually
every machine learning method, variations have been proposed that
might be more suitable for certain problems than others. Nevertheless,
some of the basic concepts apply to many of these methods and
understanding them makes it easy to familiarize oneself with new
methods that have not been used before. This book is written in such
a way that each chapter can be read individually with the caveat that
some redundancy exists in the chapters. This book will hopefully make
it easier for the reader to get started with machine learning and support
them in the fascinating journey through the world of data science and
machine learning.
Contents
Preface v
List of Figures xiii
List of Tables xv
SECTION I: INTRODUCTION
1. Introduction 3
1.1 Data mining 5
1.2 Data mining steps 6
1.3 Data collection 7
1.4 Data pre-processing 8
1.5 Data analysis 10
1.5.1 Supervised learning 10
1.5.2 Unsupervised learning 11
1.5.3 Semi-supervised learning 12
1.5.4 Machine learning and statistics 13
1.6 Data post-processing 15
2. Machine Learning Basics 17
2.1 Supervised learning 19
2.1.1 Perceptron 21
2.2 Unsupervised learning 25
2.2.1 k-means clustering 27
x < Machine Learning and its Applications
3. Data Pre-processing 43
3.1 Feature extraction 44
3.2 Sampling 46
3.3 Data transformation 47
3.4 Outlier removal 47
3.5 Data deduplication 48
3.6 Relevance filtering 48
3.7 Normalization, discretization and aggregation 49
3.8 Entity resolution 50
4. Supervised Learning 53
4.1 Classification 56
4.1.1 Artificial neural networks 57
4.1.2 Bayesian models 67
4.1.3 Decision trees 69
4.1.4 Support vector machines 74
4.1.5 k-nearest neighbor 79
4.2 Regression analysis 82
4.2.1 Linear regression 85
4.2.2 Polynomial regression 91
4.3 Logistic regression 92
5. Evaluation of Learner 97
5.1 Evaluating a learner 97
5.1.1 Accuracy 99
5.1.2 Precision and recall 99
5.1.3 Confusion matrix 101
5.1.4 Receiver operating characteristic 103
Contents < xi
Introduction
CONTENTS
1.1 Data mining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Data mining steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Data collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4 Data pre-processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5 Data analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5.1 Supervised learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5.2 Unsupervised learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.5.3 Semi-supervised learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.5.4 Machine learning and statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.6 Data post-processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Machine learning has gained momentum in the past years due to big
progresses, in particular using deep learners, that have been made in
object and speech recognition and autonomous systems, such as au-
Introduction 5
Humans learn from experience, machines learn from data. Data is the
starting point for all machine learning projects. Machine learning tech-
niques learn the rules from historic data in order to create an inner rep-
resentation, an abstraction, that is often difficult to interpret. Program-
ming computers to learn from experience should eventually eliminate
the need for much of this detailed programming effort [35].
6 Machine Learning and its Applications
Often there is more than one data source and multiple data sources
need to be combined, a process called data integration. As a general
technology, data mining can be applied to any kind of data as long as
the data are meaningful for a target application [10].
CONGRATULATIONS, you just won 3,5 million CONGRATULATIONS~ won 3,5 million
Dollars. Click on the link below to claim your 9ellaf!r.. Click eA-ttte link &elew4& claim your
3,5 million Dollar reward: 3,5 million 9eJ.Ia.f reward:
http://natlottery.claimreward.ru http://natlottery.claimreward.ru
Extracting the relevant information from a data set is called feature ex-
traction. It selects the relevant observation points from raw data. Some-
times the feature set is reduced, a process called feature selection. Fea-
ture selection helps to avoid overfitting since it reduces the complexity,
but it should still describe the data with sufficient accuracy. The result-
ing set of features is represented as a feature vector. A feature vector is
what many machine learning algorithms use as input. Features can be
numerical, e.g., the age of a person, or categorical, e.g., the job title of
a person. The input for a machine learning algorithm can be a tensor
with any number of dimensions. If the tensor has one dimension it is a
vector, if it has two dimensions it is a matrix.
biguous. In other words, chess data has no noise and a limited set of
rules.
When this question was put, Alaister was always sure the
scold was over, however cross the voice was in which it was
asked; so he began at once to tell all the events of a
harvest home at which he said he had been the night
before, but he was at once stopped by an angry “Hout!”
from his wife, and then followed a storm of abuse for telling
her about things which had happened three years before;
then, pointing to the fields of green oats that were to be
seen all around, she asked him what sort of harvest home
there could be at that time of year. Alaister was sorely
puzzled, for certainly the corn was still green; but yet he
felt sure it was only yesterday he had been at the harvest
feast, and if not at that—where had he been? He could
remember nothing of the wedding, and stared at his wife,
who at last began to be alarmed at his perfectly stupid look,
and said, “Is the man fey?” As soon as she said this, his
night’s adventure returned to his mind, and looking on the
ground, he saw it alive with fairies, laughing and mocking
him. Had it been earlier in the day, he would have run out
of the house, but it was nearly dark, and the uncomfortable
Will-of-the-Wisp came into his mind, so he sank down again
in his chair, and shut his eyes, fully determined not to
speak; but he could not keep this resolution. Again and
again he was impelled to begin stories, and as often was he
told that these things had happened years before. He then
tried to play, but could remember none but the very oldest
tunes, such as had been out of date for many years, and
when, wearied in mind and body, he fell asleep, he dreamed
of fairies and discomforts all night long.
Then came the feast, and this time Alaister was given on
acorn cup full of brightest mountain dew; and though he
thought it a small allowance for a full-grown man, still he
knew that the little creatures had no larger cups; and not to
disappoint them or fail in his manners, he nodded to the
king, and with a “Here’s your very gude health, sir,” emptied
his cup. Immediately he sunk back on the floor and slept,
for the dew that had been given him has, it is said,
wonderful powers, making mortals forget their homes and
former lives, and desire only to be with the fairies.
How long he slept no one can tell; he never more was seen:
but on calm summer nights his pipes can be heard droning
under ground, or in the sweet birch wood. From their being
heard to this day it is supposed that those who enter the
service of the fairies become immortal; but no one has
ventured to watch the gambols of the “gude fouk,” so as to
ascertain whether it is Alaister himself who still leads their
march, or whether another has succeeded him; indeed, the
glen is more shunned than ever, and the cave goes by the
name of the Piper’s Cave in all that district, while the
expression “Piper’s news” is known over the whole world.
Story 9--Chapter I.
STORY NINE—The Genius of the Atmosphere.
High up on the side of a lofty mountain, overlooking the
wide ocean, several boys were seated together on the moss
and lichens which clothed the ground, and were the only
vegetable productions of that elevated region. The bright
sea sparkled in sunshine, far, far down below their feet,
though hidden at times from their sight by the dark clouds
which came rolling on, sometimes enveloping them in mist,
and at others breaking asunder and floating away far inland
towards other ranges of distant hills. High above their heads
rose a succession of rugged peaks, black, barren, and
fantastic in form, which the foot of man had never trod. The
boys on a party of pleasure had climbed up from a town by
the sea-side, and had brought with them, in knapsacks and
baskets, a supply of provisions, which they now sat down to
discuss. The keen pure air, and the exercise they had
undergone, sharpened their appetites and raised their
spirits, and they sat laughing and talking, and apparently
enjoying themselves to the utmost. Far below their feet
sea-fowl were skimming rapidly through the air, wheeling
and circling, now descending to the bright water below, and
then rising again up into the clear expanse of ether,
rejoicing in their freedom. On a crag below them, near
where she had built her nest, stood an osprey. With wings
expanding she prepared to take her flight; then off with a
cry of joy she flew, darting through the atmosphere, away,
away, over the ocean, looking down upon the tall ships
which sailed along slow and sluggishly compared to her
rapid progress. The boys eagerly watched her till she was
lost to sight in the distance.
“Oh, how I wish that I could fly, that I might skim over the
world like that sea eagle!” cried one, clapping his hands;
“what glorious fun would it not be? I should never consent
to walk again. All other amusements would be tame and
tasteless in comparison. Truly yes, it mast be a fine thing to
be able to fly like a bird. To fly!—to fly! Away!—away!” The
speaker as he uttered these words rose and stretched out
his arms over the ocean, as if in imagination at all events
he was about to spring off from his lofty perch, and to
follow the course of the osprey.
“You were all of you just now expressing a wish that you
could fly,” she said, in a sweet silvery tone. “Why do you
thus with to possess a power for which your All-wise
Creator has not designed you? Even could you by any
means secure wings to your body, of size sufficient to lift
you from the ground, your muscular powers are totally
inadequate to work them; your senses are not adapted to
the existence of a fast-flying bird; your brain would grow
dizzy, your eyes dim, you would be unable to draw breath in
the upper regions, through which your ambition would
induce you to wing your flight; you would speedily destroy
all your other senses. Be content with your lot. Still, if you
have a good object for your wishes, perhaps under certain
limitations they may be granted. Let me hear why you wish
to enjoy the power of flying?”
“You need not say more,” observed the lady, and pointed to
another boy.
“Child of Earth, follow me,” said the Genius; and the boy
floated gently on, till he found himself in a region of perfect
calms. Below him, as he looked towards the earth, he saw
mountains of snow, and fields of ice glittering gloriously in
the slanting rays of the sun.
On floated the boy and his guide, far up above the globe,
still on, in rather a less direct line than before, till again a
golden cloud was met, and gently that, and the cloud they
followed, descended till the earth was seen once more.
“We are at the antarctic pole,” said the Genius. “See, our
cloud of silver meets another of gold, pressing gently.” Up,
up, they mount. “Once more we will move towards the
tropic of Capricorn, high up above the globe. Now we
descend in that calm region; and now close to the earth we
are moving on. But see, coming from the southern pole, the
globe moves as before, from west to east; and thus this
mass of air, of which our silvery cloud, remember, is but a
portion, seems to those on the earth to be coming from the
south-east. As this wind is always blowing, and as ships by
getting within its influence are borne easily forward, and it
thus facilitates commerce, it is called the south-east trade-
wind.”
As they flew towards the mountain whence they set out, the
boy expressed his thanks to the Genius; if he did not
comprehend all that she had shown him and told him, he
knew more about the matter than he had before done. She
saw by the expression of his countenance the gratification
he had enjoyed. “’Tis well,” she continued; “as a drop of
water is to the ocean which lies beneath us, so is the
knowledge you may obtain in a lifetime to the wonders
nature has to reveal. You desire to know more; gladly will I
show you more. Whenever you climb up to this rocky height
I will meet you, as I have done to-day, and each time unfold
new wonders to your view. Ah, you think that I might
descend to you, without making you toil up the mountain;
but know that knowledge will not come to you; you must
exert yourself, you must labour to attain it. You say that you
will willingly climb the height. That is well. That is the spirit
which ensures success. Return to your companions. They
will not have missed you.”
But it was a tough job, for the stone was very big, and well
set in the rock; but after a deal of straining and pushing,
down it went with dull thuds, as it fell from rock to rock,
and at last it splashed into the water, which seethed up as
though trying to get at and drown me.
The job must have taken me longer than I thought for, for
when I looked before me I could see no one, and as I
looked I began to see that twilight was coming on.
Now, I don’t know whether you have been much among our
own high hills in Scotland or Wales; but, if you have, you
must know how rapidly night comes on. It is day one
moment and night the next, so to speak.
Well, I groped on, but I didn’t like it. If it had been a storm
at sea now, I should not have cared much; if the mountains
about me had only been of water, I should not have cared
at all; but when I knew that a false step might send me
toppling down as the rock had toppled before me, I don’t
mind owning that I grew to like it all less and less.
As the last rays of light died out, and as the snow whirled
about me, I remember, as though it would be glad to make
my winding-sheet, I turned cautiously towards a slope of
rock, feeling with my stick before I took a step, for the
snow will fill up a crevice in no time, and you may sink
twenty feet before you know where you are; and at last I
touched the rock.
You may believe I dashed out my fist, and felt it sink a foot
deep in the soft snow, which I rightly guessed had drifted
up against the opposite side of the cavern till it fell over and
rolled up against me.
I dare say you will hardly believe it, but in a few moments
all my fear had gone, and I found myself growing grateful to
this creature, for he made me so good a blanket that the
heat came back into my body, and I felt no longer that dull
sleepiness of which I have spoken.
I do not at all know how long I had thus lain, when a bark
was heard, which disturbed the regular breathings of my
hairy friend, and I felt his big heart beat above me. Again
there was a bark, the broad loud bark of a big dog, and it
sounded much nearer than the first.
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