Segmentation v3 - RodentDataAnalytics/mwm-ml-gen GitHub Wiki

After a project has been created or loaded the user is able to proceed to the Segmentation process.

Contents

  1. Segmentation Overview
  2. The Segmentation Panel

Segmentation Overview

As described in the publication of Gehring, Tiago V., et al., compared to previous approaches that attempted to categorize the behaviour of animals by using the whole swimming paths, this approach first splits the animal trajectory inside the Morris Water Maze into segments and then tries to classify each one of them. In that way the difficulty of classifying long animal trajectories exhibiting many different kinds of behaviour into one strategy is overcome.

The segmentation process works as follows: each trajectory is divided into N segments of length d. Each segment overlaps with previous segments (by an h percentage) to reduce the classification variance due to unfavourable segmentations.

The Segmentation Panel

segmentation

  • Segmentation Length: Specifies the length d of the segments (small variations may apply due to the the discrete nature and spacing of available data points).

  • Segment Overlap: Specifies the percentage of overlap (h) between the segments. h needs to be positive and less than 1 (for example 0.9 equals to 90% overlap). This field accepts comma-separated values in order to run the segmentation process more than once.

  • Segmentation (Button): If the above information is provided correctly then the program reads the animal trajectories and segments them. Moreover, it computes eight features of the trajectories and of the segments. When the process is finished all the values are stored inside the project folder (refer to the section The Project Folder for more information of hom the various files are arranged. The Default Segmentation will list all the segmentations of this project. In case a segmentation is not shown press the Refresh button. The default segmentation specifies with which segmentation the user wants to proceed and its name specifies the defined length and overlap (for example segmentation_configs_250_09.mat means that the trajectories were segmenting using segment length of 250cm and overlap 90%).