modulewise questions
modulewise questions
Logistic regression is used for binary classification where we use sigmoid function, that takes input as
independent variables and produces a probability value between 0 and 1.
For example, we have two classes Class 0 and Class 1 if the value of the logistic function for an input
is greater than 0.5 (threshold value) then it belongs to Class 1 otherwise it belongs to Class 0. It’s
referred to as regression because it is the extension of linear regression but is mainly used for
classification problems.
Key Points:
Logistic regression predicts the output of a categorical dependent variable. Therefore, the outcome
must be a categorical or discrete value.
It can be either Yes or No, 0 or 1, true or False, etc. but instead of giving the exact value as 0 and 1, it
gives the probabilistic values which lie between 0 and 1.
In Logistic regression, instead of fitting a regression line, we fit an “S” shaped logistic function, which
predicts two maximum values (0 or 1).
The sigmoid function is a mathematical function used to map the predicted values to probabilities.
11. It maps any real value into another value within a range of 0 and 1. The value of the logistic
regression must be between 0 and 1, which cannot go beyond this limit, so it forms a curve like
the “S” form.
The S-form curve is called the Sigmoid function or the logistic function.
In logistic regression, we use the concept of the threshold value, which defines the probability of
either 0 or 1. Such as values above the threshold value tends to 1, and a value below the threshold
values tends to 0.
On the basis of the categories, Logistic Regression can be classified into three types:
Binomial: In binomial Logistic regression, there can be only two possible types of the dependent
variables, such as 0 or 1, Pass or Fail, etc.
Multinomial: In multinomial Logistic regression, there can be 3 or more possible unordered types of
the dependent variable, such as “cat”, “dogs”, or “sheep”
Ordinal: In ordinal Logistic regression, there can be 3 or more possible ordered types of dependent
variables, such as “low”, “Medium”, or “High”.
12. Explain the working of the K-Nearest Neighbors (K-NN) algorithm. Why is it necessary?
13. Explain linear regression? How it is different from multiple linear regression
14. Knn algorithm with example.
15. Compare and contrast different evaluation metrics for classification tasks .
16. Explain the concept of ensemble methods in machine learning. How does the Random Forest
algorithm implement this concept?
Module 4
Module 5
1. What is MLOps? Key components of MLOps (pipelines).
2. Importance of DevOps in MLOps.
3. What is MLOps? Discuss its importance in the machine learning lifecycle.
4. Explain the key components of MLOps and how they contribute to efficient ML
model deployment.
5. Discuss the role of Continuous Integration and Continuous Deployment (CI/CD) in
MLOps.
6. Explain the importance of DevOps in the MLOps process.
7. Discuss the primary challenges faced by organizations when deploying machine
learning models and how MLOps provides solutions.
8. Explain the importance of Continuous Integration and Continuous Deployment
(CI/CD) in MLOps.
9. How do tools and frameworks help in building MLOps pipelines?
10. What are the key components of a successful MLOps pipeline?
11. What is DevOps, and how does it relate to the principles of MLOps?
12. Explain the Agile methodology and its relevance to both DevOps and MLOps.
13. What are MLOps pipelines, and why are they essential for managing the machine
learning lifecycle?
14. Explain how Continuous Integration and Deployment (CI/CD) improve the
efficiency of Machine Learning models.