0% found this document useful (0 votes)
53 views8 pages

Machine Learning 2marks R23

The document provides a comprehensive overview of key concepts in Machine Learning, including definitions and explanations of various paradigms, algorithms, and techniques such as supervised learning, K-Nearest Neighbor, decision trees, and clustering methods. It covers essential topics like feature engineering, model selection, and the bias-variance trade-off. Additionally, it discusses specific algorithms like Random Forest, Naïve Bayes, and logistic regression, along with clustering techniques like K-Means and fuzzy clustering.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views8 pages

Machine Learning 2marks R23

The document provides a comprehensive overview of key concepts in Machine Learning, including definitions and explanations of various paradigms, algorithms, and techniques such as supervised learning, K-Nearest Neighbor, decision trees, and clustering methods. It covers essential topics like feature engineering, model selection, and the bias-variance trade-off. Additionally, it discusses specific algorithms like Random Forest, Naïve Bayes, and logistic regression, along with clustering techniques like K-Means and fuzzy clustering.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

2-mark questions

UNIT-I: Introduction to Machine Learning

1. What is Machine Learning?

Machine Learning is a branch of artificial intelligence that enables systems to learn and
improve from experience without explicit programming.

2. What are the main paradigms of Machine Learning?

The main paradigms are supervised learning, unsupervised learning, semi-supervised


learning, and reinforcement learning.

3. What is learning by rote?

Learning by rote is memorizing data and recalling it exactly without deriving any general
rules or patterns.

4. What is the purpose of reinforcement learning?

Reinforcement learning enables an agent to learn by interacting with its environment to


maximize a cumulative reward.

5. Name three types of data used in Machine Learning.


Structured data, unstructured data, and semi-structured data.

6. What is feature engineering?

Feature engineering involves creating, transforming, and selecting the most relevant
features to improve model performance.

7. What is model selection?

Model selection is the process of choosing the best machine learning model for a specific
task based on performance metrics.

8. Define data acquisition.

Data acquisition is the process of collecting and preprocessing data to make it suitable for
analysis or training models.

UNIT-II: Nearest Neighbor-Based Models

1. What is a proximity measure?

A proximity measure quantifies the similarity or distance between two data points.
2. Name any two distance measures used in Machine Learning.

Euclidean distance and Manhattan distance.

3. What is the K-Nearest Neighbor (KNN) algorithm?

KNN is a simple classification algorithm that assigns a class to a data point based on the
majority class among its k-nearest neighbors.

4. What is KNN regression?

KNN regression predicts the output for a data point by averaging the outputs of its k-nearest
neighbors.

5. What is the difference between metric and non-metric similarity functions?

Metric functions satisfy the triangle inequality, while non-metric functions do not.

6. What is the role of a radius in the Radius Nearest Neighbor algorithm?

It includes all neighbors within a specified radius for classification or regression.

7. What is the advantage of the KNN algorithm?

KNN is simple to implement and effective for small datasets.


UNIT-III: Models Based on Decision Trees

1. What is a decision tree?

A decision tree is a flowchart-like structure used for classification and regression tasks by
splitting data based on feature values.

2. What is an impurity measure?

An impurity measure quantifies the level of disorder or heterogeneity in a dataset (e.g., Gini
Index, Entropy).

3. What is the bias-variance trade-off?

It is a balance between underfitting (bias) and overfitting (variance) in a model.

4. What is a Random Forest?

Random Forest is an ensemble learning technique that builds multiple decision trees and
combines their predictions.

5. State one advantage of Random Forest over a single decision tree.

Random Forest reduces overfitting by averaging multiple trees.


6. What is the Naïve Bayes Classifier (NBC)?

NBC is a probabilistic classifier that assumes class conditional independence of features.

7. What is Bayes’ Rule?

Bayes’ Rule calculates the probability of an event based on prior knowledge of related
conditions.

UNIT-IV: Linear Discriminants for Machine Learning

1. What is a linear discriminant?

A linear discriminant separates data points into different classes using a linear boundary.

2. What is the Perceptron Learning Algorithm?

It is an algorithm used to find a hyperplane that separates linearly separable data.

3. What is the kernel trick in SVM?

The kernel trick maps data into a higher-dimensional space to make it linearly separable.
4. What is logistic regression?

Logistic regression is a statistical method used for binary classification by modeling the
probability of outcomes.

5. What is the primary difference between logistic regression and linear regression?

Logistic regression predicts probabilities for classification, while linear regression predicts
continuous values.

6. What is a Multi-Layer Perceptron (MLP)?

MLP is a type of neural network with one or more hidden layers used for complex pattern
recognition.

7. What is backpropagation?

Backpropagation is a training algorithm for neural networks that adjusts weights by


minimizing the error.

UNIT-V: Clustering

1. What is clustering?

Clustering is an unsupervised learning technique to group similar data points together.


2. What is the difference between divisive and agglomerative clustering?

Divisive clustering splits the dataset from a single cluster, while agglomerative clustering
merges data points into clusters.

3. What is K-Means clustering?

K-Means partitions data into k clusters by minimizing the variance within clusters.

4. What is soft clustering?

Soft clustering assigns data points to multiple clusters with probabilities rather than
assigning them to one cluster.

