Kleinberg batch

This notebook iterates over a batch of Kleinberg hyperparameters on a set of input files containing behavior classifications. The results of each iteration is saved in a separate output directory. Before running the code, make sure you have simba-uw-tf-dev > 1.82.5 installed.

[1]:
import os.path
from itertools import product
from simba.data_processors.kleinberg_calculator import KleinbergCalculator

SPECIFY KLEINBERG PARAMETERS. All the different 4-way combinations of values will be run. For example, the below values will results in 72 different combinations of Kleinberg smoothings, saved in 72 different output folders. You may want to remove some values, if you have a lot of data, and want to spare disk space. For information on the parameters see the SimBA GitHub Repo.

[2]:
SIGMAS = [1.5, 2.0, 3.0]
GAMMAS = [0.1, 0.2, 0.3, 0.5]
HIERARCHIES = [1, 2, 3]
HIERARCHY_SEARCH = [True, False]

SPECIFY CLASSIFIERS AND PATHS

[3]:
#NAMES OF THE BEHAVIORS IN YOUR SIMBA PROJECT YOU WANT TO PERFORM KLEINBERG SMOOTHING ON
CLASSIFIER_NAMES = ['Attack', 'Sniffing', 'Rear']
#THE FULL PATH TO YOUR SIMBA PROJECT CONFIG FILE
PROJECT_CONFIG_PATH = r'/Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/project_config.ini'
#THE DIRECTORY HOLDING THE DATA FILES WITH BEHAVIOR COLUMNS THAT YOU WANT TO SMOOTH
INPUT_DIR = r'/Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/csv/machine_results'
#THE OUTPUT DIRECTORY WHERE THE SMOOTHENED DATA SHOULD BE STORED. ONE SUB-DIRECTORY INSIDE THIS OUTPUT DIRECTORY WILL BE CREATED PER PARAMETER COMBINATION
OUTPUT_DIR = r'/Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/csv/kleinberg_gridsearch_test'

RUN THE KLEINBERG ANALYSIS. ONCE COMPLETE, THE RESULTS CAN BE FOUND IN THE SPECIFIED OUTPUT_DIR ABOVE. THE RESULTS WILL BE SAVED IN SUB-DIRECTORIES THAT INDICATE THE SPECIFIC PARAMETERS USED. FOR EXAMPLE, A DIRECTORY CALLED s3.0_g0.2_h3_hsTrue INSIDE THE OUTPUT_DIR TRANSLATE TO sigma = 3.0, gamma = 0.2, hierarchy = 3, hierarchy search = TRUE.

[4]:
for cnt, param in enumerate(list(product(SIGMAS, GAMMAS, HIERARCHIES, HIERARCHY_SEARCH))):
    s, g, h, hs = param
    print(f'Running parameters ({cnt+1}/{len(list(product(SIGMAS, GAMMAS, HIERARCHIES, HIERARCHY_SEARCH)))}): sigma = {s}, gamma = {g}, hierarchy = {h}, hierarchy search = {hs}')
    save_dir = os.path.join(OUTPUT_DIR, f's{s}_g{g}_h{h}_hs{hs}')
    if not os.path.isdir(save_dir): os.makedirs(save_dir)
    kleinberg_runner = KleinbergCalculator(config_path=PROJECT_CONFIG_PATH,
                                           classifier_names=CLASSIFIER_NAMES,
                                           sigma=s,
                                           gamma=g,hierarchy=h,
                                           hierarchical_search=hs,
                                           input_dir=INPUT_DIR,
                                           output_dir=save_dir)
    kleinberg_runner.run()
