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

First Rejection

About four years ago, I self-published my first novel, I Want Your Life . Self-publishing was not my initial plan. Like most aspiring writers, I envisioned my book being published under the label of one of the prominent publishing houses in the country, such as Penguin or HarperCollins. However, my editor gave me a reality check and explained that large publishing houses receive several submissions daily, making it highly unlikely for a first-time writer to get noticed. More than the prestige of being published under an established banner, my excitement lay in seeing my story in the form of a book. So, I chose the self-publishing route. After months of back-and-forth with my publishing team - proofreading, editing, revisions, illustrations, book registration, and printing - my book was finally out. It was truly a dream come true. The upside of self-publishing is the sweet certainty of getting published. The downside, however, is that you are responsible for everything, including promot...

IFF(FPC)K

 If you know me personally, you might also know that I am a regular at the International Film Festval of Kerala, held annually in December at Thiruvananthapuram (and if you don’t know me personally, just read the first sentence). A habit that started during my Thiruvananthapuram days in 2016, I look forward and try to attend the week long celebration of cinema - unless life or a killer virus gets in the way. Prologue Since the dates for the next fest are officially announced during the conclusion of the current fest, what follows is an year long wait. Nothing significant happens for the most part of the year, so let us skip ahead to November - when the registration opens for delegates. Yes, we know that there are over ten thousand delegate passes and registration window usually lasts days - still most of my friends (and I) hit the servers with a passion  until our registrations go through. Once that is done, the wait begins for the schedule to be released - where we would come...

Familial Cowswami

Last day, I had the misfortune of interacting with the husband of one of my cousins at a family event. Since we’ve already established my feelings toward him, let me clarify that he is not an evil person. It’s just that our ideologies and outlooks toward life could poetically be described as Yin-Yang—completely opposite, with no common ground. That’s fine; everyone is entitled to their vision, as long as they don’t try to claim their vision as the only correct one and attempt to shove it on others who haven’t asked for advice. After exchanging pleasantries, we got down to the “real talk.” He started by asking me why I am still sticking around here (India) and not moving abroad. To set the context, he has been working in the Middle East ever since I first met him at my cousin’s wedding, around fourteen years ago. His wife and kids, who used to live with him, recently moved to Canada, possibly to settle there once he retires. Of course, moving abroad seems to be the trend (or even the no...