Its one of the last weeks of computer
science, so we are doing some AI coding!
Today is both the first day and the first
week of AI coding, so we are researching
the different types of Artificial intelligences.
So far I have found nine different types:
1. Naturalist Intelligence "Nature Smart"
2. Musical Intelligence "Musical Smart"
3. Logical-Mathematical Intelligence "Number/Reasoning Smart"
4. Existential Intelligence
5. Interpersonal Intelligence "People Smart"
6. Bodily-Kinaesthetic Intelligence "Body Smart"
7. Linguistic Intelligence (Word Smart)
8. Intra-personal Intelligence "Self Smart"
9. Spatial Intelligence "Picture Smart"
The code "random.choice([list])" is a way to
make your code choose a random line from a
list of items that is listed onto your code.
Another code that helps out is "if item in
list:", the reason why is because it chooses
a line that corresponds with what the line
the typist wrote.
On the next day of expeditions we started
working on our chat-bots, but this time we
started trying to make our own chat-bots
respond to us with their own voices.
The first thing we did was test our chat-
bots to make sure they worked.
So, we got our codes out:
This is the code after we added the talking
sequence, as you can see, the code contains
a line that says "engine.eSpeak()". This line
is the line that is needed to make the computer,
and as well as a file called steel given to us
by our teacher Mr. Farrell.
So then we had our little fun and started doing
some "final touches" to our chat-bots. The reason
we needed to do this is because we were going to
have a little "Turing test" with the chat-bots.
The "Turing test" was a test that involved a
group of people and a computer, this test also
included a series of questions. The way it worked
in a separate room from the group of people. And
from there, the group of people were to try and
guess who was answering the question, the human
or the computer?
Later on, on the same week, the class had a new
assignment, it was to make a fact-bot! A fact-bot
is a chat-bot that answers actual questions like:
What is your favorite color?
What does _____ mean?
How much wood could a wood chuch chuck if a wood chuck could chuck wood?
BUT, you would also need a specific file given to
us when we made an account with a website called
WolframAlpha. In order to get it you have to input
this exact website: "developer.wolframalpha.com/api"
and then make an account with them, then get an appid
After all that, we put our appid into our python
window, like the picture below:
On Thursday, the class had some time to work on their
web pages, then, after lunch, we started watching the
movie "Watson, The Smartest Machine on Earth".
In this movie, a man by the name David Ferrucci, and
his crew of AI programmers, had been interested by
Artificial Intelligence, and because of their huge
interest in AI, they had thought of making the worlds
first "Human Computer"!
The next day, I had finished programming my Tic Tac Toe Game,
and I had started working on a computer vs. human tic tac toe
game. At first the game was a bit nerve racking because most
of the times I would get an error that says that I am missing
a colon or parenthesis, but most of the times was because I
had an unidentified global variable, a problem that affects
the whole code, or local variable, which is an exact location
where the problem lies in. Below is the code that puts all the
other codes together to make the final game.
This code was one of the most complicated
codes that I will ever make, but in the
end, it's going to turn out to be an awesome
After all of this, my game wasn't always making the
best choices, so now I have to figure out why its
not making the best of choices. So now its back to
the code to see how I can fix it.
I have noticed that the table for tic tac toe, when
put in a certain order, like the picture below, the
rows that are used to win would equal 15.
Norbert Weiner said all intelligence is a collection of feedback loops.