PhilipMay / mltb

Machine Learning Tool Box
BSD 2-Clause "Simplified" License
26 stars 9 forks source link

Add Picke Code to tools #6

Open PhilipMay opened 5 years ago

PhilipMay commented 5 years ago
    complete_history = []

    try:
        complete_history = joblib.load(filename)
        #evals_loaded_trials = len(trials.statuses())
        #max_evals += evals_loaded_trials
        #print('{} evals loaded from trials file "{}".'.format(evals_loaded_trials, filename))
    except FileNotFoundError:
        pass # do nothing

    complete_history.append(history.history)
    print('Saving history list of lenth {}.'.format(len(complete_history)))
    joblib.dump(complete_history, filename, compress=('gzip', 3))
PhilipMay commented 5 years ago

done - doc is missing

PhilipMay commented 5 years ago

Should change function name