Question: 1 . Analyze the dataset and explain whether this is a Regression or Classification andwhich algorithm will you apply for this problem.Explain the concept of

1. Analyze the dataset and explain whether this is a Regression or Classification andwhich algorithm will you apply for this problem.Explain the concept of dependent and independent variables and which is thedependent variable in this dataset.(Explanation should be included in a Word document 5 Marks)2. Using Jupyter Notebook or any suitable IDE:(a) import the necessary libraries(b) read the dataset(Code 2 Marks)3. Analyze the dataset by(a) display the first 12 rows(b) display the last 5 rows(c) print the number of rows and columns in the dataset(Code 3 Marks)4. Check if this dataset has any missing values and print the result(Code 2 Marks)Artificial IntelligenceAssignment 125. Implement the correct algorithm required for this task (Linear or Logistic)(a) Extract the X feature and Y target(Code 2 Marks)(Include explanation in the Word document about X feature and Y target(Explanation 1 Mark)(b) Divide the data into training and testing sets to evaluate the models performanceon unseen data. Keep the test size =0.25 and random state =42(Code 2 Marks)(c) Implement the algorithm and find the first 10 values for the actual data and thepredicted values(Code 2 Marks)6. Result(a) Show the result with the Confusion Matrix(Code 2 Marks)(In your Word document, explain the values obtained in this matrix 2 Marks)(b) Calculate and print the Precision, Recall and F1 Score(Code 3 Marks)(Explanation 1 Mark)7. ConclusionList your learnings from this assignment and your overall understanding of the MLalgorithm you implemented

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!