Assignment Foundations of Machine Learning 1
Assignment Foundations of Machine Learning 1
Supervised learning is when the computer learns from examples that already have the
answers. Like training it with pictures of animals where each one is labeled as a cat or
dog.
Unsupervised learning is when the computer is given data without labels and it has to
figure out patterns on its own. For example, grouping people by their interests.
Reinforcement learning is when the computer learns by doing something and getting
rewards or penalties. Like a game where it gets points for doing well and learns to do
better each time.
3. Difference between logical, geometric, and probabilistic models :
Geometric models look at things like distance and space in the data to make decisions.
4. Predicting diabetes:
a. I would go with supervised learning because we’re using data that already has known
results (people who have or don’t have diabetes), so the system can learn from that to
make future predictions.
b. A probabilistic model would be a good fit here, like logistic regression, because we
want to know how likely it is for someone to be at risk of diabetes based on things like
age and weight.
a. A good example is when shopping apps suggest products you might like. They learn
from what you’ve bought or searched for. This could involve both supervised learning
(based on your past choices) and unsupervised learning (grouping similar users
together).
b. This task fits machine learning well because there’s a lot of user data and patterns
that keep changing, which would be hard for a human to keep up with. ML helps the app
stay up to date and give better suggestions.