Skip to content

Commit

Permalink
adjusted the libary versions in requirements and added an env file
Browse files Browse the repository at this point in the history
  • Loading branch information
cemsaz committed Nov 20, 2021
1 parent f5e865f commit 0384395
Show file tree
Hide file tree
Showing 14 changed files with 99 additions and 32 deletions.
15 changes: 15 additions & 0 deletions mlu-dte.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ml-dte
dependencies:
- python=3.9
- pip
- pip:
- pip==21.3.1
- numpy==1.19.5
- pandas==1.1.5
- matplotlib==3.3.4
- scikit-learn==0.24.2
- mxnet==1.8.0.post0
- catboost==0.26.1
- lightgbm==3.2.1
- ipykernel==5.5.6
- ipywidgets==7.6.3
12 changes: 10 additions & 2 deletions notebooks/final_project/DTE-FINAL-PROJECT.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,17 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Note: you may need to restart the kernel to use updated packages.\n"
]
}
],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
12 changes: 10 additions & 2 deletions notebooks/lecture_1/DTE-LECTURE-1-PRUNE.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,17 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Note: you may need to restart the kernel to use updated packages.\n"
]
}
],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
14 changes: 11 additions & 3 deletions notebooks/lecture_2/DTE-LECTURE-2-TREE-VARIANCE.ipynb

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions notebooks/lecture_3/DTE-LECTURE-3-BAGGING-OVERFIT.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,17 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Note: you may need to restart the kernel to use updated packages.\n"
]
}
],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
34 changes: 21 additions & 13 deletions notebooks/lecture_3/DTE-LECTURE-3-BOOTSTRAP.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/lecture_3/DTE-LECTURE-3-RANDOM-FOREST.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/lecture_3/DTE-LECTURE-3-TREE-CORRELATION.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/lecture_4/DTE-LECTURE-4-FEATURE-IMPORTANCE.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
12 changes: 10 additions & 2 deletions notebooks/lecture_5/DTE-LECTURE-5-BOOSTING.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Note: you may need to restart the kernel to use updated packages.\n"
]
}
],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/lecture_5/DTE-LECTURE-5-CATBOOST.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/lecture_5/DTE-LECTURE-5-LIGHTGBM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -q -r ../../requirements.txt"
"%pip install -q -r ../../requirements.txt"
]
},
{
Expand Down
8 changes: 6 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
pip==21.3.1
numpy==1.19.5
pandas==1.1.5
matplotlib==3.3.4
mxnet==1.8.0
scikit-learn==0.24.2
mxnet==1.8.0.post0
catboost==0.26.1
lightgbm==3.2.1
lightgbm==3.2.1
ipykernel==5.5.6
ipywidgets==7.6.3

0 comments on commit 0384395

Please sign in to comment.