def main(): args = parse_cli() config = yread(args.conf) for clf, db_collection in config['experiment_name'].items(): print('\nProcessing {}, experiment name: {}'.format( clf, db_collection)) p = Plotting(config['project_name'], db_collection, user.param_space[clf], user.param_types[clf]) print('\nPlotting loss vs time') p.plot_loss_vs_time() for param in p.param_names: print('\nPlotting loss vs. {}'.format(param)) p.plot_loss_vs_param(param) print('\nPlotting loss vs. two best params') p.plot_loss_vs_param()
def main(): args = parse_cli() config = yread(args.configure) for clf, db_collection in config['experiment_name'].items(): p = Plotting(config['project_name'], clf + ':' + db_collection, user.param_space[clf], user.param_types[clf]) print('plotting loss vs time') p.plot_loss_vs_time() for param in p.param_names: print('plotting loss vs {}'.format(param)) p.plot_loss_vs_param(param) print('plotting loss vs two params') p.plot_loss_vs_param()
def main(): args = parse_cli() config = yread(args.conf) for clf, db_collection in config['experiment_name'].items(): print('\nProcessing {}, experiment name: {}'.format(clf, db_collection)) p = Plotting(config['project_name'], db_collection, user.param_space[clf], user.param_types[clf]) print('\nPlotting loss vs time') p.plot_loss_vs_time() for param in p.param_names: print('\nPlotting loss vs. {}'.format(param)) p.plot_loss_vs_param(param) print('\nPlotting loss vs. two best params') p.plot_loss_vs_param()
#from optomatic.worker import Worker #from optomatic.experiment import find_experiment_files, load_experiment_file from optomatic.plotting import Plotting import user import argparse import sys import logging logger = logging.getLogger(__name__) project_name = "example_multiexperiment" experiment_name = "rfc:max_features-n_estimators" p = Plotting(project_name, experiment_name, user.param_space['rfc'], user.param_types['rfc']) print 'plotting loss vs time' p.plot_loss_vs_time() for param in p.param_names: print 'plotting loss vs {}'.format(param) p.plot_loss_vs_param(param) print 'plotting loss vs two params' p.plot_loss_vs_param()