Skip to content

Commit

Permalink
fix xgboost by downgrading sklearn to 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AHFXAdam committed Feb 3, 2025
1 parent 4e03df6 commit d37ddeb
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 49 deletions.
9 changes: 9 additions & 0 deletions notebooks/hint_xgboost.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install scikit-learn==1.5.2"
]
},
{
"cell_type": "code",
"execution_count": 8,
Expand Down
99 changes: 50 additions & 49 deletions notebooks/starter_housing.ipynb
Original file line number Diff line number Diff line change
@@ -1,85 +1,86 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "starter_housing.ipynb",
"provenance": [],
"collapsed_sections": [],
"authorship_tag": "ABX9TyMPm5GcCH16tF6CxSCDzGEc"
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
}
},
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install scikit-learn==1.5.2"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"id": "mA0HPVmIBT4C",
"colab": {},
"colab_type": "code",
"colab": {}
"id": "mA0HPVmIBT4C"
},
"outputs": [],
"source": [
"import pandas as pd\n",
"\n",
"housing = pd.read_csv('https://raw.githubusercontent.com/byui-cse/cse450-course/master/data/housing.csv')"
],
"execution_count": 12,
"outputs": []
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "StiU5QcPPxqQ",
"colab": {},
"colab_type": "code",
"colab": {}
"id": "StiU5QcPPxqQ"
},
"source": [
""
],
"execution_count": null,
"outputs": []
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "ALLMN63FPyEQ",
"colab": {},
"colab_type": "code",
"colab": {}
"id": "ALLMN63FPyEQ"
},
"source": [
""
],
"execution_count": null,
"outputs": []
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "RnGBwGVZPyyh",
"colab": {},
"colab_type": "code",
"colab": {}
"id": "RnGBwGVZPyyh"
},
"source": [
""
],
"execution_count": null,
"outputs": []
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "CVSfaqgKPzE2",
"colab": {},
"colab_type": "code",
"colab": {}
"id": "CVSfaqgKPzE2"
},
"source": [
""
],
"execution_count": null,
"outputs": []
"outputs": [],
"source": []
}
]
}
],
"metadata": {
"colab": {
"authorship_tag": "ABX9TyMPm5GcCH16tF6CxSCDzGEc",
"collapsed_sections": [],
"name": "starter_housing.ipynb",
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
}
},
"nbformat": 4,
"nbformat_minor": 0
}

0 comments on commit d37ddeb

Please sign in to comment.