Skip to main content

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:


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 clearly confused. Therefore, you decide to have a deeper comparison.


You start plotting the prices of each phone and start noting down the features offered. As you watch closely, you realize that some features (like support for 4g and dual sim support) are offered by most of the phones while the presence or absence of some features affects the price. Models with additional features like full HD display and quad camera are priced above fifteen thousand while the others are at the lower end of the price range. Then you do a trade-off and decide on the phone that suits you best.


Now let us look at how we use similar plotting of continuous values to predict certain aspects of people. One of the favorite target groups for such regression analysis in our daily lives is, unfortunately, women. The character of a girl or a woman is often predicted by the time at which she goes out in the public.


Let us talk about our favorite random person, X. X is a college-going girl for now. If she is back home or hostel by six in the evening, she is supposed to be well mannered. If she stays out later than six or (god forbid) six-thirty, something is not right! For working women, we have benevolently pushed the boundaries to seven. Don’t even ask me about eight or later. When the brutal and horrific news of Nirbhaya came out several years ago, some people around me were wondering why she was out at that hour of the day. I could not agree with their line of thought at all. However, the prime convict Mukesh Singh had the same questions. Frankly, I do not think he is the sort of person you wanna hold up as your role model.


Timings are only one of the features employed to predict the character. Another common feature is the length of her skirt, with knees being a major benchmark. Another feature that holds interest is the length of your hair. It is interesting because this feature works in contrasting ways for men and women. The longer, the better for women. The shorter, the better for men.


How regressive, right?

Comments

Popular posts from this blog

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 deliberations,

Movie Review : The Cabinet of Dr. Caligari

Title : The Cabinet of Dr. Caligari Language : Silent Movie Year : 1920 Director : Robert Wiene Genre : Horror IMDB Link Watch movie on YouTube Lead Role :   Friedrich Feher, Werner Krauss The movie is widely acknowledged as one of the landmark revolutionary offerings from the long gone era when movies did not speak. It may be technically incorrect to call a silent film German, nevertheless it was made in Germany during a time period when the European nation was in turmoils after the devastating World War I. The story begins with a young man by the name of Francis starts narrating the hardships faced by him and his fiancee (Jane) and the very peculiar, even horrifying doings of a strange man, Dr. Caligari. Dr. Caligari owns a stall at a nearby exhibition, and on display is a somnambulist Caeser, who allegedly has slept for 23 straight years! The doctor awakens him, and he answers questions asked by the spectators. To the horror of the locals, his prophecies comes true. Mean

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'