Amol Kaushik commited on
Commit
7f284e9
·
1 Parent(s): 7ca3fe8

fixed scikit dependency issue

Browse files
Files changed (2) hide show
  1. A3/A3_Report.ipynb +8 -8
  2. requirements.txt +1 -1
A3/A3_Report.ipynb CHANGED
@@ -1058,7 +1058,7 @@
1058
  "id": "bfc7b8c0",
1059
  "metadata": {},
1060
  "source": [
1061
- "## 8. Model training step 4: hyperparameter tuning of body regions"
1062
  ]
1063
  },
1064
  {
@@ -1243,7 +1243,7 @@
1243
  "id": "595e6b9d",
1244
  "metadata": {},
1245
  "source": [
1246
- "## 9. Model training - step 5: feature engineering of polynomial features"
1247
  ]
1248
  },
1249
  {
@@ -1306,7 +1306,7 @@
1306
  "id": "2f3e5f57",
1307
  "metadata": {},
1308
  "source": [
1309
- "## 10. Final champion comparison from all iterations"
1310
  ]
1311
  },
1312
  {
@@ -1572,7 +1572,7 @@
1572
  "id": "eba1be0e",
1573
  "metadata": {},
1574
  "source": [
1575
- "## 11. Deployment\n",
1576
  "\n",
1577
  "The classification endpoint is added to the existing Gradio app as a second tab. Tab 1 has Movement Scoring from A2. Tab 2 has Body Region Classification which takes 40 deviation features as input and outputs the predicted body region. The model is an sklearn Pipeline of StandardScaler + LogisticRegression getting 76.4% accuracy and 77.4% F1-weighted.\n",
1578
  "\n",
@@ -1584,8 +1584,8 @@
1584
  "id": "67013cc1",
1585
  "metadata": {},
1586
  "source": [
 
1587
  "\n",
1588
- "### Virtual environment\n",
1589
  "```bash\n",
1590
  "python -m venv venv\n",
1591
  "source venv/bin/activate\n",
@@ -1598,7 +1598,7 @@
1598
  "id": "445419d9",
1599
  "metadata": {},
1600
  "source": [
1601
- "## 13. DevOps/MLOps process\n",
1602
  "\n",
1603
  "GitHub Actions automatically syncs the repository to HuggingFace Spaces when pushed to main. The workflow file is found at .github/workflows/push_to_hf_space.yml."
1604
  ]
@@ -1671,7 +1671,7 @@
1671
  "id": "7a142abd",
1672
  "metadata": {},
1673
  "source": [
1674
- "## 15. contributions \n",
1675
  "\n",
1676
  "| Member | GitHub Issue | Tasks |\n",
1677
  "|--------|--------------|-------|\n",
@@ -1686,7 +1686,7 @@
1686
  "id": "f62680e2",
1687
  "metadata": {},
1688
  "source": [
1689
- "### Iterations\n",
1690
  "\n",
1691
  "| # | Iteration | Approach | Key change |\n",
1692
  "|---|-----------|----------|------------|\n",
 
1058
  "id": "bfc7b8c0",
1059
  "metadata": {},
1060
  "source": [
1061
+ "## 7. Model training step 4: hyperparameter tuning of body regions"
1062
  ]
1063
  },
1064
  {
 
1243
  "id": "595e6b9d",
1244
  "metadata": {},
1245
  "source": [
1246
+ "## 8. Model training step 5: feature engineering of polynomial features"
1247
  ]
1248
  },
1249
  {
 
1306
  "id": "2f3e5f57",
1307
  "metadata": {},
1308
  "source": [
1309
+ "## 9. Final champion comparison from all iterations"
1310
  ]
1311
  },
1312
  {
 
1572
  "id": "eba1be0e",
1573
  "metadata": {},
1574
  "source": [
1575
+ "## 10. Deployment\n",
1576
  "\n",
1577
  "The classification endpoint is added to the existing Gradio app as a second tab. Tab 1 has Movement Scoring from A2. Tab 2 has Body Region Classification which takes 40 deviation features as input and outputs the predicted body region. The model is an sklearn Pipeline of StandardScaler + LogisticRegression getting 76.4% accuracy and 77.4% F1-weighted.\n",
1578
  "\n",
 
1584
  "id": "67013cc1",
1585
  "metadata": {},
1586
  "source": [
1587
+ "## 11. Virtual environment\n",
1588
  "\n",
 
1589
  "```bash\n",
1590
  "python -m venv venv\n",
1591
  "source venv/bin/activate\n",
 
1598
  "id": "445419d9",
1599
  "metadata": {},
1600
  "source": [
1601
+ "## 12. DevOps/MLOps process\n",
1602
  "\n",
1603
  "GitHub Actions automatically syncs the repository to HuggingFace Spaces when pushed to main. The workflow file is found at .github/workflows/push_to_hf_space.yml."
1604
  ]
 
1671
  "id": "7a142abd",
1672
  "metadata": {},
1673
  "source": [
1674
+ "## 13. Contributions \n",
1675
  "\n",
1676
  "| Member | GitHub Issue | Tasks |\n",
1677
  "|--------|--------------|-------|\n",
 
1686
  "id": "f62680e2",
1687
  "metadata": {},
1688
  "source": [
1689
+ "## 14. Iterations\n",
1690
  "\n",
1691
  "| # | Iteration | Approach | Key change |\n",
1692
  "|---|-----------|----------|------------|\n",
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  gradio>=4.0.0
2
  pandas>=2.0.0
3
  numpy>=1.24.0
4
- scikit-learn>=1.3.0
5
  statsmodels>=0.14.0
6
  matplotlib>=3.7.0
 
1
  gradio>=4.0.0
2
  pandas>=2.0.0
3
  numpy>=1.24.0
4
+ scikit-learn==1.7.2
5
  statsmodels>=0.14.0
6
  matplotlib>=3.7.0