Q.1
14 MarksDefine Machine Learning & Human Learning. Give at least two differences between machine learning and human learning.
Machine learning is the ability of a computer to learn from data and get better at a task without being programmed step by step.
Human learning is the way a person gains knowledge and skill by study, by being taught, or from experience.
| Point | Machine learning | Human learning |
|---|---|---|
| Data needed | A large amount of data | A few examples are enough |
| Use of knowledge | Works only on the task it was trained for | Can use the same knowledge on new tasks |
Also asked in Summer 2026 Q5b OR
Reinforcement learning is a type of machine learning in which an agent (the learner) learns by trial and error. The agent acts in an environment. It gets a reward for a good action and a penalty for a bad one. Over time it learns the actions that give the highest total reward.
Example: a robot learning to walk. Each step without falling earns a reward. Each fall earns a penalty.
Key features:
- No labelled data. Nobody tells the agent the right answer. It learns only from rewards.
- Trial and error. The agent must try actions to find out which ones are good.
- Delayed reward. A reward can come many steps after the action that caused it, as in a game of chess.
- Exploration and exploitation. The agent has to balance trying new actions (exploration) with repeating actions that already worked (exploitation).
- Sequence of decisions. Each action changes the next situation, so the decisions depend on one another.
State the different techniques for data pre-processing? Explain, in brief, dimensionality reduction and feature selection.
Data pre-processing techniques
Real data is often incomplete, noisy and measured on different scales. Pre-processing prepares it for a model. The main techniques are:
- Data cleaning: fill in or remove missing values and correct wrong or noisy values.
- Data integration: combine data from several sources into one data set.
- Data transformation: bring values to a common scale (normalisation) and convert text labels into numbers (encoding).
- Data reduction: make the data smaller without losing important information. Dimensionality reduction and feature selection are two ways to do this.
Dimensionality reduction
A feature is one input column of the data set. The number of features is called the dimension of the data.
Dimensionality reduction builds a small set of new features from the original ones and keeps most of the information.
- A common method is Principal Component Analysis (PCA). It combines related features into a few new features called principal components.
- Example: 100 features of an image can be reduced to 10 principal components.
- Benefits: faster training, less storage, and data that can be plotted in 2D or 3D.
Feature selection
Feature selection keeps some of the original features and drops the rest. No new feature is created.
- It removes irrelevant features, which have no link with the output. Example: roll number when predicting marks.
- It removes redundant features, which repeat the same information. Example: height in cm and height in inches.
- Approaches: filter (score each feature with a statistical measure), wrapper (train the model on different subsets and keep the best) and embedded (the model selects features while it trains).
| Point | Dimensionality reduction | Feature selection |
|---|---|---|
| Result | New features | A subset of the original features |
| Meaning of features | Changes | Stays the same |
| Example | PCA | Dropping a column with low correlation |
Pre-processing cleans, combines, transforms and reduces data. Dimensionality reduction creates a few new features. Feature selection keeps the best of the original features.