Machine Learning
Machine Learning
MACHINE LEARNING
Internshala Detailes
Internshala is a technology company on a mission to
equip students with relevant skills & practical
exposure to help them get the best possible start to
their careers. Imagine a world full of freedom and
possibilities. A world where you can discover your
passion and turn it into your career. A world where
you graduate fully assured, confident, and prepared
to stake a claim on your place in the world.
What is a Machine Learning?
Machine learning is a branch of artificial
intelligence (AI) and computer science which
focuses on the use of data and algorithms to
imitate the way that humans learn, gradually
improving its accuracy.
Machine learning is an important component
of the growing field of data science. Through
the use of statistical methods, algorithms are
trained to make classifications or predictions,
uncovering key insights within data mining
projects.
TRAIN AND TEST FITTING:
Test- Train from sklearn package we have to test and train by using
model class. df.ilec is a keyword for store x is data(pregnancy ,
Splitting BMI,insulin,….) and y is label or outcome . Then we know x
train and y train then x test and y test . Perform percentage
split of 80% to divide dataset as Training set and 30%.And to
Test data set. If we check x.train.head() how the data can be
stored and y.train.head() how label or outcome can be stored.
This is a classification problem of supervised machine learning.
The objective is to predict whether or not a patient has
diabetes, based on certain diagnostic measurements included
Problem in the dataset.
Statement 0 – Absence of Diabetes
1 – Presence of Diabetes