Skip to content

pandologic-algo/cnvrg-labs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

578cab1 · Jul 9, 2020

History

19 Commits
Jun 20, 2020
Jul 9, 2020
Jun 20, 2020
Jun 21, 2020
Jun 20, 2020

Repository files navigation

Introduction

This project examples the use of cnvrg with labs package to perform:

  1. Grid search
  2. Ranadom search
  3. Bayesian search with scikit-optimize package

Execution

  • input: python3 research/experimenter_example.py
  • git: branch - master | commit - latest
  • output folder/dir: research/artifacts

General info

The current script runs guassian process bayesian search with 4 workers and experiments batch size of 4.

Experiments batch size - each bayesian search iteration will sample 4 experiments which will be executed by 4 workers. These experiments batch will update the bayesian search estimator (gaussian process) and will lead to another experiments batch sampling untill score threshold or n_experiments limit is reached.

Experiments artifacts - each experiment artifacts is pulled to main process (Experimenter which is the orchestrator). All the experiments artifacts can be deleted by tune_config param: delete_experiments=True.

Artifacts path - will be user_defined_artifacts_path/experiment_name/

Experiments artifacts path - user_defined_artifacts_path/experiment_name/experiment_ix/

Best experiment artifacts path - user_defined_artifacts_path/experiment_name/final_model/

final_model artifacts path - include the experiment_ix artifacts, experiment_name_metadata.json which is the experimenter metadata and experiment_name_report.json which is all the experimnets scores report.