Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Import the data file named ( Adult . xlsx ) and perform the following Q 1 . Choose the attributes ( age , fnlwgt ,

Import the data file named (Adult.xlsx) and perform the following
Q1. Choose the attributes (age,fnlwgt, education_num, race, sex) to predict (hours per week) using linear regression, apply split validation.
a. What is the accuracy of the model
b. What is the equation of the model to predict (Hour per week)
c. What are the 3 main attributes that affect the model
Q2. Choose the attributes (age,education, education_num,fnlwght, Hours_per_week,Marital_status, occupation, Workclass) to predict (sex) using logistic regression, apply cross validation with 5 folds.
a. What is the accuracy of the model?
b. What is the AUC value?
c. What is the coefficient of the Intercept?
d. What are the values of (True Positive and True Negative)?
Q3. Choose the all the attributes that have data to predict (income) using Nave bayes algorithm, apply cross validation with 7 folds.
a. What is the accuracy of the model?
b. What is the AUC value?
c. What is the age average for values 50,000 and >50,000
d. Who has more income (Male, Female)
Q4. Choose the all the attributes that have data to predict (income) using Decision Tree algorithm, apply cross validation with 7 folds. Choose maximum depth to be (5), Confidence (0.2), Minimal leaf size (10), minimal size for split (5).
a. What is the accuracy of the model?
b. What is the Value for AUC
c. Which has better performance on this data (Decision Tree or Nave Bayes)
Q5. Choose the all the attributes that have data to predict (income) using Neural Network algorithm, apply cross validation with 2 folds. Add to hidden layers )=5,B=(10 Note: Be patient the process will take some time until it give you the results.
a. What is the accuracy of the model?
b. What is the Value for AUC
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Usability

Authors: Jakob Nielsen, Raluca Budiu

1st Edition

0133122131, 9780133122138

More Books

Students also viewed these Programming questions

Question

What is rational database where it is used

Answered: 1 week ago