Skip to content

Commit

Permalink
Modified paths to data files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharat-Reddy committed Apr 22, 2019
1 parent 4610d45 commit 7fa16ec
Show file tree
Hide file tree
Showing 12 changed files with 5,194 additions and 38 deletions.
961 changes: 961 additions & 0 deletions Classifiers/.ipynb_checkpoints/Logistic Regression-checkpoint.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

657 changes: 657 additions & 0 deletions Classifiers/.ipynb_checkpoints/SVM Classifier-checkpoint.ipynb

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Classifiers/Logistic Regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
}
],
"source": [
"data = pd.read_csv(r\".\\small_ohe.csv\")\n",
"data = pd.read_csv(r\"..\\Data\\small_ohe.csv\")\n",
"data.head()"
]
},
Expand Down Expand Up @@ -939,21 +939,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 2",
"language": "python",
"name": "python3"
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
"pygments_lexer": "ipython2",
"version": "2.7.16"
}
},
"nbformat": 4,
Expand Down
12 changes: 6 additions & 6 deletions Classifiers/Random-Forest Classifier.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
}
],
"source": [
"df = pd.read_csv(r\".\\full_ohe.csv\")\n",
"df = pd.read_csv(r\"..\\Data\\full_ohe.csv\")\n",
"df.head()"
]
},
Expand Down Expand Up @@ -604,21 +604,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 2",
"language": "python",
"name": "python3"
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
"pygments_lexer": "ipython2",
"version": "2.7.16"
}
},
"nbformat": 4,
Expand Down
12 changes: 6 additions & 6 deletions Classifiers/SVM Classifier.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
}
],
"source": [
"data = pd.read_csv(r\".\\small_ohe.csv\")\n",
"data = pd.read_csv(r\"..\\Data\\small_ohe.csv\")\n",
"data.head()"
]
},
Expand Down Expand Up @@ -635,21 +635,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 2",
"language": "python",
"name": "python3"
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
"pygments_lexer": "ipython2",
"version": "2.7.16"
}
},
"nbformat": 4,
Expand Down
1,145 changes: 1,145 additions & 0 deletions Data Preparation/.ipynb_checkpoints/Label Encoding-checkpoint.ipynb

Large diffs are not rendered by default.

1,200 changes: 1,200 additions & 0 deletions Data Preparation/.ipynb_checkpoints/One-Hot-Encoding-checkpoint.ipynb

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions Data Preparation/Label Encoding.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
}
],
"source": [
"data = pd.read_csv(r\"..\\data\\small.csv\", sep=';')\n",
"data = pd.read_csv(r\"..\\Data\\raw-data\\small.csv\", sep=';')\n",
"data = data.drop('duration',axis=1)\n",
"data.head()"
]
Expand Down Expand Up @@ -1103,7 +1103,7 @@
"metadata": {},
"outputs": [],
"source": [
"data.to_csv(r\".\\small_le.csv\", index=False)"
"data.to_csv(r\"..\\Data\\small_le.csv\", index=False)"
]
},
{
Expand All @@ -1123,21 +1123,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 2",
"language": "python",
"name": "python3"
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
"pygments_lexer": "ipython2",
"version": "2.7.16"
}
},
"nbformat": 4,
Expand Down
14 changes: 7 additions & 7 deletions Data Preparation/One-Hot-Encoding.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
}
],
"source": [
"data = pd.read_csv(r\"..\\data\\full.csv\", sep=';')\n",
"data = pd.read_csv(r\"..\\Data\\raw-data\\full.csv\", sep=';')\n",
"data = data.drop('duration',axis=1)\n",
"data.head()"
]
Expand Down Expand Up @@ -1164,7 +1164,7 @@
"metadata": {},
"outputs": [],
"source": [
"dataProcessed.to_csv(r\".\\full_ohe.csv\", index=False)"
"dataProcessed.to_csv(r\"..\\Data\\full_ohe.csv\", index=False)"
]
},
{
Expand All @@ -1178,21 +1178,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 2",
"language": "python",
"name": "python3"
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
"pygments_lexer": "ipython2",
"version": "2.7.16"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 7fa16ec

Please sign in to comment.