1.to Study Supervisedunsupervisedreinforcement Learning Approach
1.to Study Supervisedunsupervisedreinforcement Learning Approach
Practical No. 01
Objectives:
In supervised learning, a data set includes its desired outputs (or labels) such that a
function can calculate an error for a given prediction. The supervision comes when a
prediction is made and an error produced (actual vs. desired) to alter the function and
learn the mapping.
In unsupervised learning, a data set doesn't include a desired output; therefore, there's
no way to supervise the function. Instead, the function attempts to segment the data set
into "classes" so that each class contains a portion of the data set with common features.
Finally, in reinforcement learning, the algorithm attempts to learn actions for a given
set of states that lead to a goal state. An error is provided not after each example (as is
the case for supervised learning) but instead on receipt of a reinforcement signal (such as
reaching the goal state). This behavior is similar to human learning, where feedback isn't
necessarily provided for all actions but when a reward is warranted.
Supervised models can be further grouped into regression and classification cases:
Classification:A classification problem is when the output variable is a category
e.g. “disease” / “no disease”.
Regression:A regression problem is when the output variable is a real continuous
value e.g. stock price prediction
For instance, suppose you are given a basket filled with different kinds of fruits. Now
the first step is to train the machine with all different fruits one by one like this:
If the shape of the object is rounded and has a
depression at the top, is red in color, then it will
be labelled as –Apple.
If the shape of the object is a long curving
cylinder having Green-Yellow color, then it will be labelled as –
Banana.
Supervised learning deals with or learns with “labeled” data. This implies that some data
is already tagged with the correct answer.
Types:-
Regression
Logistic Regression
Classification
Naive Bayes Classifiers
K-NN (k nearest neighbors)
Decision Trees
Support Vector Machine
Advantages:-
Supervised learning allows collecting data and produces data output from previous
experiences.
Helps to optimize performance criteria with the help of experience.
Supervised machine learning helps to solve various types of real-world computation
problems.
Disadvantages:-
Classifying big data can be challenging.
Training for supervised learning needs a lot of computation time. So, it requires a lot
of time.
Clustering
1. Exclusive (partitioning)
2. Agglomerative
3. Overlapping
4. Probabilistic
Clustering Types:-
1. Hierarchical clustering
2. K-means clustering
1. Positive –
Positive Reinforcement is defined as when an event, occurs due to a
particular behavior, increases the strength and the frequency of the
behavior. In other words, it has a positive effect on behavior.
a. Advantagesof reinforcement learning are:
i. Maximizes Performance
ii. Sustain Change for a long period of time
iii. Too much Reinforcement can lead to an overload of states which can
diminish the results
2. Negative –
Negative Reinforcement is defined as strengthening of behavior because a
negative condition is stopped or avoided.
a. Advantages of reinforcement learning:
i. Increases Behavior
ii. Provide defiance to a minimum standard of performance
iii. It Only provides enough to meet up the minimum behavior
iv. Various Practical applications of Reinforcement Learning –
DEFINITION Learns by using labelled Trained using unlabelled data Works on interacting with
data without any guidance. the environment
TYPE OF Labelled data Unlabelled data No – predefined data
DATA
TYPE OF Regression and Association and Clustering Exploitation or Exploration
PROBLEMS classification
References:-
[1] https://developer.ibm.com/developer/default/articles/cc-models-machine-learning/images/
figure01.png
[2] https://www.aitude.com/supervised-vs-unsupervised-vs-reinforcement/
[3] https://www.javatpoint.com/difference-between-supervised-and-unsupervised-learning
[4] https://www.ibm.com/cloud/blog/supervised-vs-unsupervised-learning
[5] https://www.geeksforgeeks.org/supervised-unsupervised-learning/
[6] https://machinelearningmastery.com/feature-selection-with-real-and-categorical-data/
[7] http://www.differencebetween.net/technology/differences-between-supervised-learning-and-
unsupervised-learning/
[8] https://starship-knowledge.com/supervised-vs-unsupervised-vs-reinforcement
[9] https://www.aitude.com/supervised-vs-unsupervised-vs-reinforcement/
[ 10 ] https://www.aitude.com/supervised-vs-unsupervised-vs-reinforcement/
[ 11 ] https://vitalflux.com/wp-content/uploads/2020/12/mind_map_machine_learning_3.jpg