Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.
Now you can double-click on the `notebook` folder on the left, open and run the contained file.
Click on the double arrow (⏩️) to execute the Python scripts (click on the image below to go to the notebook file).

image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyter_hub_run_notebook.png[link=https://github.com/stackabletech/demos/blob/main/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,window=_blank]

The Python notebook uses libraries such as `pandas` and `scikit-learn` to analyze the data.
In addition, since the model training is delegated to a Spark Connect server, some of these dependencies, most notably `scikit-learn`, must also be made available on the Spark Connect pods.
For convenience, a custom image is used in this demo that bundles all the required libraries for both the notebook and the Spark Connect server.
Expand Down