From 170543bdec8daa86deb99b662e4abe118633f9f2 Mon Sep 17 00:00:00 2001 From: shreeya-cy Date: Fri, 26 Jul 2024 22:35:17 +0200 Subject: [PATCH] Added descriptions --- stream_viz/tutorial/UserGuide.ipynb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/stream_viz/tutorial/UserGuide.ipynb b/stream_viz/tutorial/UserGuide.ipynb index d531dfb..6fd073a 100644 --- a/stream_viz/tutorial/UserGuide.ipynb +++ b/stream_viz/tutorial/UserGuide.ipynb @@ -617,6 +617,16 @@ }, "id": "6c1003f5754ba554" }, + { + "cell_type": "markdown", + "source": [ + "**_Note**: A stream graph shows how categories in a feature change over time, with the vertical axis representing the magnitude of each category at each time point. The baseline is not fixed, allowing for negative values on the Y-axis. The stream graph is used typically used for categorical data, it can be used for numerical data provided there are bins for the numerical data (This is not implemented in the current version)." + ], + "metadata": { + "collapsed": false + }, + "id": "66fbcf044689c97c" + }, { "cell_type": "code", "execution_count": 6, @@ -708,6 +718,17 @@ }, "id": "1b912986b347e4a2" }, + { + "cell_type": "markdown", + "source": [ + "\n", + "**_Note_**:The user should upload both the complete and incomplete datasets to generate this visualization. The ScatterPlotter class has two methods: plot_numerical and plot_categorical. The plot_numerical method handles numerical features, displaying all time points on the X-axis. The plot_categorical method handles categorical features, adjusting missing values to 0.5 after one-hot encoding and limiting the X-axis to the first 100 time points.\n" + ], + "metadata": { + "collapsed": false + }, + "id": "f3ccba5ae2b49026" + }, { "cell_type": "code", "execution_count": 10,