Answered step by step
Verified Expert Solution
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 Adultxlsx and perform the following
Q Choose the attributes agefnlwgt educationnum, 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 main attributes that affect the model
Q Choose the attributes ageeducation, educationnum,fnlwght Hoursperweek,Maritalstatus, occupation, Workclass to predict sex using logistic regression, apply cross validation with 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
Q Choose the all the attributes that have data to predict income using Nave bayes algorithm, apply cross validation with folds.
a What is the accuracy of the model?
b What is the AUC value?
c What is the age average for values and
d Who has more income Male Female
Q Choose the all the attributes that have data to predict income using Decision Tree algorithm, apply cross validation with folds. Choose maximum depth to be Confidence Minimal leaf size minimal size for split
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
Q Choose the all the attributes that have data to predict income using Neural Network algorithm, apply cross validation with folds. Add to hidden layers 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started