Creating ML from basics | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Creating ML from basics

I have created a tic tac toe game in c# in visual studio that can be played against computer and I have wrote all strategies in code ....Is this a machine learning or a simple program? If it is not a machine learning then how can i create it without using any machine learning library ( i actually want to start from my own machine learning project with just coding experience)

23rd May 2020, 4:12 PM
Shubham
1 Answer
+ 3
Machine learning is based on discovering patterns from data, not following the pre-set rules. So in order to make it a machine learning process, you should supply the algorithm with as many game combinations as possible (this will be your features) and set the game status (win, lose, draw) as target. Of course, it does not make sense for such a simple game, but I just wanted to let you know how would that go ;) From scratch implementation is a good idea to fully understand the mechanics. Check out my tries to implement linear and logistic regression: https://code.sololearn.com/cU8787JuqEmN/?ref=app https://code.sololearn.com/cwstTU4ohOr9/?ref=app
23rd May 2020, 4:50 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar