Computer scienceData scienceMachine learningClassificationDecision tree learning

Decision Trees

Defenders

Report a typo

Now let's try to solve really important questions.

Here is a table with some of the Game of Thrones battles. There are three columns: number of attackers (attacker_size), number of defenders (defender_size), and an outcome of a battle (attacker_outcome).

Create a decision tree from Games of Thrones battles

A decision tree was built to predict an outcome of a battle. Here's the final part of the tree and the condition is set to the defender_size feature:

Predict the outcomes of Game of Thrones battles with defender_size as final node

You have to go through the table above and predict an outcome of a battle for each sample. Then you compare predictions with actual outcomes, calculate the accuracy of the tree, and enter the answer as a percentage.

Tip: Accuracy is the number of correct predictions divided by the number of all samples.

Enter a number
___

Create a free account to access the full topic