scikit-learn Tutorial => Sample datasets
riptutorial.com › scikit-learn › exampleFor ease of testing, sklearn provides some built-in datasets in sklearn.datasets module. For example, let's load Fisher's iris dataset: import sklearn.datasets iris_dataset = sklearn.datasets.load_iris () iris_dataset.keys () ['target_names', 'data', 'target', 'DESCR', 'feature_names'] You can read full description, names of features and names of classes ( target_names ).