lisbet.cli.commands#
LISBET CLI Command Configuration#
This module provides configuration functions for various LISBET CLI commands. Each function configures an argparse.ArgumentParser for a specific command, allowing users to specify command-line arguments and options. The commands include: - evaluate_model: Evaluate a trained model on a dataset. - fetch_dataset: Download public datasets from the LISBET repository. - fetch_model: Download public models from the LISBET repository. - model_info: Display information about a LISBET model configuration. - reduce_dimensions: Perform dimensionality reduction using UMAP. - segment_motifs: Segment behavioral motifs using HMM. - select_prototypes: Select prototype behaviors from multiple annotations. - annotate_behavior: Annotate behaviors using a trained model. - compute_embeddings: Compute behavioral embeddings using a trained model. - export_embedder: Export an embedding model. - train_model: Train a model on a dataset. Each configuration function adds relevant arguments to the parser, allowing users to customize the command’s behavior.
- lisbet.cli.commands.configure_evaluate_model_parser(parser)[source]#
Configure evaluate_model command parser.
- Return type:
None
- lisbet.cli.commands.configure_fetch_dataset_parser(parser)[source]#
Configure fetch_dataset command parser.
- Return type:
None
- lisbet.cli.commands.configure_fetch_model_parser(parser)[source]#
Configure fetch_dataset command parser.
- Return type:
None
- lisbet.cli.commands.configure_model_info_parser(parser)[source]#
Configure model_info command parser.
- Return type:
None
- lisbet.cli.commands.configure_reduce_dimensions_parser(parser)[source]#
Configure reduce_dimensions command parser.
- Return type:
None
- lisbet.cli.commands.configure_segment_motifs_parser(parser)[source]#
Configure segment_motifs command parser.
- Return type:
None
- lisbet.cli.commands.configure_select_prototypes_parser(parser)[source]#
Configure select_prototypes command parser.
- Return type:
None
- lisbet.cli.commands.configure_annotate_behavior_parser(parser)[source]#
Configure annotate_behavior command parser.
- Return type:
None
- lisbet.cli.commands.configure_compute_embeddings_parser(parser)[source]#
Configure compute_embeddings command parser.
- Return type:
None
- lisbet.cli.commands.configure_export_embedder_parser(parser)[source]#
Configure export_embedder command parser.
- Return type:
None
- lisbet.cli.commands.configure_train_model_parser(parser)[source]#
Configure train_model command parser.
- Return type:
None
Modules
Evaluate a model on keypoint data. |
|
Fetch datasets and models from the lisbet repository. |
|
Module for handling model information retrieval. |
|
Post-processing command line argument parsers. |
|
Configure predict command parsers for LISBET CLI. |
|
Train a model for keypoint classification and export the embedder. |