Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SCENARIO A recidivist is a criminal that was released from prison, but commits another crime. You are a warden at a maximum-security prison in Kingston,

image text in transcribed

SCENARIO

A recidivist is a criminal that was released from prison, but commits another crime. You are a warden at a maximum-security prison in Kingston, and you want to determine which prisoners will likely become recidivists. Luckily, you have a Queen's degree, so you are going to take a data-driven approach. You have collected some historical training data that include some basic metadata, and whether the prisoner ended up becoming a recidivist or not.

TASKS

1. [Math and Diagrams] Given the training data below, use the ID3 algorithm and entropy-based information gain to construct a decision tree by hand. Show all the steps and follow the algorithm closely. Show the resulting decision tree. Show the "summary statistics" at each leaf node.

2. [Text] Use the resulting decision tree to predict the class of the following prisoner: Good Behavior = false, Age

image text in transcribed

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

Recommended Textbook for

Geometry From Euclid To Knots

Authors: Saul Stahl

1st Edition

0486134989, 9780486134987

More Books

Students also viewed these Mathematics questions

Question

Where do I give in to my bad habit?

Answered: 1 week ago