What are bins?
Bins allow you to group numerical values on a continuous metric. For example, if you are looking at the neural sentiment output for a million records, there are too many values, each between zero and one, to make sense of visually. To make it easier to visualize the data, we can create four bins in which to group the values.
How to Create Bins
- From your workspace, open the Widget Editor by adding a new widget.
- Select the appropriate data stream and then begin to add your dimensions. Under Neural Sentiment Model, select the auto.label field.
- In the Settings panel to the right, select the Pie visualization.
- From the Fields panel on the left, under Calculated Fields, drag the Number of Records field and drop it onto the Size Dimension to show how many records there are for each sentiment label value.
You can see that it is difficult to make sense of the data with so many values. - On the Dimensions shelf, click the drop-down arrow for the Neural Sentiment Model auto.label field and click Create Bins.
- In the Create bins dialog that appears, click Add boundary values.
- In the Boundary#1 box, change the default 0.50 to 0.25 to set the maximum value for the first bin.
- Click Add boundary values again, and in the Boundary#2 box, set the maximum value to 0.5.
Click Add boundary values again, and in the Boundary#3 box, set the maximum value to 0.75. - You now have four bins for the neural sentiment label values. Click inside the Group 1 box and add a label that is meaningful for your data, then repeat for each of the four bins.
- Click Apply to see the data arranged in the four bins.

The widget will now be available in your workspace.
Further questions?
We're here to help! Don't hesitate to contact us for further assistance via chat or submit a ticket!
Comments
0 comments
Please sign in to leave a comment.