Skip to main content

Posts

The Trout and The Fighter

The days of tranquillity are probably over. The two-leggeds are back. They have been uncharacteristically away for a while now. No idea what kept them so busy that they decided to forego their annual pilgrimage to our humble abode. Whatever it was, they seem to have dealt with it. Here they come, in their warm sweaters made off the wool from our sheep, wanting to lie in peace at the quaint valley of our own Parvati. For the record, I do not hold anything against the two-leggeds. I find them to be simple and soft creatures. Their bodies could not tolerate the mood swings of the climate that they had to wrap themselves in artificial layers of skin. Their bodies are not fast enough that they had to build metal boxes to get them places. Delicate creatures. Often they come here - with tall tales of how they long to be one with nature. Between you and me, most of them come here primarily to inhale the magic plant. Anyway, I don't intend to indulge in gossip much. Their arrival doesn...

The High State

 Before The Judgement I believe I must begin by addressing the pressing question - Was planning a vacation in the midst of a pandemic a recommended move?  No. Yet we went ahead with it. Here is why.  We (Nithya & I) were newly married, and our vividly planned vacation at the island of Langkawi was stolen away from us by the virus. Our stay in Delhi was coming to an end due to job-related moves, and we felt it would be a waste not to utilize this opportunity in exploring at least one of the tourist hot spots easily accessible from the national capital region. Let us end this section by answering another question - Are the reasons listed above good enough to risk a vacation during a pandemic? No. We had taken a calculated risk. Arrival at Manali There are two phases to this - planning and execution. We had not started planning with Manali in mind. There were numerous choices - starting from Jaipur and Amritsar to Nainital, Shimla, and Manali. After a bit of reading and ...

Machine Unlearning #5 (Reinforcement Learning)

Machine Unlearning is a series broken up into tiny, one-minute readable pieces to humor our ever-shortening attention span. Sharing the links to every single piece right below: Machine Unlearning #0 (Intro) Machine Unlearning #1 (Classification) Machine Unlearning #2 (Regression) Machine Unlearning #3 (Clustering) Machine Unlearning #4 (Outlier Analysis) Reinforcement Learning is a slightly different learning model than the other techniques that we have discussed previously. Therefore, I wouldn’t be able to explain the same using the fruit basket example that we have been using all this while. Let’s replace apples and oranges with self-driving cars! Suppose that you are at Google or Tesla and are trying to train a car to drive by itself! How would you go about that? Driving requires the knowledge of much more than turning the ignition on and steering the wheel. You should know to keep the side of the road, to stop at the red signal, or to keep off the footpath, for instance. You decide...

Machine Unlearning #4 (Outlier Analysis)

Machine Unlearning is a series broken up into tiny, one-minute readable pieces to humor our ever-shortening attention span. Sharing the links to every single piece right below: Machine Unlearning #0 (Intro) Machine Unlearning #1 (Classification) Machine Unlearning #2 (Regression) Machine Unlearning #3 (Clustering) Machine Unlearning #5 (Reinforcement Learning) Let’s start with the example. We have the basket full of different fruits and we are sorting the fruits based on their distinctive properties, or features. What would happen if a coconut got mixed in the fruit basket that contained oranges, apples, bananas, cherries, and mangoes? The coconut does not share any feature (color, shape, or size) with any of those fruits in the basket. Since there is only in coconut in the basket, it is not possible to create a separate group of coconuts. Such items in the group, which stand out or are distinctive than the others are generally termed outliers. Outliers are sometimes discarded as noise...

Machine Unlearning #3 (Clustering)

Machine Unlearning is a series broken up into tiny, one-minute readable pieces to humor our ever-shortening attention span. Sharing the links to every single piece right below: Machine Unlearning #0 (Intro) Machine Unlearning #1 (Classification) Machine Unlearning #2 (Regression) Machine Unlearning #4 (Outlier Analysis) Machine Unlearning #5 (Reinforcement Learning) We have already gone through classification and prediction. Now let us see what clustering is. Another popular learning technique, clustering is different from the other two since it is an unsupervised learning technique. What does that mean? Let us revisit the classification technique. We show the machine an Orange and explains the features of the Orange to it. Similarly, each different fruit and its features are shown to the machine during the training phase. Once it has learned enough, we use the machine to label a randomly picked fruit. In clustering, such training does not take place. We present the system with a baske...

Machine Unlearning #2 (Regression)

Machine Unlearning is a series broken up into tiny, one-minute readable pieces to humor our ever-shortening attention span. Sharing the links to every single piece right below: Machine Unlearning #0 (Intro) Machine Unlearning #1 (Classification) Machine Unlearning #3 (Clustering) Machine Unlearning #4 (Outlier Analysis) Machine Unlearning #5 (Reinforcement Learning) Regression is a popular machine learning technique used to predict target data based on a set of features. In classification, we train the system to assign distinctive labels to the object (Orange or Bananas in our previous example). Regression differs in the sense that here we are dealing with continuous variables. Suppose that you have twenty thousand rupees with you and are planning to buy a new phone. You open up an e-commerce site and search for phones. A hundred results appear. You see names like Redmi, Oppo, Vivo, Realme, Asus, Nokia, and so on, all in your target range of ten thousand to twenty thousand. You are cle...

Machine Unlearning #1 (Classification)

You can’t conclude a discussion on Machine Learning without mentioning classification. Classification is a machine learning technique where the machine is trained to predict the label of the given input data. Alright, let’s cut the jargon and get some real-world examples. Oranges and Bananas. Let’s assume that we have a box of fruits that contain some oranges and some bananas. You are asked to pick one fruit at random and tell if it is an orange or a banana. Pretty basic, right? For us, it is straightforward. We would know the answer at first sight. But, how would a computer be able to tell the difference? In classification, the machine would first be trained on some pre-labeled data. It would be shown an orange and we would tell it that the fruit is an orange. The machine would study the orange and remember its features - orange color and round shape. Then it would be shown a banana and the process is repeated. What are these features? A feature is anything that helps us uniquely labe...