Question: Problem 1 : Vehicle Fuel Efficiency Classification Problem Description: You are tasked with classifying vehicles as Fuel Efficient or Not Fuel Efficient using Naive Bayes
Problem : Vehicle Fuel Efficiency Classification
Problem Description:
You are tasked with classifying vehicles as "Fuel Efficient" or "Not Fuel Efficient" using Naive Bayes classification. You need to estimate the conditional probabilities for different attributes and the class variable "Fuel Efficiency."
Exercises:
Calculate Prior Probabilities: Calculate the prior probabilities of a vehicle being "Fuel Efficient" or "Not Fuel Efficient" based on the provided dataset.
Conditional Probabilities for Nominal Attributes Vehicle Type and Fuel Type: Calculate the conditional probabilities of a vehicle being "Fuel Efficient" or "Not Fuel Efficient" based on the vehicle type and fuel type Nominal attributes
Conditional Probabilities for Continuous Attributes Engine Size and Mileage: Calculate the conditional probabilities of a vehicle being "Fuel Efficient" or "Not Fuel Efficient" based on engine size and mileage Continuous attributes You can assume Gaussian distributions.
Conditional Probabilities for Ordinal Attributes Safety Rating: Calculate the conditional probabilities of a vehicle being "Fuel Efficient" or "Not Fuel Efficient" based on the safety rating Ordinal attribute
Fuel Efficiency Classification: Given a new vehicle with the following attributes:
Vehicle Type: Hatchback
Engine Size:
Fuel Type: Gasoline
Mileage:
Safety Rating: Medium
To classify this vehicle as "Fuel Efficient" or "Not Fuel Efficient," use Naive Bayes and the conditional probabilities calculated in previous steps.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
