Commit
·
ae515f1
1
Parent(s):
9cdf12a
final
Browse files- predict_from_csv.ipynb +2 -10
predict_from_csv.ipynb
CHANGED
|
@@ -5,15 +5,7 @@
|
|
| 5 |
"execution_count": null,
|
| 6 |
"id": "fd9ef55b",
|
| 7 |
"metadata": {},
|
| 8 |
-
"outputs": [
|
| 9 |
-
{
|
| 10 |
-
"name": "stdout",
|
| 11 |
-
"output_type": "stream",
|
| 12 |
-
"text": [
|
| 13 |
-
"Trait predictions saved to: /Users/arashalborz/Desktop/Data/filled_predictions.csv\n"
|
| 14 |
-
]
|
| 15 |
-
}
|
| 16 |
-
],
|
| 17 |
"source": [
|
| 18 |
"'''\n",
|
| 19 |
"Script for getting prediction for a TEST.CSV file with three columns of text.\n",
|
|
@@ -23,7 +15,7 @@
|
|
| 23 |
"separate prediction models (optimized random forests). \n",
|
| 24 |
"The predictions are then applies as labels for each of the train columns.\n",
|
| 25 |
">>> Important: All the other columns in the original CSV file will be untouched (Q1, Q2, Q3 and Humility). \n",
|
| 26 |
-
"The CSV input file does not need to have empty values for traits
|
| 27 |
"the script replaces the predictions with annotations.\n",
|
| 28 |
"'''\n",
|
| 29 |
"\n",
|
|
|
|
| 5 |
"execution_count": null,
|
| 6 |
"id": "fd9ef55b",
|
| 7 |
"metadata": {},
|
| 8 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"source": [
|
| 10 |
"'''\n",
|
| 11 |
"Script for getting prediction for a TEST.CSV file with three columns of text.\n",
|
|
|
|
| 15 |
"separate prediction models (optimized random forests). \n",
|
| 16 |
"The predictions are then applies as labels for each of the train columns.\n",
|
| 17 |
">>> Important: All the other columns in the original CSV file will be untouched (Q1, Q2, Q3 and Humility). \n",
|
| 18 |
+
"The CSV input file does not need to have empty values for traits; \n",
|
| 19 |
"the script replaces the predictions with annotations.\n",
|
| 20 |
"'''\n",
|
| 21 |
"\n",
|