How the program works and compare two classification models


Assignment: Machine Learning Iris

Write a program to apply Machine Learning classification models to Iris flowers dataset. Follow the steps:

• Download the iris.csv file. From this file the label (target) is defined with the ‘variety' column and the features with ‘epal.length', ‘sepal.width', ‘petal.length', ‘petal.width' columns.

• Preprocess the iris.csv file by label encoding the target ‘variety' column.

• Apply the following Machine Learning classification models: K Nearest Neighbors and Random Forests

• Calculate the following classification metrics to validate the model: Accuracy Score, Confusion Matrix and Classification Report.

• Explain how the program works and compare these two classification models.

Format your assignment according to the give formatting requirements:

• The answer must be using Times New Roman font (size 12), double spaced, typed, with one-inch margins on all sides.

• The response also includes a cover page containing the student's name, the title of the assignment, the course title, and the date. The cover page is not included in the required page length.

• Also include a reference page. The references and Citations should follow APA format. The reference page is not included in the required page length.

Solution Preview :

Prepared by a verified Expert
Computer Engineering: How the program works and compare two classification models
Reference No:- TGS03090979

Now Priced at $60 (50% Discount)

Recommended (97%)

Rated (4.9/5)