Manas Writes

Machine Learning: A Beginner's Perspective

ml intro

Okay so after learning Python and C/C++ now it’s time to explore something I was yearning to learn about since a long time ago. And yes, as the title suggests, it was “Machine Learning”.

Machine Learning always fascinated me. I mean really if you think about it, the idea of a learning process done by machine and not just by us humans is quite interesting. Until now I had only seen fellow students learning(or rather just ‘cramming’) their boring curriculum which frankly is now quite old(Still had to learn about chem reactions to get admission in Computer Science Course😆). I mean seriously what good will it do to a programmer to learn about organic reactions that go on in a plant! But this is our education system… we have to learn to cram.

Anyways moving on with ML, one of our professors recently pointed out that computer is a dumb machine as it will only do what we ask it to do and all according to specific instructions(which definition sadly also makes many of the present students of our country also dumb). So basically to make computer smart we have to give it some more instructions which it can follow in order to qualify as a smart machine, funny though! Machine Learning can be seen as a subset of Artificial Intelligence which is itself a really intriguing branch of CS.

After some poking around the internet about machine learning, I found many programs tutoring ML to newbies. One program that caught my eye was Google’s AI education program. And as always google did a great job. For those who know basic python, an excellent playlist is given to which I provided a link below.

So basically what I did in my first ML program was that I trained a classifier by feeding it some data and on the basis of which classifier developed an algorithm to predict other things. Pretty cool right! Just like humans, machine also works based on the experience. But when I dove a little more deeper I found out it were basic if else statements at work(I only worked with decision tree for now which is supposedly the easiest of them). I saw neural networks were quite complex in that case. How it works is that it takes the data, analyzes it and sets some rules. And then classifies the data accordingly and predicts new outcomes. Fascinating how much we can do with basic things.

"decision tree"
Decision Tree Example

I loved making different classifiers and training them using different sets of data and testing them later on. Looking forward towards doing some more.

Links: “YT Playlist: Machine Learning Recipes with Josh Gordon”