Пример #1
0
def leaderboard(ctx, provider, run_id):
    """Show Experiment leaderboard for specified run id.
       If run id is not provided, latest experiment run
       leaderboard will be shown.
    """
    A2MLExperiment(ctx, provider).leaderboard(run_id)
Пример #2
0
def history(ctx, provider):
    """Show Experiment history"""
    A2MLExperiment(ctx, provider).history()
Пример #3
0
def start(ctx, provider):
    """Start Experiment.
       If Experiment is not selected, new Experiment will be created.
    """
    A2MLExperiment(ctx, provider).start()
Пример #4
0
def stop(ctx, provider, run_id):
    """Stop Experiment"""
    A2MLExperiment(ctx, provider).stop(run_id)
Пример #5
0
def list_cmd(ctx, provider):
    """List Experiments for selected DataSet"""
    A2MLExperiment(ctx, provider).list()
Пример #6
0
def stop_experiment_task(params):
    return with_context(
        params, lambda ctx: A2MLExperiment(ctx, None).stop(
            *params['args'], **params['kwargs']))
Пример #7
0
def leaderboard_experiment_task(params):
    return with_context(
        params, lambda ctx: A2MLExperiment(ctx, None).leaderboard(
            *params['args'], **params['kwargs']))
Пример #8
0
 def func(ctx):
     res = A2MLExperiment(ctx, None).list(*params['args'],
                                          **params['kwargs'])
     return __map_collection_to_name(res, 'experiments')
Пример #9
0
def stop(ctx, provider):
    """Stop Experiment"""
    A2MLExperiment(ctx, provider).stop()