Ai Report 1
Ai Report 1
Ai Report 1
Table of Contents
1. General Idea
a. About Binary Tree
b. About Machine Learning
2. Personal Project
a. The Project
b. Mistakes / Challenges
c. Accuracy of this AI
General Idea
About “Binary Tree”
The meaning of Binary Tree in this particular context is a process of AI determining a set of
data in sets of conditions (that will be divided into 2 branches of True and False), made by observations
made from processing sample data given to the program. To explain more, consider this Diagram:
In the diagram, the AI creates conditions that it think would be able to classify all of the choices.
At the top of the diagram, for example, the block (node) uses a parameter in the set of given data
(which will be discussed later in the next topic) called “Defense” as a condition to categorize
data.
In my personal project, my topic is Slime and there are 6 types of slime: Normal Slime,
Mini Slime, Fire Slime, Water Slime, King Slime and Ghost Slime. This would be considered as
the expected outcomes.
The characteristics I used to characterize these types of Slimes are: Size, Speed, Power
and Defense.
Types of Slime (Outcomes) Characteristics (Parameters)
The following is the design of the Slime I planned before converting them into numbers
(The characteristics are given according to personal preference).
Type of Slimes Size (and HP) Speed Power Defense
These are the data given to the AI to predict, created by random number generator in the
sheets.
The Project (Codes)
Left: The first part of the code retrieves the data from the existing google sheets that I
create (shown in the previous part of the report).
Right: The next part of the code uses a python AI library “sklearn” to train the AI to
recognize the pattern the data provided, then predict from the information given.
Accuracy of this AI
Due to the ambiguity of the characteristics, there’s no right or wrong characteristic for
any type of the slimes, so it is hard to actually determine if the result is accurate or not. By
speculating and comparing to the possibility in accord to my standard, the result (shown below)
could be considered as moderately accurate.
AI’s prediction Size / HP Speed Power Defense
Water Slime 10 7 8 8
Water Slime 3 7 4 9
Normal Slime 3 1 0 3
Mini Slime 1 7 4 4
King Slime 8 2 1 2
Water Slime 1 4 6 7
Water Slime 9 6 5 9
Fire Slime 9 8 8 0
Water Slime 6 2 5 8
Mini Slime 2 8 2 0