Limit scikit-learn version because of API changes (#81)

* Limit scikit-learn versions between 0.22.2 and 1.1.3, remove deprecated load_boston().

* Set pytest configuration option to show test progress in detail.

* Change np.int to int according to DeprecationWarning

Signed-off-by: Maya Anderson <mayaa@il.ibm.com>
This commit is contained in:
andersonm-ibm 2023-05-14 08:52:06 +03:00 committed by GitHub
parent be7d248c33
commit e9a225501f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 84 additions and 79 deletions

View file

@ -66,11 +66,11 @@
"\n",
"y_train[y_train == '<=50K'] = 0\n",
"y_train[y_train == '>50K'] = 1\n",
"y_train = y_train.astype(np.int)\n",
"y_train = y_train.astype(int)\n",
"\n",
"y_test[y_test == '<=50K'] = 0\n",
"y_test[y_test == '>50K'] = 1\n",
"y_test = y_test.astype(np.int)\n",
"y_test = y_test.astype(int)\n",
"\n",
"print(x_train)"
]
@ -264,4 +264,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}