Unit 1
Unit 1
• For each genuine transaction, the output is converted into some hash
values, and these values become the input for the next round. For each
genuine transaction, there is a specific pattern which gets change for the
fraud transaction hence, it detects it and makes our online transactions
more secure.
• Email Spam and Malware Filtering:
• Whenever we receive a new email, it is filtered automatically as important,
normal, and spam. We always receive an important mail in our inbox with
the important symbol and spam emails in our spam box, and the technology
behind this is Machine learning. Below are some spam filters used by Gmail:
• Content Filter
• Header filter
• General blacklists filter
• Rules-based filters
• Permission filters
• Some machine learning algorithms such as Multi-Layer Perceptron, Decision
tree, and Naïve Bayes classifier are used for email spam filtering and
malware detection.
• Virtual Personal Assistant:
• We have various virtual personal assistants such as Google
assistant, Alexa, Cortana, Siri. As the name suggests, they help
us in finding the information using our voice instruction. These
assistants can help us in various ways just by our voice
instructions such as Play music, call someone, Open an email,
Scheduling an appointment, etc.
• These virtual assistants use machine learning algorithms as an
important part.
• These assistant record our voice instructions, send it over the
server on a cloud, and decode it using ML algorithms and act
accordingly.
• Stock Market trading:
• Machine learning is widely used in stock market trading. In the
stock market, there is always a risk of up and downs in shares, so
for this machine learning's long short term memory neural
network is used for the prediction of stock market trends.
• Medical Diagnosis:
• In medical science, machine learning is used for diseases
diagnoses. With this, medical technology is growing very fast and
able to build 3D models that can predict the exact position of
infection or lesions.
• It helps in finding brain tumors and other brain-related diseases
easily.
• Automatic Language Translation:
• Nowadays, if we visit a new place and we are not aware of the
language then it is not a problem at all, as for this also
machine learning helps us by converting the text into our
known languages. Google's GNMT (Google Neural Machine
Translation) provide this feature, which is a Neural Machine
Learning that translates the text into our familiar language,
and it called as automatic translation.
• The technology behind the automatic translation is a
sequence to sequence learning algorithm, which is used with
image recognition and translates the text from one language
to another language.
DESIGNING A LEARNING SYSTEM
• Choosing the Training Experience
• Choosing the Target Function
• Choosing a Representation for the Target Function
• Choosing a Function Approximation Algorithm
Choosing the Training Experience
In order to illustrate some of the basic design issues and approaches to machine
learning, let us consider designing a program to learn to play checkers, with the goal of
entering it in the world checkers tournament.
• The type of training experience available can have a significant impact on success
or failure of the learner
• One key attribute is whether the training experience provides direct or indirect
feedback regarding the choices made by the performance system.
• A second important attribute of the training experience is the degree to which the
learner controls the sequence of training examples.
• A third important attribute of the training experience is how well it represents the
distribution of examples over which the final system performance P must be
measured.
• To proceed with our design, let us decide that our system will train by playing
games against itself. This has the advantage that no external trainer need be
present, and it therefore allows the system to generate as much training data as
time permits
• A checkers learning problem:
Task T: playing checkers
Performance measure P: percent of games won in the world tournament
Training experience E: games played against itself
In order to complete the design of the learning system, we must now choose
1. the exact type of knowledge to be,learned
2. a representation for this target knowledge
3. a learning mechanism
• Choosing the Target Function
• The next design choice is to determine exactly what type of knowledge
will be learned and how this will be used by the performance program.
• Choosing a Representation for the Target Function
• Now that we have specified the ideal target function V, we must choose a
representation that the learning program will use to describe the function
c that it will learn.
• allow the program to represent using a large table with a distinct entry
specifying the value for each distinct board state.
• Or we could allow it to represent using a collection of rules that match
against features of the board state, or a quadratic polynomial function of
predefined board features, or an artificial neural network.
Design a Learning System in Machine Learning