Module 1 Part A
Module 1 Part A
May 7, 2024
● What is Machine Learning (ML)
1 2 3 4 5
● Set up a camera.
● Identify physical differences like
length, lightness, width, number and
shape of fins, position of mouth etc as
a features.
● Using these features for classifier to
identify and classify the two fishes
(Object)
Pre Processing: First the camera captures an image of the fish. Next,
the camera’s pre- signals are preprocessed to simplify subsequent
operations without losing relevant information.
Segmentation: In particular, we might use a segmentation operation in
which the images of different fish are somehow isolated from one
another and from the background.
Feature Extraction: The information from a single fish is then sent to a
feature extractor, whose purpose is to feature extraction reduce the
data by measuring certain “features” or “properties.”
Classifier: These features (or, more precisely, the values of these
features) are then passed to a classifier that evaluates the evidence
presented and makes a final decision as to the species.
For instance, as a fish packing company we may know that our customers
easily accept occasional pieces of tasty salmon in their cans labeled “sea
bass,” but they object vigorously if a piece of sea bass appears in their cans
labeled “salmon.”
Deciding the fish was a sea bass when in fact it was a salmon is Costly.To
avoid this consequence, we adjust our decision boundary to avoid cost, even if
it means that more salmon makes its way into the cans of sea bass.
What is our true task?
our true task is to make a decision rule (i.e., set a decision boundary) so as
to minimize such a cost.
To improve recognition, then, we must resort to the use of more than one
feature at a time. Now we have two features for classifying fish — the lightness
x1 and the width x2.
Thus the feature vector reduced to two dimension ie a space and we need
find a decision boundary to segregate two categories as follows,
We realize that the feature extractor has thus reduced the image of each fish to
a point or feature vector x in a two-dimensional feature space.
Overall classification error on the data shown is lower than if we use only one
feature but there will still be some errors.