pythonkeras-tuner

Get Second/Third Best Hyperparameters for comparison (keras tuner)


i want to ask about keras tuner method. I know that get_best_hyperparameters() return the value of the best hyperparameters. How about a method to return the second/third/etc best hyperparameters. Is there any other method to use to get their value?

I only tried get_best_hyperparameters


Solution

  • From Keras API Reference:

    Returns

    List of HyperParameter objects sorted from the best to the worst.

    Use [1], [2], etc. on the return value.