Week 9 Post 2
It has been a good day at work. I accomplished many things, even though not everything went the right way. I am getting better at coding for sure, and that makes me proud because the things that I am coding are not simple programs but are actually AI-based things. My first accomplishment is that I have finally written the code for the KNN algorithm. In fact, I made a function calculating Euclidean distance to be able to find the nearest neighbors of my datapoints and cluster them together. That part went well. As for the rest, I was able to write the code for loading my data for the KNN algorithm, as well as writing the train() function to train my dataset to form clusters based on the k value. After that, I wrote the function called predict(), which predicts the future data points that will be in my dataset. This step is important because it helps generate new data in the dataset, and I need it because my dataset is very small for reinforcement learning since I did only 80 videos of my hand movements. Ideally, I would need hundreds or even thousands of such videos, but it is not possible to accomplish if I work alone and only throughout the two and a half months that I had for this internship. I consider these accomplishments as great successes; however, I had some failures while testing the algorithm. Most of my tests did not work, so my code still needs improvements, but I am sure I can figure it out. Also, my supervisor Mythra is coming back on Monday, and I asked him for a meeting where I could show him my progress. I do not know if that is what he expected of the project, but I am confident in my progress, and I think he will appreciate my work as well. Hopefully, I will be able to accomplish more during the weekend.
Comments
Post a Comment