Even with the name containing 'regression' keyword, it is a classification model.
It is not necessary to apply feature scaling while preparing this model because it is inbuilt in the model definition, but still scaling the data as part of pre-processing makes it even more effective.
# MODEL TRAININGfromsklearn.linear_modelimportLogisticRegressionclassifier=LogisticRegression(random_state=0)classifier.fit(X_train,y_train)classifier.predict(X_test)# PREDICTING ON A CUSTOM FEATURESclassifier.predict(sc.transform([[col_1_val,col_2_val,...]]))