Practice
1. Why is machine learning important in everyday technology?
easy
Solution
Step 1: Understand machine learning's role
Machine learning allows computers to learn from data instead of relying on fixed rules.Step 2: Connect to everyday use
This learning helps computers make better decisions, like recommending movies or predicting weather.Final Answer:
It helps computers learn from data to make better decisions. -> Option AQuick Check:
Machine learning = learning from data [OK]
Hint: Machine learning means learning from data, not fixed rules [OK]
Common Mistakes:
- Thinking machine learning replaces all human jobs immediately
- Believing machine learning works without data
- Confusing fixed rules with learning from data
2. Which of the following is the correct way to describe machine learning?
easy
Solution
Step 1: Define machine learning
Machine learning is about computers learning patterns from data, not following fixed rules.Step 2: Eliminate incorrect options
Options A, B, and C describe wrong ideas: fixed rules only, ignores data and guesses randomly, or requires no data.Final Answer:
A technique where computers learn patterns from data. -> Option BQuick Check:
Machine learning = learning patterns from data [OK]
Hint: Machine learning means learning patterns from data [OK]
Common Mistakes:
- Confusing fixed rules with learning
- Thinking machine learning works without data
- Assuming machine learning guesses randomly
3. Consider this simple example: A machine learning model is trained to predict if a fruit is an apple or orange based on color. If the model sees a red fruit, what is the most likely prediction?
medium
Solution
Step 1: Understand the training data context
The model learned to predict apple or orange based on color. Red fruits are usually apples.Step 2: Predict based on color input
Given a red fruit, the model will most likely predict apple, as oranges are usually orange-colored.Final Answer:
Apple -> Option CQuick Check:
Red fruit = Apple prediction [OK]
Hint: Match color to fruit learned during training [OK]
Common Mistakes:
- Choosing orange for red fruit
- Picking banana which model was not trained on
- Selecting unknown when model predicts known classes
4. A machine learning model is trained to predict house prices but always predicts zero. What is the most likely problem?
medium
Solution
Step 1: Analyze the model's output
The model always predicts zero, which is unlikely for house prices.Step 2: Identify training issue
This usually means the model learned a wrong pattern, possibly due to bad or missing training data.Final Answer:
The model learned to predict zero due to incorrect training. -> Option AQuick Check:
Always zero output = training problem [OK]
Hint: Always same output means training issue [OK]
Common Mistakes:
- Assuming no data means random guesses
- Thinking zero is a perfect prediction
- Ignoring training data quality
5. You want to build a machine learning system to recommend movies based on user ratings. Which step is most important to make the system useful?
hard
Solution
Step 1: Understand recommendation system needs
To recommend movies well, the system needs to learn from many user ratings to find patterns.Step 2: Compare options
Fixed rules or ignoring preferences won't adapt well. One rating is too little data.Final Answer:
Collecting lots of user rating data to learn patterns. -> Option DQuick Check:
More data = better learning [OK]
Hint: More data helps machine learning find better patterns [OK]
Common Mistakes:
- Relying on fixed rules only
- Ignoring user preferences
- Using too little data for learning
