0% found this document useful (0 votes)
44 views2 pages

Lab-5A: Regression Analysis and Modeling

This document outlines an objective to carry out linear and logistic regression modeling using Python. It describes using houseprices and university admission datasets to build simple and multiple linear regression models, as well as logistic regression models. The general steps include loading data, preprocessing, exploratory data analysis, partitioning data, building models, summarizing, predicting, evaluating, and tuning models. The conclusion states that creating data frames, installing anaconda/jupyter, implementing analytics in jupyter, and analyzing/modeling data frames was learned.

Uploaded by

Vishal Ramina
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)
44 views2 pages

Lab-5A: Regression Analysis and Modeling

This document outlines an objective to carry out linear and logistic regression modeling using Python. It describes using houseprices and university admission datasets to build simple and multiple linear regression models, as well as logistic regression models. The general steps include loading data, preprocessing, exploratory data analysis, partitioning data, building models, summarizing, predicting, evaluating, and tuning models. The conclusion states that creating data frames, installing anaconda/jupyter, implementing analytics in jupyter, and analyzing/modeling data frames was learned.

Uploaded by

Vishal Ramina
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
You are on page 1/ 2

Sardar Patel Institute of Technology, Mumbai

Department of Electronics and Telecommunication Engineering


T.E. Sem-V (2018-2019)
ETL54-Statistical Computational Laboratory
Lab-5A: Regression Analysis and Modeling
Name: Vishal Ramina UID No.2017120049

Objective: To carry out linear regression (including multiple regression) and build a
regression model using Python Platform

Outcomes:
l . To learn how to define, fit, and use a model in Python
2. To interpret the results

System Requirements: Ubuntu OS with Anconda platform with Pandas, numpy,


scipy, matplotlib, seaborn and scikit-learn ML library.

Part-A: Simple linear regression and Multiclass linear regression with data
preprocessing (Hanling NA values)

Use the houseprices.csv files to build the models and evaluate the models.
General Steps:
l. Load the dataset (Use pandas )
2. Data Preprocessing (Handling NA values)
3. Exploratory Data Analysis (understanding the relationships between the
variables with help of plot, scatter-plot, enery-plot etc) Use matplotlib
4. Data Partition (80% for training and 20% for testing) (Use scikit-learn)
5. Build the model (use scikit learn)
6. Summarize the model.
7. Prediction
8. Evaluate the model
9. Tuning the model

Part-B: Logistic Regression


Use University admission binary.csv file.
Follow the general steps to carry out logistic regression as mentioned in Part-
A. Calculate the performance metrics-Accuracy, Miss-classification rate,
Receiver operating characteristics.
Conclusion:
 Learnt to create data frames of single and multi-variables called
information.
 Studied installation of anaconda and jupyter notebook and implemented
data analytics in juypter notebook .
 Analysis of the data frames created and their logistic and linear regression
model using jupyter notebook and calculated the accuracy of the model.

You might also like