Unit-1-MLF-1
Unit-1-MLF-1
Fundamentals
B.Tech(CSBS), Btech(CSDS-311)
V Sem
Categorical
Fruit Price
value of fruit
apple 1 5
mango 2 10
apple 1 15
orange 3 20
One hot Encoding
Supervised learning and its characteristics:
• Supervised learning is a type of machine learning
where the model is trained on labeled examples,
consisting of input-output pairs
• The goal of supervised learning is to learn a
mapping or relationship between the input
features and their corresponding output labels
• During the training phase, the model learns from
the labeled data by adjusting its parameters to
minimize the difference between the predicted
outputs and the true labels
• The trained model can then make predictions or
classify new, unseen data based on the learned
patterns
Supervised Learning Examples
• Predicting House Prices:
• Given features like area, number of rooms,
location, etc., predict the price of a house
• The labeled data would consist of houses with
their corresponding prices