Contents
This sample demonstrates the use of the Spotfire Streaming Frequency Tables operator.
The provided StreamBase module uses simulated data with five variables whose moments vary and evolve over time. This example illustrates how the Frequency Tables operator coupled with the Matrix operator can allow you to easily monitor the trajectory of the sample moments over time allowing you to gain insight into possible shifts and drifts in the underlying data distributions.
In StreamBase Studio, import this sample with the following steps:
-
From the top-level menu, click
> . -
In the search field, type
frequencytables
to narrow the list of options. -
Select Basic frequency tables from the Streaming Datascience Operators category.
-
Click
.
StreamBase Studio creates a single project containing the sample files.
-
In the Project Explorer view, expand the
sample_datascience_frequencytables
project and double-click to open theFrequencyTablesSample.sbapp
application. Make sure the application is the currently active tab in the EventFlow Editor. -
Click the Run button. This opens the SB Test/Debug perspective and starts the application.
-
Click on the Feed Simulations tab, click the
FrequencyTables.sbfs
, then click the Run button to start feeding the data. -
The Frequency Tables operator starts taking data from the feed simulation and emitting the results after 50 rows collected.The Frequency Tables operator starts taking data from the feed simulation and emitting the results after 50 rows collected.
-
When done, press F9 or click the Stop Running Application button.