Deepak
0
Q:

sklearn - check the name of a machine learning

# Define the model
model1 = LogisticRegression()

# Check the name of the model
# It is useful when we are dealing with many alternative models
model1.__class__.__name__
0

New to Communities?

Join the community