This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from sklearn.model_selection import train_test_split | |
from sklearn.datasets import load_iris | |
from sklearn.semi_supervised import LabelPropagation | |
import pytest | |
iris = load_iris() | |
X_train, X_test, y_train, y_test = train_test_split(iris.data, | |
iris.target, | |
random_state=0) |