Ravindra BagaleCourses & study guides मराठी Track your progress

29. What Is Machine Learning (Simple Explanation)

29.1 What Machine Learning Means in Daily Work

Why. Ruhi Bagale opens an India shopping app in Pune. The home screen shows pickles she likes. A spam SMS is filtered. A UPI app flags one odd payment. She did not write those rules by hand last night. Machine learning (ML) means software that finds patterns from past data and then guesses on new rows.

What. Machine learning is a way to teach a computer from examples. You give many past rows (orders, messages, clicks). The computer builds a model — a compact set of learned patterns. Later you give a new row. The model outputs a guess: a number, a yes/no, or a group. This chapter stays in words. You will train models from Chapter 33 onward.

How.

Spot ML in daily India apps (fictional product stories)

  1. Recommendations. A grocery app shows “buy again” for Shraddha’s weekly atta and milk in Nagpur because past carts looked similar.
  2. Spam filters. An SMS app marks “You won ₹5 lakh — click now” as spam after seeing thousands of similar scam texts.
  3. Fraud flags. A payments app pauses a ₹48,000 transfer at 2:10 AM IST from a new device — not because a person typed a rule at 2 AM, but because past fraud rows looked like this.
  4. Write one sentence for each: “Past data → pattern → guess on a new case.”

Worked example — three fictional rows (recommendation).

# Not training yet — just reading past behaviour as a table
import pandas as pd

history = pd.DataFrame({
 "customer": ["Ruhi", "Ruhi", "Raja", "Rani"],
 "city": ["Pune", "Pune", "Kolhapur", "Nashik"],
 "item": ["pickle_jar", "atta_5kg", "grape_crate", "milk_1l"],
 "bought_again_next_week": [1, 1, 0, 1],
})
print(history)
print("ML idea: use past rows to guess bought_again for a NEW visit.")

What you should see. A small table of past choices. Machine learning starts when we later ask: “For a new visit, will they buy again?” Analytics alone would stop at “Ruhi bought pickle twice.” ML goes one step further: it guesses for cases you have not seen yet.

Fictional data

App names and amounts here are teaching stories only. They are not real company metrics.

Ravindra Bagale's Tip

Khup students ML = ChatGPT samajtat. Nahi. ChatGPT text generate karto. ML often ek number ki yes/no predict karto past table varun. Fark lakshat theva.