Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

University of Boston Logistic Regression Machine Learning Task

University of Boston Logistic Regression Machine Learning Task

Objective

The goal of this homework is to give you exposure to the practice of training and testing machine-learning models. In particular, you need to build a logistic regression classifier. The performance of those classifiers should be measured by accuracy. The task is to classify patients into high medical spending and low medical spending. The primary goal of the assignment is for you to learn to experiment with feature engineering, and to review some concepts we’ve covered in class.

Data

The data (a1_data.csv) for this assignment was prepared for you. The data preprocessing steps explained in the linear algorithms notebook (week 4), including combining CHBMIX42 and BMINDX53, removing outliers, and creating dummy variables, were applied. You should use this file as a data source. 

What to do

This is a fairly open-ended assignment, but I would recommend applying three different feature engineering methods. The first two of them are introduced in the section about common mistakes in linear regression.

Linearity

Although linear regression and logistic regression assume a linear relationship between dependent and independent variables, the actual data distribution might not follow linearity. If this is the case, you may apply polynomial terms. Please see p.10 in the week 4 slides.

  • Multicollinearity

Although linear regression and logistic regression assume no or little multicollinearity between independent variables, it might not be true in your data. If you find multicollinearity between independent variables, then you can multiply them. Please see p.11 to p.13 in the week 4 slides.

  • Noisy feature
  • In most cases, having more independent variables (i.e., features) helps to build a better model. However, if there is only a random pattern between an independent variable and a dependent variable, then it might be better to drop the independent variable.

 https://drive.google.com/file/d/1cvim3wi-n9Bqq300e…https://drive.google.com/file/d/1Ptp_2fp56wftubSP6…

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Assignment Geeks only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Assignment Geeks are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Assignment Geeks is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Assignment Geeks, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.