Professional Documents
Culture Documents
Machine learning (ML) can be broadly defined as computational methods using important data and
experience to improve the performance or to make accurate predictions.
Unsupervised machine learning problems: problems where our data does not have a set of
defined set of categories, but instead, we are looking for the machine learning algorithms to help
us organize the data.
That means, supervised machine learning problems have a set of historical data points which we
want to use to predict the future, unsupervised machine learning problems have a set of data
which we are looking for machine learning to help us organize or understand.
Reinforcement includes a specific task or goal that the system must complete.
Throughout the process, it receives feedback in order to learn the desired behaviours. For
example, the system encounters an error while performing the action or a reward for achieving the
most favourable outcome. Thus, the program is able to learn the most effective approach via
reinforcement signals
To use machine learning in the applications or even to learn it, there are two
ways
Data Outcomes
Machine learning
Algorithms
Dr. Mohand Tuffaha
2.1 Understanding what machine learning is all about
Scenario 1 :
You need to predict whether customers of your e-commerce store will make a purchase or leave.
To train a model in doing this type of prediction you “feed” an algorithm with a data set that stores different records of
customer behaviours and the results, such as whether customers left or completed a purchase. By learning from this
historic data, a model will be able to make predictions on future data.
As the following :
1. Gather data. Use your IT infrastructure to gather as many suitable records as possible and unite them into
a data set.
2. Prepare data. Prepare your data to be processed in the best practical way
3. Split data. Separate subsets of data to train a model and further evaluate how it performs against
new data.
4. Train a model. Use a subset of historic data to let the algorithm recognize the patterns in it.
5. Test and validate a model. Evaluate the performance of a model using testing and validation
subsets of historic data and understand how accurate the prediction is.
6. Utilize a model. Embed the tested model into your decision-making context as a part of an analytics
solution.
7. Iterate. Collect new data after using the model to incrementally improve it.
Dr. Mohand Tuffaha
2.1 Understanding what machine learning is all about
One of the best ways to understand ML is to look at its various applications in the business world.
Data security:
In an attempt to avoid detection, people who produce malware constantly
change the code, typically 2 to 10 percent, but with ML, security software can
accommodate this small percentage in variation and accurately identify the
newly created malware. It can also look for patterns in how data is accessed to
identify possible security threats.
Investing and Fintech:
ML enables computers to process vast amounts of financial data and use its
findings to predict changes in the market and in prices of individual stocks and
bonds. Computers can also execute trades at higher speeds and volumes than
can traditional traders, enabling them to generate large profits for investors
Dr. Mohand Tuffaha
2.1 Understanding what machine learning is all about
Healthcare:
With ML, doctors can use computers to do everything from diagnosing
illnesses significantly earlier than they would otherwise be diagnosed to
identifying variables that predict whether a patient will develop a specific
illness.
Online searches:
Google and other online search sites use ML to rank items in their search
results. If you search for a term, click a certain link and remain on that page for
some time, Google assumes that the page provided what you needed, which
may give a boost to that page in the rankings for when you or someone else
searches for that same word or phrase.
Dr. Mohand Tuffaha
2.1 Understanding what machine learning is all about
Smart devices:
Smart devices collect data regarding their usage and personalize their operation based on those patterns. For
example, a smart thermostat can learn your schedule and start cranking up the heat just before you come home
from work and crank it down just before you go to sleep.
Deep learning is a class of machine learning techniques that exploit many layers of nonlinear information
processing for supervised or unsupervised feature extraction and transformation, and for pattern analysis and
classification.
With deep learning, it is possible to recognize, classify and categorize patterns in data for a machine with
comparatively less efforts
The basic idea of deep learning is to employ hierarchical processing using many layers of architecture. The
layers of the architecture are arranged hierarchically.
Each layer’s input is provided to its adjacent layer after some pretraining. Most of the time, such pretraining
of a selected layer is done in unsupervised manner.
With deep learning, it is possible to recognize, classify and categorize patterns in data for a machine with
comparatively less efforts
Deep learning facilitates arrangement and processing of the data into different layers according to its time
(occurrence), level or nature.
Massive amounts of data are available via mobile e-commerce. This data
has allowed deep learning algorithms to trace the buyer journey and by doing
that machines now have a clear picture of what kind of product information
buyers search for when they are making purchase decisions for different things.
Because the machines can hold and reference massive amounts of information at
once while applying learned knowledge, they are able to predict what kind of
purchases consumers are likely to make before they have made a decision.
Dr. Mohand Tuffaha
2.3 Imitating neural networks
A biological brain is composed of billions of neurons that communicate with one another
electrochemically across minute gaps called synapses. A single neuron can have up to 10,000 connections with
other neurons. The human brain has about 100 billion neurons communicating with one another across well
over 100 trillion synapses (up to 1,000 trillion synapses by some estimates).
These neurons increase the strength of their connections based on learning and practice. For example,
when you’re learning to juggle, your neurons strengthen existing connections and create new connections for
developing that skill. That’s why the more you practice the better you get; your brain builds new paths to
improve your hand-eye coordination.
Artificial neural networks consist of interconnected nodes organized into layers: an input layer, hidden
layers, and an output layer. All layers are connected through connections between nodes in the various layers.
The idea behind these artificial neural networks is that the nodes will eventually make enough
adjustments to produce the correct output, without receiving additional information at the input level
Neural networks learn to recognize the patterns which exist in the data set. The system is developed
through learning rather than programming. Programming is much more time consuming for the analyst and
requires the analyst to specify the exact behaviour of the model. Neural networks teach themselves the
patterns in the data, freeing the analyst for interesting work.
Neural networks can build informative models where more conventional approaches fail. Because
neural networks can handle very complex interactions, they can easily model data which is too difficult to
model with traditional approaches such as inferential statistics or programming logic.
Since neural networks are best at identifying patterns or trends in data, they are well suited for
prediction or forecasting needs including:
• Sales forecasting
• Industrial process control
• Customer research
• Data validation Note: It is important to remember that. Although there are
limitations for ANN. But in general, the result can still be faster
• Risk management other data analysis approaches, even when the system Takes
• Target marketing longer to train. Processing speed alone is not the only factor in
performance, and neural networks do not require the time
programming and debugging or testing Assumptions that other
analytical approaches do.