Skip to content

Commit

Permalink
docs: remove cell output - sentiment analysis quickstart (#1932)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaXYWang authored Apr 25, 2023
1 parent 4c8ade6 commit f667c1c
Showing 1 changed file with 4 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,7 @@
"title": ""
}
},
"outputs": [
{
"data": {
"application/vnd.livy.statement-meta+json": {
"execution_finish_time": "2022-09-02T20:18:21.4549018Z",
"execution_start_time": null,
"livy_statement_state": null,
"queued_time": "2022-09-02T20:18:04.1274612Z",
"session_id": null,
"session_start_time": null,
"spark_jobs": null,
"spark_pool": null,
"state": "cancelled",
"statement_id": null
},
"text/plain": [
"StatementMeta(, , , Cancelled, )"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"train, test = (\n",
" spark.read.parquet(\n",
Expand Down Expand Up @@ -123,29 +101,7 @@
"title": ""
}
},
"outputs": [
{
"data": {
"application/vnd.livy.statement-meta+json": {
"execution_finish_time": "2022-09-02T20:18:21.4560511Z",
"execution_start_time": null,
"livy_statement_state": null,
"queued_time": "2022-09-02T20:18:04.2792548Z",
"session_id": null,
"session_start_time": null,
"spark_jobs": null,
"spark_pool": null,
"state": "cancelled",
"statement_id": null
},
"text/plain": [
"StatementMeta(, , , Cancelled, )"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"from pyspark.ml import Pipeline\n",
"from synapse.ml.featurize.text import TextFeaturizer\n",
Expand Down Expand Up @@ -184,29 +140,7 @@
"title": ""
}
},
"outputs": [
{
"data": {
"application/vnd.livy.statement-meta+json": {
"execution_finish_time": "2022-09-02T20:18:21.4570637Z",
"execution_start_time": null,
"livy_statement_state": null,
"queued_time": "2022-09-02T20:18:04.3829014Z",
"session_id": null,
"session_start_time": null,
"spark_jobs": null,
"spark_pool": null,
"state": "cancelled",
"statement_id": null
},
"text/plain": [
"StatementMeta(, , , Cancelled, )"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"display(model.transform(test))"
]
Expand Down Expand Up @@ -239,29 +173,7 @@
"name": "#%%\n"
}
},
"outputs": [
{
"data": {
"application/vnd.livy.statement-meta+json": {
"execution_finish_time": "2022-09-02T20:18:21.4580363Z",
"execution_start_time": null,
"livy_statement_state": null,
"queued_time": "2022-09-02T20:18:04.4950824Z",
"session_id": null,
"session_start_time": null,
"spark_jobs": null,
"spark_pool": null,
"state": "cancelled",
"statement_id": null
},
"text/plain": [
"StatementMeta(, , , Cancelled, )"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"from synapse.ml.cognitive import TextSentiment\n",
"from synapse.ml.core.platform import find_secret\n",
Expand Down

0 comments on commit f667c1c

Please sign in to comment.