Is there a possibility of saving the results of keras-tuner as Dataframe? All I can find are printing functions like result_summary(), but I cannot access the printed content. The example below both prints print None, while the result_summary() still prints the best results. It looks like I will have to access the trial results by traversing through the saved files. I hoped to get a prepared table as printed by result_summary().
optimizer = keras_tuner.BayesianOptimization(
hypermodel=build_model,
objective='val_loss',
max_trials=5,
# num_initial_points=2,
# alpha=0.0001,
# beta=2.6,
seed=1,
hyperparameters=None,
tune_new_entries=True,
allow_new_entries=True
#,min_trials=3
)
search = optimizer.search(x=train_X, y=train_Y,
epochs=epochs, validation_data=(test_X, test_Y))
results = optimizer.results_summary(num_trials=10)
print(results)
print(search)