AIML Assignment 7
AIML Assignment 7
Regression Model
G-20
Assignment No. 7
Objective of Experiment
1. To understand how to do regression of features; How to develop
regression model and evaluate its performance.
2. To load dataset and separate training and testing data.
3. To train the model using training data and find its accuracy.
4. To learn how to execute python program.
5. To plot regression graph.
Theory
1. What is Feature regression? (Schematic, Explanation)
2. What is Regression in Machine Learning?
3. Regression Terminologies in Machine Learning
4. What are the Applications of Regression Algorithms?
5. Why do we use Regression Analysis?
6. Regression Algorithms
7. Types of Regression Algorithms (What, Why, How, Schematic, Flowchart,
Sub-Types/Classification, Advantages, Limitations, Applications,
Comparison)
Linear Regression
Logistic regression
Polynomial regression
Support Vector Regression
Decision Tree Regression
Random Forest Regression
Ridge Regression
Lasso Regression
Ridge and Lasso Regression
k- Nearest Neighbors (KNN) Regression
8. Regression Algorithm Evaluation
variance and
bias
Accuracy and
Error
9. Regression Algorithm Selection
Ideal fitting, overfitting, and underfitting
10. Difference between Classification and Regression
Problem Statement
Write problem statement of already available one type of learning
example from available resources. The data must be in CSV format. The
aim is to extract features from given dataset and establish training data.
G-21
Target Variable: Write the target variable.
Procedure
Write and follow the standard procedure for your selected type of learning
example from available resources assigned to you using any one type of
regresser mentioned above in “Types of Regression Algorithms.”
Program Code
Write Algorithm, draw flow-chart of the Problem Statement selected by /
assigned to you. Also enclose a print-out of your Python Program Listing
(*.txt).
NOTE: No hand-written Program Listing is expected; it should be a Print-out!
Program Input
Also attach a print-out of the Dataset in form of *.csv file (comma
separated values) as an input.
Program Output
Attach a print-out of your program output (result) and Conclusion.
G-22