5. What is fuzzy clustering?

Fuzzy clustering allows each data point to belong to multiple clusters with varying degrees
of membership.

6. What is the Expectation Maximization (EM) algorithm?

EM is a clustering technique that iteratively refines cluster assignments using probabilistic


models.

7. What is spectral clustering?


Spectral clustering uses graph theory to partition data points based on eigenvalues of
similarity matrices.

Common questions

Powered by AI

K-Nearest Neighbor (KNN) is considered simple because it does not require any complex assumptions or explicit model building; it only requires a proximity measure to compare data points. However, KNN can be inefficient for large datasets as the entire training set must be stored in memory, and the classification/regression of a new data point requires computing its distance to all other points, which can be computationally intensive. Moreover, KNN is sensitive to the chosen distance metric and the presence of noise in the dataset, which can degrade its performance on larger scales .

The kernel trick enables Support Vector Machines (SVM) to effectively handle non-linearly separable data by implicitly mapping inputs into a higher-dimensional space. Instead of transforming data explicitly—which can be computationally expensive—the kernel trick computes inner products in the transformed space using a kernel function. This allows SVMs to create complex, non-linear decision boundaries in the original feature space, capturing intricate patterns without directly increasing the computational burden associated with transformations. This capability enhances SVM's flexibility and makes it powerful for a wide range of classification problems .

Random Forest offers several advantages over a single decision tree. It reduces overfitting by averaging the results of multiple trees, leading to improved generalization on unseen data. Each tree in a Random Forest is constructed with a random subset of features and data samples, which encourages diversity among trees and reduces the variance typically associated with decision trees. This ensemble approach enhances model robustness, leading to better accuracy and predictive power, particularly when dealing with complex datasets with high dimensionality and non-linear relationships .

Reinforcement learning differs primarily in its objective and methodology. In supervised learning, the system learns from a labeled dataset, where inputs and the corresponding outputs are known, focusing on minimizing error in predictions. Unsupervised learning, on the other hand, deals with unlabeled data and aims to find patterns or structures within the data without explicit output instructions. Reinforcement learning involves an agent interacting with an environment to maximize some notion of cumulative reward. The learning is based on the agent's actions and the feedback it receives, which differs fundamentally from the error-correction focus in supervised learning and the pattern-discovery focus in unsupervised learning .

Logistic regression is preferred over linear regression when the task is classification rather than predicting continuous values. Logistic regression is specifically designed for binary outcomes and estimates the probability of a given input belonging to a specific class. It applies a logistic function to model binary dependent variables, making it suitable for classification tasks such as spam detection or predicting whether a user will click on an advertisement. Linear regression, in contrast, predicts a continuous output, making it inappropriate for binary outcome predictions as it can produce values outside the (0,1) range .

The Expectation Maximization (EM) algorithm is particularly useful for clustering tasks due to its iterative refinement of cluster assignments based on probabilistic models. It works by alternating between the expectation step, which calculates the expected membership probabilities for each data point relative to existing cluster centers, and the maximization step, which recalculates the parameters of the probabilistic models to maximize the likelihood function. This iterative process continues until convergence, typically yielding cluster assignments that model the data distribution well. EM is particularly effective in scenarios with hidden variables and incomplete data sets, such as Gaussian Mixture Models, making it highly adaptable and powerful for complex clustering tasks .

Divisive and agglomerative clustering represent two contrasting approaches to cluster formation. Divisive clustering starts with the entire dataset as one cluster and recursively splits it into smaller clusters until each data point becomes its own cluster or a predefined number of clusters is reached. Agglomerative clustering follows a bottom-up approach, where each data point starts as its own cluster, and clusters are iteratively merged based on their similarity, until a single cluster or a desired number of clusters is achieved. Divisive is often considered computationally intensive for large datasets compared to agglomerative, which tends to be less efficient but is easier to implement due to its simple, intuitive merging process .

Soft clustering is a concept where data points can belong to multiple clusters with assigned probabilities rather than solely one cluster. This approach is beneficial in scenarios where boundaries between groups are not clear-cut, such as in image processing, topic modeling, and market segmentation. Soft clustering captures the degree of association for overlapping data points, providing richer insights into data structures where membership is not exclusive. Its application can lead to better understanding of how data is spread across multiple dimensions, facilitating superior qualitative assessments compared to hard clustering techniques .

Impurity measures like Gini Index and Entropy are used to determine the best split points in constructing decision trees. They quantify the disorder or heterogeneity of a dataset and are used to evaluate how well a feature separates the classes. A lower impurity indicates a more homogeneous split. During the decision tree building process, features that result in the maximum reduction in impurity are chosen for splits, thus creating more accurate and efficient models. By minimizing impurity, decision trees can effectively categorize data based on the most informative features .

Feature engineering is crucial as it directly influences the performance of machine learning models. It involves creating, transforming, or selecting relevant features that help models generalize better by capturing underlying patterns effectively. Proper feature engineering can reduce the dimensionality and noise of data, leading to improved model accuracy and efficiency. For example, transforming raw data into meaningful features can enhance the predictive power of algorithms and enable simpler models to achieve comparable performance to more complex ones without extensive parameter tuning .

You might also like