Labeling Your Data

Once you have collected examples of the events you are trying to detect, it’s now time to label those events. How you do this depends on the type of event you are detecting (described in Data Collection Planning). First let’s see how to open our capture files.

Viewing your capture files

  1. After opening your project, click Switch Modes and open Label Explorer mode

../../_images/image_161.png
  1. To open the raw sensor data files you have captured, use the Project Explorer. This can be found in the upper left-hand corner of the DCL.

../../_images/image_171.png
  1. Double-Click on a file name to open the file

  2. Depending on the project you have loaded, the file will open and look similar to this

../../_images/image_181.png
  1. If you are working with a project that has Accelerometer and Gyroscope data, you will notice the DCL has split the data into two tracks. These tracks can be customized to display as many sensor columns as you need.

    (Optional) Click on the track menu options to add new tracks, update columns, or remove tracks. This is a powerful feature that allows you to visualize your data easier.

../../_images/image_191.png
  1. (Optional) Click and drag the area between tracks to adjust a track height

../../_images/image_201.png

Segments

Segments are how we label an event in the DCL. If you are following along in the slide demo, open any of the provided files and you will see a pair of blue and red lines. This defines where our event is located and is called a segment. See screenshot below:

../../_images/image_211.png

Sessions

../../_images/image_221.png

A session separates your labeled events (segments) into a group. Every segment is inside a session. Sessions allow you to work on multiple branches of the same dataset. Sessions can be useful when collaborating with a team or if you want to experiment with different segmentation methods on the same dataset.

Adding Segments to a Session

  1. Select a manual session to work in. In the slide demo, we have (M) My Training Session already created

../../_images/image_231.png
  1. Open a file

  2. Next, identify your event of interest in the graph. To do this, move your mouse onto the graph of your sensor data and right-click + drag your mouse over the area that you want to label as an event. This will place a new segment in the file.

../../_images/image_242.png
  1. After creating the segment, you label this segment by clicking Label Current Segment.

../../_images/image_251.png

To label multiple segments at the same time click Label Multiple Segments and right-click + drag to highlight the group of segments you want to label.

  1. Next select the label and click Done

../../_images/image_261.png

You have now added a new segment to the session My Training Session. The slide demo project has already been labeled, but if you were using your own data set you would repeat this process to label all of the events you wish to use as training data in your project.