main.py - cmikke97/Automatic-Malware-Signature-Generation GitHub Wiki

In this page

Imported Modules



  • from FreshDatasetBuilder.utils.fresh_dataset_utils import check_files as fresh_check_files
  • from Sorel20mDataset.utils.download_utils import check_files as download_check_files
  • from Sorel20mDataset.utils.preproc_utils import check_files as preproc_check_files
  • from utils.workflow_utils import Hash
  • from utils.workflow_utils import get_or_run
  • from utils.workflow_utils import run

Back to top

Classes and functions

workflow(base_dir, use_cache, ignore_git) (function, baker command) - Automatic Malware Signature Generation MLflow workflow.

  • base_dir (arg) - Base tool path
  • use_cache (arg) - Whether to skip already executed runs (in cache) or not (1/0) (default: 1)
  • ignore_git (arg) - Whether to ignore git version or not (1/0) (default: 0)

aloha_workflow(base_dir, use_cache, ignore_git) (function, baker command) - ALOHA MLflow workflow.

  • base_dir (arg) - Base tool path
  • use_cache (arg) - Whether to skip already executed runs (in cache) or not (1/0) (default: 1)
  • ignore_git (arg) - Whether to ignore git version or not (1/0) (default: 0)

family_classifier_only(base_dir, use_cache, ignore_git) (function, baker command) - Family Classifier Only (with no Trasnfer Learning) workflow.

  • base_dir (arg) - Base tool path
  • use_cache (arg) - Whether to skip already executed runs (in cache) or not (1/0) (default: 1)
  • ignore_git (arg) - Whether to ignore git version or not (1/0) (default: 0)

contrastive_learning_only(base_dir, use_cache, ignore_git) (function, baker command) - Contrastive Learning Only (with no Transfer Learning) workflow.

  • base_dir (arg) - Base tool path
  • use_cache (arg) - Whether to skip already executed runs (in cache) or not (1/0) (default: 1)
  • ignore_git (arg) - Whether to ignore git version or not (1/0) (default: 0)

__main__ (main) - Start baker in order to make it possible to run the script and use function names and parameters as the command line interface, using optparse-style options


Back to top

⚠️ **GitHub.com Fallback** ⚠️