AI

Artificial Intelligence


The theory and development of computer systems able to perform tasks that normally require human intelligence, such as visual perception, speech recognition, decision-making, and translation between languages.

The picture above is a diagram of all the different types of AI's. Theoretically the amounts of AI's are endless because we can program anything to do anything.

The picture above is an animation about the Turing Test. The Turing Test is a test which figures out if something is artificial intelligence or not. The Turing Test was made in 1951, by Alan Turing. Also Norbert Wiener (mathematician) worked with the Turing Test, also writing a book talking about it. A famous quote from that book was "All "intelligence" is a collection of feedback loops."

The picture above is the coding done in python where I was able to create a conversation with myself. I had to input responses for words that were said in the conversation. For example, after it tells me "what's your question?" I can put anything and it will give me one of the four responses it knows. I was able to program it so when I ask a question it chooses one of the four at random.

The images above are pictures of my code in python. The code above was programmed in a different python shell, but I was able to import these codes "from YN2 import" The picture on the bottom is me actually running the program using the code from a different python shell module.

The image above is coding I put in python using the website WolframAlpha. With the code I am able to ask my bot anything and with using WolframAlpha it will be able to answer. Also I am able to use the eSpeak program to have my bot talk to me. (import steel)

The image above is a picture of the "smartest computer alive" He is known as Watson (named after the founder of IBM) and is proven to be smarter than a human. He has been programmed to learn from its mistakes, and take information from key words off the internet to get its answer. Technically it is just a big search engine. Watson was made by David Ferrucci and a group of people from ibm.

The images above are parts of the code to play hangman. I created this code in python shell, and I am able to play with it as if it were the real thing. For example when I get something wrong, it draws a body part of the hang man. With the code I am able to change the word to whatever I want (taco) as you can see in the code the word will be taco.

The image above is something I coded using net logo. With net logo and this code I was able to program each turtle to work together and make a design. For example I was able to make a star by changing their rotation degrees etc.

The image above is part of my tic tac toe code in python shell. This part of the code is talking about all the different squares in tic tac toe and if I choose that square and win. If I win the computer will check the code and see if I won, tie, or lost. I am able to run the code and have a two player tic tac toe game. I have yet to program an AI tic tac toe game (Monday)

The first image above is part of my code which I did in python. This part of the code are all the different spots you need to choose to win. For example if I went diagonally across, the code would check and see if I am the winner. The second is me actually playing TTT (Tic Tac toe) and winning.

The image above is my attempt at making an AI tic tac toe game. (Wednesday) The code above is me telling the computer to make a move on the board after I've already done so. Because I have still yet to finish my AI tic tac toe code, it is still only a two player game and requires two people to choose the locations on the board. So far this week I have made a two player tic tac toe game, and I'm still working on the one player AI version. By the end of tomorrow I plan to have a fully working AI tic tac toe game.

The image above is me playing with an AI, but with one issue. The issue is that when I choose 'O' for example, it puts me as 'X' and the AI also plays as X. I have yet to find how to fix the issue, but I know where it is. (Thursday 10:00am)

The image above is my fully completed AI tic tac toe. It is fully operational, and is now a one player game. (Thursday 12:00pm) I now have to figure out how to make the AI think and make smart moves. At the moment it picks random moves, and doesn't understand how to defend or make winning moves.

Today (Friday) we were able to finish up our AI tic tac toe game if you didnt already have it finished. Then after sharing our AI tic tac toe game with the rest of the class we spent the rest of the day learning abiut computer learning. Computer learning is much like human learning because once doing something right or wrong they learn from their success or their mistakes.

Link back to index: Home