Skip to content

A Classification of Machine Learning is defined as the Process of Predicting the output based on the input, where output variable is known as Dependent Variable and input variable is known as Independent Variable.

Notifications You must be signed in to change notification settings

mudith-nahata/Classification-of-Machine-Learning-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Classification-of-Machine-Learning-Model Using Logistic Regression.

Steps Involved

1. Preprocess + EDA + Feature Selection

---> The preprocessing of the data is to clean the unwanted data,outliers,duplicate data etc.
---> EDA stands for "Exploratory Data Analysis", which is used to analyze the data and plot the graphs. 
---> Feature Selection is selecting the Input column from the given dataset.

Output of Preprocess:

Screenshot (78)

2. Extract input and output cols

 ---> The Extracting of the Input and Output Columns by Using the selecting the necessary input columns and removing the unwanted data from the given dataset.

Output:-

Screenshot (78)

3. Scale the values

 ---> Scaling the Values is the transforming the values of each training data set into numpy or array or tensor form with the different values that indicates and becomes easy to predict the output from the given dataset.

Output:-

Screenshot (80) Screenshot (81)

4. Train test split

 ---> Train Test Split is we differentiate both the training data and Test data using the test_score.
 ---> To split the train test split we use sklearn.model_selection module.
 ---> from sklearn.model_selection module we use train_test_split function which is an inbuilt function in sklearn.model_selection module.

Output:-

Screenshot (82)

5. Train the model

 ---> To Train the Machine Learning Model We have used a Logistic Regression Algorithm 
 ---> After Training the Model we have also used LogisticRegression function to fit the data.

Output:

Screenshot (83)

6. Evaluate the model/model selection

--> After Completion of Training the Machine Learning Model, We used to predict the results and check the Accuracy of the Machine Learning Model.

Output:

Screenshot (84)

7. Deploy the model:

 ---> After predicting the Machine Learning Model, If the Accuracy and prediction is Good as per the requirements, We Generally Deploy the Machine Learning Model in the Production/Server.

Output:-

Screenshot (85)

Generally this process is called as "Machine Learning Devlopment Life Cycle", Whenever we do any kind of "Machine Learning Related Projects We Undergo with these Common Steps.


                                    WRITTEN BY: MUDITH NAHATA

About

A Classification of Machine Learning is defined as the Process of Predicting the output based on the input, where output variable is known as Dependent Variable and input variable is known as Independent Variable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published