ANS - For ML
ANS - For ML
Course: B.Tech
Machine Learning
Short Questions:
6. Define entropy.
Entropy is a measure of disorder or randomness in a system.
8. Define regression.
Regression is a type of supervised learning where the goal is to predict a
continuous output value from input features.
23. Justify the necessity for dimensionality reduction in the context of machine learning.
Dimensionality reduction is necessary in machine learning because it can
improve the performance of a model, reduce overfitting, and make the data
easier to visualize and interpret.
Focus Questions:
The basic function of an artificial neuron is to take the input values, multiply them
by their corresponding weights, add the bias term, and then pass the result through
an activation function. The activation function calculates the output of the neuron,
which is a scalar value that represents the neuron's prediction or classification.
Artificial neurons can be connected together to form a neural network, which allows
the model to learn more complex relationships between the inputs and outputs.
8. What is the difference between Gini Impurity and Entropy in a Decision Tree?
Gini impurity and entropy are two measures used to evaluate the quality of a split in
a decision tree.
The main difference between Gini impurity and entropy is the range of their values.
Gini impurity ranges from 0 to 0.5, while entropy ranges from 0 to log(n), where n is
the number of classes. Entropy tends to favor splits with multiple classes, while Gini
impurity favors splits with a large number of points in one class.
9. Explain false negative, false positive, true negative and true positive with a simple example.
False negative, false positive, true negative, and true positive are terms used
to evaluate the performance of a binary classification model.
True positive (TP) refers to the number of cases in which the model correctly
identified the positive class.
True negative (TN) refers to the number of cases in which the model
correctly identified the negative class.
False positive (FP) refers to the number of cases in which the model
identified the positive class but it's actually negative class.
False negative (FN) refers to the number of cases in which the model
identified the negative class but it's actually positive class.
For example, consider a model that identifies spam emails. A true positive
would be when the model correctly identifies a spam email as spam. A true
negative would be when the model correctly identifies a non-spam email as
non-spam. A false positive would be when the model identifies a non-spam
email as spam, and a false negative would be when the model identifies a
spam email as non-spam.
For example, if we know that a person has a certain disease, we can use
conditional probability to determine the probability that they have a
symptom given that they have the disease.
13. Write the difference between supervised learning and unsupervised learning.
Data bias: Data bias occurs when the data used to train a model is not
representative of the real-world data, leading to poor performance on new,
unseen data.
Data scarcity: Data scarcity occurs when there is not enough data to train a
model, leading to poor performance on new, unseen data.
Long Questions:
1. What is machine learning? Discuss learning and machine learning. Discuss about various
types of machine learning.
2. Explain the machine learning life cycle with a diagram.
3. Explain the following
a)Linear regression b) Logistic Regression
4. Find the covariance and correlation coefficient of data X={1,2,3,4,5} and Y={1,4,9,16,25)
5. What is support vector machine .Discuss in detail?
6. Define Multiclass Classification with a neat diagram?
7. Define clustering. What are the different types of clustering explain in detail.
8. Explain the K-means clustering algorithm with an example.
9. a. What is a density-based clustering algorithm?
b. Explain the DBSCAN clustering algorithm with an example.
10. a. How is a Random Forest related to Decision Trees?
b. Explain Random forest algorithm with an example.
11. Explain SVM classifier with a suitable example
12. What is reinforcement learning explain its detailed concepts.
13. How to construct ID3 and derive the procedure to construct a decision tree using ID3
14. A. What is reinforcement learning? What are the feature of Reinforcement learning?
B. Explain the concept of the Bellman equation in reinforcement learning with an example.
15. A. What is Ensemble learning in Machine Learning?
B. Explain different methods of ensemble learning.
16. Explain the concept of CNN with an example.
17. Explain the K-Mode clustering algorithm with an example.
18. Consider the training dataset given in the following table. Use Weighted k-NN and
determine the class. Test instance (7.6, 60, 8) and K=3