Build a linear regression model on the train data

Assignment Help Operation Management
Reference no: EM133593950

Assignment

Case Study: PCA applied to Linear Regression

Objective:

Build a Linear Regression model on Boston Housing dataset, "Boston.csv" to predict median house values "MEDV" from the other variables. Then build another model after carrying out Principal Component Analysis (PCA) and compare the performance of both models to draw conclusions about the efficacy of PCA.

Tasks:

Exploratory and preparatory

1. Explore the data set and carry out EDA

2. Separate target and predictor variables and split the data 70% - 30% (use random_state=42)

Build Linear regression model on original data and evaluate

1. Build a linear regression model on the train data

2. Calculate evaluation metrics, R-square, RMSE, MAE and MAPE on train and test data.

Carrying out PCA

1. Normalize (scale) the original data (only predictor variables)
2. Carry out PCA and examine cumulative variance explained by PCs
3. Select number of PCs that explain at least 85% variance
4. Extract the chosen number of PCs and fit on scaled data (use random_state=42)

Linear regression on scaled data and comparison

1. Construct another linear regression model - on PCA transformed data
2. Evaluate performance and compare both models
3. Conclusion about efficacy of PCA.

Reference no: EM133593950

Questions Cloud

Which policy change would be supported by shaw : Which policy change would be supported by Shaw and McKay's theory of crime? funding for housing developers to build in Zone IV early testing of students
Jordan finds herself in wake med hospital with brain trauma : Following a Greyhound bus accident, Jordan finds herself in Wake Med hospital with brain trauma.
Describe the exemplary leader you will present to the staff : Describe the exemplary leader you will present to the staff, providing specific details about their behaviors relative to styles such as exemplary leadership.
How did mulcahys life and professional experience contribute : How did Mulcahy's life and professional experiences contribute to her personal application of the four dimensions of EQ (emotional intelligence) and AL?
Build a linear regression model on the train data : QANT 630- Build a linear regression model on the train data. Calculate evaluation metrics, R-square, RMSE, MAE and MAPE on train and test data.
What supporting functions are linked to operation management : BM563 Operations and Service, Buckinghamshire New University - What supporting functions are linked to this operation management practice
What you have learned about encoding specificity : You are scheduled to take the exam in a different room and a new building with comfortable chairs based on what you have learned about encoding specificity,
Discuss the improvements and estimated cost in developing : Summarize your selected scenario and details about the firm. Discuss these improvements and the estimated cost in developing and launching these enhancements.
Conflicts can arise during the transition stage of group : Conflicts can arise during the transition stage of a group because people have different opinions and are not open to change.

Reviews

Write a Review

Operation Management Questions & Answers

  Child being born with fetal alcohol syndrome

For long time mothers have been warned about drinking any amount of alcohol while pregnant for fear of their child being born with Fetal Alcohol Syndrome (FAS)

  Cross-cultural ethical business decision making

International Business Ethics, Laws, and Regulations and Cross-Cultural Ethical Business Decision Making.

  Resource-based model of competitive advantage

There are two critical assumptions underpinning the resource-based model of competitive advantage. One of these is resource heterogeneity. Briefly explain what this means. Provide one example of heterogeneous resource.

  Cognitive dissonance be used to change the attitudes

How would cognitive dissonance be used to change the attitudes of employees in your Walmart.

  What are the steps involved in producing an order

What are the steps involved in producing an order and shipping it to the customer? In global supply chains, how can a company ensure ethical behavior?

  Discuss possible new options for finding quality employees

Discuss possible new options for finding quality employees other than those considered in the case study.

  Determine the precise information required for audience

Which of the following is an example of a message topic? At which point in planning process should you determine the precise information required for audience?

  Actual leadership effort that was transformational

There was an actual leadership effort that was transformational.

  What research and evaluation method is appropriate

When preparing to conduct research, one of the first questions that need to be asked is what research and evaluation method is appropriate.

  Demonstrate their importance in product development-design

Discuss different methods of product design and demonstrate their importance in product development/design.

  Explain what the paper is about - the main points

Explain what the paper is about - the main points of analysis: Business Overview Application of Management theories Analysis

  What is the mean absolute deviation for this forecast

What is the mean absolute deviation for this forecast?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd