install sklearn
pip install scikit-learn
import sklearn
import sklearn
import pandas as pd
from sklearn import datasets
iris=datasets.iris()
sklearn version
import nltk
import sklearn
print('The nltk version is {}.'.format(nltk.__version__))
print('The scikit-learn version is {}.'.format(sklearn.__version__))
# The nltk version is 3.0.0.
# The scikit-learn version is 0.15.2.
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__
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us