scikit-learn के साथ Supervised Learning
George Boorman
Core Curriculum Manager, DataCamp
![]()

बिना लेबल वाले डेटा से छिपे पैटर्न निकालना
उदाहरण:

भविष्यवाणी किए जाने वाले मान ज्ञात होते हैं
लक्ष्य: दिए गए फीचर्स से अनदेखे डेटा के target मानों की भविष्यवाणी करना



Feature = predictor variable = independent variable
Target variable = dependent variable = response variable

from sklearn.module import Modelmodel = Model()model.fit(X, y)predictions = model.predict(X_new)print(predictions)
array([0, 0, 0, 0, 1, 0])
scikit-learn के साथ Supervised Learning