Skip to content

Commit 03e3d99

Browse files
gustavocidornelaswhoseoyster
authored andcommitted
Re-organize requirements.txt files for sklearn models
1 parent 3de1339 commit 03e3d99

File tree

12 files changed

+18
-6
lines changed

12 files changed

+18
-6
lines changed

examples/tabular-classification/sklearn/churn-classifier/churn-classifier-sklearn.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"%%bash\n",
2626
"\n",
2727
"if [ ! -e \"requirements.txt\" ]; then\n",
28-
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/requirements.txt\" --output \"requirements.txt\"\n",
28+
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/churn-classifier/requirements.txt\" --output \"requirements.txt\"\n",
2929
"fi"
3030
]
3131
},

examples/tabular-classification/sklearn/fetal-health/fetal-health-sklearn.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"%%bash\n",
3232
"\n",
3333
"if [ ! -e \"requirements.txt\" ]; then\n",
34-
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/requirements.txt\" --output \"requirements.txt\"\n",
34+
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/fetal-health/requirements.txt\" --output \"requirements.txt\"\n",
3535
"fi"
3636
]
3737
},

examples/tabular-classification/sklearn/fraud-detection/fraud-classifier-sklearn.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"%%bash\n",
2424
"\n",
2525
"if [ ! -e \"requirements.txt\" ]; then\n",
26-
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/requirements.txt\" --output \"requirements.txt\"\n",
26+
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/fraud-detection/requirements.txt\" --output \"requirements.txt\"\n",
2727
"fi"
2828
]
2929
},
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
numpy>=1.20
2+
pandas==1.1.4
3+
scikit-learn==0.24.1

examples/tabular-classification/sklearn/iris-classifier/iris-tabular-sklearn.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"%%bash\n",
2222
"\n",
2323
"if [ ! -e \"requirements.txt\" ]; then\n",
24-
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/requirements.txt\" --output \"requirements.txt\"\n",
24+
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/tabular-classification/sklearn/iris-classifier/requirements.txt\" --output \"requirements.txt\"\n",
2525
"fi"
2626
]
2727
},
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
numpy>=1.20
2+
pandas==1.1.4
3+
scikit-learn==0.24.1

examples/text-classification/sklearn/banking/demo-banking.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"%%bash\n",
2424
"\n",
2525
"if [ ! -e \"requirements.txt\" ]; then\n",
26-
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/text-classification/sklearn/requirements.txt\" --output \"requirements.txt\"\n",
26+
" curl \"https://raw.githubusercontent.com/unboxai/examples-gallery/main/text-classification/sklearn/banking/requirements.txt\" --output \"requirements.txt\"\n",
2727
"fi"
2828
]
2929
},
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
numpy>=1.20
2+
pandas==1.1.4
3+
scikit-learn==0.24.1

0 commit comments

Comments
 (0)