Skip to content

Commit 418918d

Browse files
authored
Merge branch 'docs/e2e-ts-notebook-2' into docs/e2e-ts-notebook-3
2 parents 7bd2222 + ee0593d commit 418918d

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

doc/source/ray-overview/examples/e2e-timeseries/e2e_timeseries/02-Validation.ipynb

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@
5252
"**Note**: Ray Data operates as batch processing with streaming execution rather than a real-time stream processing engine like Flink or Kafka Streams. This approach proves especially useful for iterative ML workloads, ETL pipelines, and preprocessing before training or inference. Ray typically delivers a [**2-17x throughput improvement**](https://www.anyscale.com/blog/offline-batch-inference-comparing-ray-apache-spark-and-sagemaker#-results-of-throughput-from-experiments) over solutions like Spark and SageMaker Batch Transform.\n"
5353
]
5454
},
55+
{
56+
"cell_type": "code",
57+
"execution_count": null,
58+
"metadata": {},
59+
"outputs": [],
60+
"source": [
61+
"# Enable importing from e2e_timeseries module.\n",
62+
"import os\n",
63+
"import sys\n",
64+
"\n",
65+
"sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), os.pardir)))"
66+
]
67+
},
5568
{
5669
"cell_type": "markdown",
5770
"metadata": {},
@@ -65,8 +78,6 @@
6578
"metadata": {},
6679
"outputs": [],
6780
"source": [
68-
"import os\n",
69-
"\n",
7081
"import numpy as np\n",
7182
"import ray\n",
7283
"import torch\n",

doc/source/ray-overview/examples/e2e-timeseries/e2e_timeseries/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)