Why is cross_val_score not producing consistent results?
When this code executes the results are not consistent. Where is the randomness coming from? from sklearn import datasets from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.decomposition import PCA from sklearn.tree import DecisionTreeClassifier from sklearn.pipeline import Pipeline from sklearn.model_selection import KFold from sklearn.model_selection import cross_val_score seed = 42 iris = datasets.load_iris() X =… Read More Why is cross_val_score not producing consistent results?