diff --git a/Programs/Source/easy_adult.mpc b/Programs/Source/easy_adult.mpc index 5f1ccc38..732a835b 100644 --- a/Programs/Source/easy_adult.mpc +++ b/Programs/Source/easy_adult.mpc @@ -3,7 +3,7 @@ from sklearn.model_selection import train_test_split from Compiler import decision_tree data = pandas.read_csv( - 'https://datahub.io/machine-learning/adult/r/adult.csv') + 'https://raw.githubusercontent.com/jbrownlee/Datasets/master/adult-all.csv', header=None) #'/tmp/adult.csv') data, attr_types = decision_tree.preprocess_pandas(data) diff --git a/doc/machine-learning.rst b/doc/machine-learning.rst index a6ac1b7d..3648bee4 100644 --- a/doc/machine-learning.rst +++ b/doc/machine-learning.rst @@ -378,7 +378,7 @@ library:: from Compiler import decision_tree data = pandas.read_csv( - 'https://datahub.io/machine-learning/adult/r/adult.csv') + 'https://raw.githubusercontent.com/jbrownlee/Datasets/master/adult-all.csv', header=None) data, attr_types = decision_tree.preprocess_pandas(data)