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

Book Review : Scion Of Ikshvaku

Author : Amish Tripathi Genre : Mythological Fantasy Published On : 22 June 2015 Watch trailer on Youtube Buy Online! As the makers put it, this first installment of the Ram Chandra series is the most awaited literary blockbuster of the year. The frenzied wait had its effect on me, as I had pre-ordered a copy, days before its release. Obviously, the most weighted factor which prompted me into this craze was The Shiva Trilogy, the previous work of the boring banker turned happy author. Shiva Trilogy achieved its cult status for two major reasons: a) the plot being discussed offered a welcome change from the modern day love stories that had mushroomed up in the post Chetan era. b) The author had meticulously researched through Vedas and other ancient texts, and had reconstructed the very image of Shiva, into a very capable man rather than a miracle performing God. To quote the First City, Amish had succeeded on reintroducing Hindu mythology to the youth of t...

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...

The Plan

The son went and sat near his father. “It’s been a while, dad. How are things going?” “It really has been a while, hasn’t it? I stopped following time since God knows when.” “That’s quite unbecoming of you, dad. For what I know, you were someone who used to measure time and plan accordingly. Shall I say shrewd?” “I prefer meticulous. And yes, I used to measure time – every ounce of it. Each of my actions were prudently strategic. I wanted the best for myself and my folks.” “Are you telling me even I were a result of your deliberate planning? Interesting.” “You? Of course. Especially you. There was a time when my whole life was centered on you. I have had immense plans for you, even before you were born. Do you think you just happened to be born in the month of May?” “I am quite familiar with the nine months’ infancy phase, dad. I believe that though I came out only in May, I began to exist sometime in August, perhaps.” “That’s a way to look at it, righ...