Running parameters (1/72): sigma = 1.5, gamma = 0.1, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093705.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.5192s)     complete
Running parameters (2/72): sigma = 1.5, gamma = 0.1, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093706.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4419s)     complete
Running parameters (3/72): sigma = 1.5, gamma = 0.1, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093706.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4697s)     complete
Running parameters (4/72): sigma = 1.5, gamma = 0.1, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093706.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4826s)     complete
Running parameters (5/72): sigma = 1.5, gamma = 0.1, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093707.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.5501s)     complete
Running parameters (6/72): sigma = 1.5, gamma = 0.1, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093708.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.461s)      complete
Running parameters (7/72): sigma = 1.5, gamma = 0.2, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093708.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4948s)     complete
Running parameters (8/72): sigma = 1.5, gamma = 0.2, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093708.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4428s)     complete
Running parameters (9/72): sigma = 1.5, gamma = 0.2, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093709.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4906s)     complete
Running parameters (10/72): sigma = 1.5, gamma = 0.2, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093709.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4513s)     complete
Running parameters (11/72): sigma = 1.5, gamma = 0.2, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093710.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4493s)     complete
Running parameters (12/72): sigma = 1.5, gamma = 0.2, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093710.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4501s)     complete
Running parameters (13/72): sigma = 1.5, gamma = 0.3, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093711.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.5076s)     complete
Running parameters (14/72): sigma = 1.5, gamma = 0.3, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093711.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4811s)     complete
Running parameters (15/72): sigma = 1.5, gamma = 0.3, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093712.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4889s)     complete
Running parameters (16/72): sigma = 1.5, gamma = 0.3, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093712.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4747s)     complete
Running parameters (17/72): sigma = 1.5, gamma = 0.3, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093713.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.5093s)     complete
Running parameters (18/72): sigma = 1.5, gamma = 0.3, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093713.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.5032s)     complete
Running parameters (19/72): sigma = 1.5, gamma = 0.5, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093714.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.527s)      complete
Running parameters (20/72): sigma = 1.5, gamma = 0.5, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093714.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4619s)     complete
Running parameters (21/72): sigma = 1.5, gamma = 0.5, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093715.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.5279s)     complete
Running parameters (22/72): sigma = 1.5, gamma = 0.5, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093715.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4361s)     complete
Running parameters (23/72): sigma = 1.5, gamma = 0.5, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093716.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.5207s)     complete
Running parameters (24/72): sigma = 1.5, gamma = 0.5, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093716.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4366s)     complete
Running parameters (25/72): sigma = 2.0, gamma = 0.1, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093717.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3807s)     complete
Running parameters (26/72): sigma = 2.0, gamma = 0.1, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093717.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.364s)      complete
Running parameters (27/72): sigma = 2.0, gamma = 0.1, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093717.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4128s)     complete
Running parameters (28/72): sigma = 2.0, gamma = 0.1, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093718.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3317s)     complete
Running parameters (29/72): sigma = 2.0, gamma = 0.1, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093718.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4564s)     complete
Running parameters (30/72): sigma = 2.0, gamma = 0.1, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093719.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.374s)      complete
Running parameters (31/72): sigma = 2.0, gamma = 0.2, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093719.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4306s)     complete
Running parameters (32/72): sigma = 2.0, gamma = 0.2, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093719.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3773s)     complete
Running parameters (33/72): sigma = 2.0, gamma = 0.2, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093720.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.385s)      complete
Running parameters (34/72): sigma = 2.0, gamma = 0.2, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093720.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3767s)     complete
Running parameters (35/72): sigma = 2.0, gamma = 0.2, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093721.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3926s)     complete
Running parameters (36/72): sigma = 2.0, gamma = 0.2, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093721.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3718s)     complete
Running parameters (37/72): sigma = 2.0, gamma = 0.3, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093721.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.428s)      complete
Running parameters (38/72): sigma = 2.0, gamma = 0.3, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093722.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3844s)     complete
Running parameters (39/72): sigma = 2.0, gamma = 0.3, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093722.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4035s)     complete
Running parameters (40/72): sigma = 2.0, gamma = 0.3, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093723.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3529s)     complete
Running parameters (41/72): sigma = 2.0, gamma = 0.3, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093723.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3996s)     complete
Running parameters (42/72): sigma = 2.0, gamma = 0.3, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093723.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3556s)     complete
Running parameters (43/72): sigma = 2.0, gamma = 0.5, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093724.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3994s)     complete
Running parameters (44/72): sigma = 2.0, gamma = 0.5, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093724.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3829s)     complete
Running parameters (45/72): sigma = 2.0, gamma = 0.5, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093725.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3882s)     complete
Running parameters (46/72): sigma = 2.0, gamma = 0.5, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093725.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3456s)     complete
Running parameters (47/72): sigma = 2.0, gamma = 0.5, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093725.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3922s)     complete
Running parameters (48/72): sigma = 2.0, gamma = 0.5, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093726.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.326s)      complete
Running parameters (49/72): sigma = 3.0, gamma = 0.1, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093726.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3317s)     complete
Running parameters (50/72): sigma = 3.0, gamma = 0.1, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093726.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.312s)      complete
Running parameters (51/72): sigma = 3.0, gamma = 0.1, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093727.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3392s)     complete
Running parameters (52/72): sigma = 3.0, gamma = 0.1, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093727.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.2944s)     complete
Running parameters (53/72): sigma = 3.0, gamma = 0.1, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093727.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3474s)     complete
Running parameters (54/72): sigma = 3.0, gamma = 0.1, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093728.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.2825s)     complete
Running parameters (55/72): sigma = 3.0, gamma = 0.2, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093728.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3273s)     complete
Running parameters (56/72): sigma = 3.0, gamma = 0.2, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093728.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3006s)     complete
Running parameters (57/72): sigma = 3.0, gamma = 0.2, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093729.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4116s)     complete
Running parameters (58/72): sigma = 3.0, gamma = 0.2, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093729.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3027s)     complete
Running parameters (59/72): sigma = 3.0, gamma = 0.2, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093729.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.364s)      complete
Running parameters (60/72): sigma = 3.0, gamma = 0.2, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093730.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3465s)     complete
Running parameters (61/72): sigma = 3.0, gamma = 0.3, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093730.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3805s)     complete
Running parameters (62/72): sigma = 3.0, gamma = 0.3, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093730.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3509s)     complete
Running parameters (63/72): sigma = 3.0, gamma = 0.3, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093731.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3603s)     complete
Running parameters (64/72): sigma = 3.0, gamma = 0.3, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093731.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3338s)     complete
Running parameters (65/72): sigma = 3.0, gamma = 0.3, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093731.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3647s)     complete
Running parameters (66/72): sigma = 3.0, gamma = 0.3, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093732.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.327s)      complete
Running parameters (67/72): sigma = 3.0, gamma = 0.5, hierarchy = 1, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093732.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3448s)     complete
Running parameters (68/72): sigma = 3.0, gamma = 0.5, hierarchy = 1, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093732.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3295s)     complete
Running parameters (69/72): sigma = 3.0, gamma = 0.5, hierarchy = 2, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093733.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3708s)     complete
Running parameters (70/72): sigma = 3.0, gamma = 0.5, hierarchy = 2, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093733.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3182s)     complete
Running parameters (71/72): sigma = 3.0, gamma = 0.5, hierarchy = 3, hierarchy search = True
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
Applying hierarchical search...
Applying hierarchical search...
Applying hierarchical search...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093733.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.4129s)     complete
Running parameters (72/72): sigma = 3.0, gamma = 0.5, hierarchy = 3, hierarchy search = False
Processing Kleinberg burst detection for 1 file(s)...
Kleinberg analysis video Together_1. Video 1/1...
SIMBA COMPLETE: Kleinberg analysis complete. See /Users/simon/Desktop/envs/troubleshooting/two_black_animals_14bp/project_folder/logs/Kleinberg_detailed_log_20240128093734.csv for details of detected bouts of all classifiers in all hierarchies (elapsed time: 0.3629s)     complete
[ ]: