ibnummuhammad
commited on
Commit
•
98dc8b3
1
Parent(s):
a024f76
Fix path
Browse files
may-22-binary-classification.ipynb
CHANGED
@@ -66,7 +66,7 @@
|
|
66 |
},
|
67 |
{
|
68 |
"cell_type": "code",
|
69 |
-
"execution_count":
|
70 |
"id": "66d2b4ae",
|
71 |
"metadata": {
|
72 |
"execution": {
|
@@ -89,15 +89,17 @@
|
|
89 |
"name": "stdout",
|
90 |
"output_type": "stream",
|
91 |
"text": [
|
92 |
-
"
|
93 |
-
"
|
94 |
-
"
|
95 |
]
|
96 |
}
|
97 |
],
|
98 |
"source": [
|
99 |
"import os\n",
|
100 |
-
"
|
|
|
|
|
101 |
" for filename in filenames:\n",
|
102 |
" print(os.path.join(dirname, filename))"
|
103 |
]
|
@@ -121,7 +123,7 @@
|
|
121 |
},
|
122 |
{
|
123 |
"cell_type": "code",
|
124 |
-
"execution_count":
|
125 |
"id": "1c56f757",
|
126 |
"metadata": {
|
127 |
"execution": {
|
@@ -141,14 +143,14 @@
|
|
141 |
},
|
142 |
"outputs": [],
|
143 |
"source": [
|
144 |
-
"train = pd.read_csv(\"/
|
145 |
-
"test = pd.read_csv(\"/
|
146 |
-
"submission = pd.read_csv(\"/
|
147 |
]
|
148 |
},
|
149 |
{
|
150 |
"cell_type": "code",
|
151 |
-
"execution_count":
|
152 |
"id": "7dc3af51",
|
153 |
"metadata": {
|
154 |
"execution": {
|
|
|
66 |
},
|
67 |
{
|
68 |
"cell_type": "code",
|
69 |
+
"execution_count": 5,
|
70 |
"id": "66d2b4ae",
|
71 |
"metadata": {
|
72 |
"execution": {
|
|
|
89 |
"name": "stdout",
|
90 |
"output_type": "stream",
|
91 |
"text": [
|
92 |
+
"../coal-price-data/binary_classification/sample_submission.csv\n",
|
93 |
+
"../coal-price-data/binary_classification/train.csv\n",
|
94 |
+
"../coal-price-data/binary_classification/test.csv\n"
|
95 |
]
|
96 |
}
|
97 |
],
|
98 |
"source": [
|
99 |
"import os\n",
|
100 |
+
"\n",
|
101 |
+
"path = \"../coal-price-data/binary_classification\"\n",
|
102 |
+
"for dirname, _, filenames in os.walk(path):\n",
|
103 |
" for filename in filenames:\n",
|
104 |
" print(os.path.join(dirname, filename))"
|
105 |
]
|
|
|
123 |
},
|
124 |
{
|
125 |
"cell_type": "code",
|
126 |
+
"execution_count": 6,
|
127 |
"id": "1c56f757",
|
128 |
"metadata": {
|
129 |
"execution": {
|
|
|
143 |
},
|
144 |
"outputs": [],
|
145 |
"source": [
|
146 |
+
"train = pd.read_csv(f\"{path}/train.csv\")\n",
|
147 |
+
"test = pd.read_csv(f\"{path}/test.csv\")\n",
|
148 |
+
"submission = pd.read_csv(f\"{path}/sample_submission.csv\")"
|
149 |
]
|
150 |
},
|
151 |
{
|
152 |
"cell_type": "code",
|
153 |
+
"execution_count": 7,
|
154 |
"id": "7dc3af51",
|
155 |
"metadata": {
|
156 |
"execution": {
|