Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 Consider the vertebrate data - set presented in the next page which has been split to two parts: test set and training set.

Question 1 Consider the vertebrate data-set presented in the next page which has been split to two parts: test set and training set.
1. Between attributes Fly and Gives Birth which one would make a split with a better GINI Index? (use training set)
2. Use the better attribute from the previous part and build a decision tree with two leaves. What is the training error for this set?
3. Use the test (validation) set to find the test (validation error) on this tree.Animal name give birth fly swims cold/warm blooded Bird?
Owl No Y es No warm Y es
Eagle No Y es No warm Y es
Panda Y es No No warm No
Ostrich No No No warm Y es
Turtle No No Y es cold No
Alligator No No Y es cold No
Cow Y es No No warm No
Sheep Y es No No warm No
Rabit Y es No No warm No
Frog No No Y es cold No
Salmon No No Y es cold No
Cheetah Y es No No warm No
Whale Y es No Y es warm No
Bat Y es Y es No warm No
Sparrow No Y es No warm Y es
Duck No Y es Y es warm Y es
Training set:
Animal name give birth fly swims cold/warm blooded Bird?
Eagle No Y es No warm Y es
Panda Y es No No warm No
Ostrich No No No warm Y es
Turtle No No Y es cold No
Alligator No No Y es cold No
Salmon No No Y es cold No
Cheetah Y es No No warm No
Whale Y es No Y es warm No
Bat Y es Y es No warm No
Duck No Y es Y es warm Y es
And
test set ={Owl, Cow, Rabit, Sheep, Frog, Sparrow}

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

LO3 Name the seven categories of HR functions.

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago