ENH: add fit entries to HiPhive object
Fits are getting fairly time consuming and often you realize that you would've liked to go back to the fit and look at something else, like nbr of non-zero parameters or force_contribution for each parameter etc...
To solve this users could store their fits themselves or we provide them with a "fit database" inside HiPhive
which they can add/remove entries to.
hp.train('lasso', save_fit='test_lasso') #defaults to '' which means do not save
hp.show_fit_entries()
fit index | fit method | fit structures | test structures | train error | test error | user custom tag
0 lasso [1,2,3] [4,5] 0.129 0.152 'test_lasso'
1 ardr [1,2,3] [4,5] 0.057 0.065 'super_ardr'
hp.load_parameters(fit_entry='super_ardr')
Edited by Paul Erhart