So, You Want To Learn Artificial Intelligence. Here's How You Do It
So, You Want To Learn Artificial Intelligence. Here's How You Do It
So, You Want To Learn Artificial Intelligence. Here's How You Do It
So, you
want to
learn
artificial
intelligence.
Here’s
how
you do
it.
8 min read
If you want to learn
how to build artificial
intelligence systems,
the first step is
simple: forget all
about artificial
intelligence. Instead
focus your attention
on machine
learning. That way,
you can be sure
you’re in the domain
of the practical
rather than the
domain of hype.
Mat Velloso
@matvelloso
Difference between
machine learning and AI:
If it is written in Python,
it's probably machine
learning
If it is written in
PowerPoint, it's probably
AI
Clearly, a question
will keep cropping
up: where next? Well,
this post should go
some way to helping
you.
Do you want to
learn artificial
intelligence? Read
Packt’s extensive
Learning Path
Python: Beginner’s
Guide to Artificial
Intelligence.
For a more
advanced guide,
check out Python:
Advanced Guide to
Artificial
Intelligence.
The basics of
machine
learning
If you want to build
artificial intelligence,
you need to start by
learning the basics
of machine learning.
Follow these steps:
Venturing
further into
machine
learning and
artificial
intelligence
The next step builds
on those
foundations. This is
where you begin
thinking about the
sorts of problems
you want to solve
and the types of
questions you want
to ask.
This is actually a
creative step where
you set the focus for
your project –
whatever kind of
pattern or
relationship you
want to understand,
this is where you can
do just that.
One of the
difficulties, however,
is making sure you
have access to the
data you need to
actually do what you
want. Sometimes,
you might need to
do some serious
web scraping or
data mining to get
hold of the data you
want – that’s beyond
the scope of this
piece, but there are
plenty of resources
out there to help you
do just that.
(If you’re trying
( y y g
machine learning for
the first time, we’d
suggest using one of
these data sets and
playing around to
save you collecting
data).
Getting to
grips with
data
modelling
Although machine
learning modelling is
the next step in the
learning journey,
arguably it should
happen at the same
time as you’re
thinking about both
the questions you’re
asking and the
different data
sources you might
require. This is
because the model
– or models – you
decide to employ in
your project will
follow directly from
the problems you’re
trying to tackle and,
indeed, the nature
and size of the data
and size of the data
sets you eventually
use.
Supervised
machine
learning
algorithms
Supervised learning
is where you have
an input and an
output and you use
an algorithm to
better understand
the relationship
between the two.
Ultimately, you want
to get to a point
when your machine
learning system
understands the
relationship in such
a way that you could
predict an output.
Supervised learning
can also be broken
down into
regression or
classification.
Regression is where
the output is a
number or value,
while classification is
a specific category,
or descriptor.
p
Some algorithms
can be used for both
regression and
classification
problems, such as
random forest, while
others can be used
for one or the other.
For example, support
vector machines
can be used for
classification
problems, while
linear regression
algorithms can, as
the name indicates,
be used for
regression problems.
Unsupervised
machine
learning
algorithms
Unsupervised
machine learning
contrasts from
supervised machine
learning in that there
are no outputs on
which the algorithm
works. If supervised
learning ‘tells’ the
algorithm
the
answers from which
it then needs to
understand how
those answers were
generated,
unsupervised
learning aims to
understand the
underlying structure
within a given set of
data. There aren’t
any answers to
guide the machine
learning algorithm.
Okay, so
what
about
artificial
intelligence?
By now you will have
a solid foundation of
knowledge in
machine learning.
However, this is only
the tip of the iceberg
– machine learning
at its most basic
provides a very
limited form of
artificial intelligence.
Advances in artificial
intelligence are
possible through
ever more powerful
algorithms –
artificial or deep
neural networks –
that have additional
layers of complexity
(quite literally
additional neurons).
Hardware
considerations
for deep
learning
One of the most
important
considerations for
any deep learning
projects you want to
try is the hardware
you’re using. For a
basic machine
learning problem,
this shouldn’t be an
issue. However, but
as the computations
on which your deep
learning system is
working become
more extensive, the
hardware you use to
run will become a
challenge you need
to resolve.
The likes of
TensorFlow, Keras,
and PyTorch are all
helping engineers
and data scientists
build deep learning
models of
considerable
sophistication.
Although they each
have their own
advantages, and it’s
well worth spending
some time
comparing them,
there’s certainly a lot
there s certainly a lot
to be said for simply
getting started with
them yourself.
What about
cloud’s impact
on machine
learning and
artificial
intelligence?
An interesting
development in the
machine learning
space is the impact
of cloud based
solutions. The likes of
Azure, AWS and
Google Cloud
Platform are all
offering a number of
different services
and tools from
within their
overarching cloud
products that make
performing machine
and deep learning
tasks much easier.
While this is
undoubtedly going
to be an important
development,
and,
indeed, one you may
have encountered
already, there is no
substitute for simply
getting your hands
dirty with the data
and seeing how the
core principles
behind machine
learning and
artificial intelligence
actually work.
Conclusion:
Don’t be
scared, take
machine
learning and
artificial
intelligence
one step at a
time
Clearly, with so
much hype around
artificial intelligence
its easy to get stuck
before you begin.
However, by
focusing on the core
principles and
practical application
of machine learning
of machine learning
you will be well on
your way to helping
drive the future of
artificial intelligence.
Learn artificial
intelligence from
scratch with
Python: Beginner’s
Guide to Artificial
Intelligence.
Dive deeper into
deep learning and
artificial
intelligence with
Python: Advanced
Guide to Artificial
Intelligence.
Richard Gall
Co-editor of the Packt Hub.
Interested in politics, tech
culture, and how software
and business are changing
each other.
PREVIOUS NEXT
PUBLISHED BY
Richard Gall
TAGS:
8 MONTHS AGO
RELATED POST
“The Vue.js
community is one
of Vue’s biggest
selling points” –
Marina Mosti on
Vue and
JavaScript in 2019
[Interview]
Vue occupies an interesting
position in the triumvirate of
frontend JavaScript
frameworks. Not hyped to…
Microsoft’s Visual
Studio IntelliCode
gets improved
features: Whole-
line code
completions, AI-
assisted
refactoring, and
more!
At the Ignite 2019, Microsoft
shared a few improvements
to the Visual Studio
IntelliCode, Microsoft’s…
RECENT POSTS
Apple introduces
Swift Numerics to
support numerical
computing in Swift
Yesterday, Steve Canon, a
member of Apple’s Swift
Standard Library team
announced a new open-
source project called Swift
Numerics. The…
12 hours ago
“The Vue.js
community is one
of Vue’s biggest
selling points” –
Marina Mosti on
Vue and
JavaScript in 2019
[Interview]
Vue occupies an interesting
position in the triumvirate of
frontend JavaScript
p
frameworks. Not hyped to
the extent that React is,…
14 hours ago
Fastly announces
the next-gen edge
computing
services available
in private beta
Fastly, a New York based
startup, providing edge
cloud platform, yesterday
announced the private beta
launch of Compute@Edge,
its new…
18 hours ago
Neo4j introduces
Aura, a new cloud
service to supply a
flexible, reliable
and developer-
friendly graph
database
Last year Neo4j had
Last year, Neo4j had
announced the availability
of its Enterprise Edition
under a commercial license
that was aimed at larger…
2 days ago
Yubico reveals
Biometric YubiKey
at Microsoft Ignite
On Tuesday, at the ongoing
Microsoft Ignite, Yubico, the
leading provider of
authentication and
encryption hardware,
announced the long-
awaited YubiKey…
2 days ago