Friday, October 12, 2018

Rock, Paper, or Scissors?

             I recently worked on a MachineLearningForKids project that I thought was very interesting. The computer was supposed to be designed to recognize whether a hand was rock, paper or scissors. Then the computer was supposed to retaliate. At first, my idea was that I would get the computer to always win. 
             I started by downloading a worksheet, as usual. And I named my new, awesome project "Rock, Paper, Scissors" and started training it to recognize images.

             So the first part in training my computer was to get it to recognize what each hand gesture in the game "Rock, Paper, Scissors" looked like. So I worked on the basics of getting the computer trained to know what  "rock", "paper", and "scissors" hand gestures looked like. I made three bins, for rock, paper, and scissors. I used ten examples for each of the training bins and then hit the "train" button. Then the website said that I was out of API keys, so I had to stop my project for a while for more. 
             When I finally came back to my project, I trained it and started coding on Scratch. When I finished, it turned out that the computer couldn't support a file. Except the computer wouldn't say what the picture was. So I tried to delete all the "paper" pictures and get new ones, but that didn't work either. 
             I had been pretty sure that the problematic picture had been paper, but it wasn't. Or at least, I wouldn't know whether it was or not, because I had run out of API keys again. I sure ran out of keys faster than I anticipated. 
             Maybe I will have better luck next month. I know machine learning can be frustrating sometimes, but as long as I stick to it with determination, I won't let API keys stop me from a bright future in AI. 
             

No comments:

Post a Comment