Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5: ANSWER A & B In this exercise you are required to use scikit-learn to compare different machine learning algorithms applied on the iris

Question 5: ANSWER A & B

In this exercise you are required to use scikit-learn to compare different machine learning algorithms applied on the iris dataset. Load the iris dataset and split the data into training and test data with a test_size of 0.4.

a) Implement a Multi-Layer Perceptron classifier with one hidden layer containing 50 neurons. Train it on the training data and test it on the test data. Provide a screenshot showing the obtained score.

b) Implement a Decision Tree classifier. Train it on the training data and test it on the test data. Provide a screenshot showing the obtained score.

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

More Books

Students also viewed these Databases questions

Question

Determine the distribution function of min0yt X(y).

Answered: 1 week ago