Skip to content

Commit

Permalink
Replace UCI http links back to https. Their certificates are up to date.
Browse files Browse the repository at this point in the history
  • Loading branch information
interpret-ml committed Apr 27, 2020
1 parent 70d54c3 commit 75baa30
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"from sklearn.datasets import load_boston\n",
"from sklearn.model_selection import train_test_split\n",
"\n",
"# SEC: This needs to change back to SSL once UCI resolves their expired cert.\n",
"df = pd.read_csv(\n",
" \"http://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data\",\n",
" \"https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data\",\n",
" header=None)\n",
"df.columns = [\n",
" \"Age\", \"WorkClass\", \"fnlwgt\", \"Education\", \"EducationNum\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"import pandas as pd\n",
"from sklearn.model_selection import train_test_split\n",
"\n",
"# SEC: This needs to change back to SSL once UCI resolves their expired cert.\n",
"df = pd.read_csv(\n",
" \"http://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data\",\n",
" \"https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data\",\n",
" header=None)\n",
"df.columns = [\n",
" \"Age\", \"WorkClass\", \"fnlwgt\", \"Education\", \"EducationNum\",\n",
Expand Down Expand Up @@ -214,7 +213,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"source": [
"# Do everything in one shot with the InterpretML Dashboard by passing a list into show\n",
Expand Down Expand Up @@ -244,4 +247,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
3 changes: 1 addition & 2 deletions python/interpret-core/interpret/test/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,8 @@ def iris_classification():


def adult_classification():
# SEC: This needs to change back to SSL once UCI resolves their expired cert.
df = pd.read_csv(
"http://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data",
"https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data",
header=None,
).sample(frac=0.01, random_state=42)
df.columns = [
Expand Down

0 comments on commit 75baa30

Please sign in to comment.