Ravindra BagaleCourses & study guides English Track your progress

30. Machine Learning Workflow पाऊल-पाऊल

Data Science

30.2 एक India story walkthrough

का. Abstract steps रिकामे वाटतात. एक Maharashtra story त्यांना चिकट करते.

काय. काल्पनिक story: Kolhapur मधील Amazon Now-style dark store rider निघण्यापूर्वी late delivery risk अंदाज करू इच्छिते. Label = was_late (delivery > 20 minutes तर 1, नाहीतर 0). Numbers काल्पनिक आहेत.

कसे.

Story वर पाच पावले चालवा

  1. Data. Rani मागील 2,000 orders export करते: city zone, item count, rain flag, time of day, was_late.
  2. Features. ती items, rain_mm, hour_ist, distance_km ठेवते. Rider name काढून टाकते (unfair / unstable).
  3. Train. ती past rows च्या 80% वर model शिकते (Chapter 31 split).
  4. Evaluate. उरलेल्या 20% वर ती पाहते की late अंदाज किती वेळा बरोबर होते (metrics पुढील chapters मध्ये).
  5. Predict. पावसासह 7:40 PM च्या नवीन order साठी model late-risk score देतो. दुसरा picker जोडायचा का हे माणूस अजून ठरवतो.
import pandas as pd

# Fictional mini snapshot of the story table
story = pd.DataFrame({
 "order_id": ["AMN-100", "AMN-101", "AMN-102"],
 "items": [2, 9, 4],
 "rain_mm": [0, 18, 2],
 "hour_ist": [11, 19, 20],
 "distance_km": [1.5, 6.2, 3.1],
 "was_late": [0, 1, 0],
})
print(story)
print("Workflow words: data ready → choose features → (later) train/evaluate/predict")

तुम्हाला काय दिसायला हवे. Supervised ML input सारखी दिसणारी table. या chapter मध्ये अजून model fit करत नाही.

काल्पनिक data

Order counts, rain आणि late flags शिकवण्यासाठी काल्पनिक आहेत. खरे Amazon / Blinkit आकडे नाहीत.

Ravindra Bagale's Tip

Always end your project story with one label sentence, such as: “We predict ___.” Fill the blank with the exact thing the model will predict. If your story has no label, it is not complete yet.