Classification Algorithm is where the categories are predicted using categorical data.Classification is a Supervised Learning approach in which the computer program learns from the input given to it and this learning to classify new observations.
Logistic Regression produces results in a binary format which iss used to predict the outcome of categorical dependent variable.
so the outcome should be discrete / categorical such as: 0 or 1, Yes or No,True or False,High and low
This article provide step by step machine learning model implementation.One can use different machine learning model and find out the accuracy of each model and compare different models with each other and find out which is the best model that can predict the values and may provide better performance.