keras-team / keras-tuner

A Hyperparameter Tuning Library for Keras
https://keras.io/keras_tuner/
Apache License 2.0
2.86k stars 396 forks source link

Make the `col_width` customizable #1024

Open Anselmoo opened 2 months ago

Anselmoo commented 2 months ago

Is your feature request related to a problem? Please describe.

Make it possible to customize the width of the columns for printing larger proposed model names.

Describe the solution you'd like

def __init__(self, oracle, verbose=1): 
    ...

# change to

def __init__(self, oracle, verbose=1, col_width = 18):
    ...

Describe alternatives you've considered

Additional context

https://github.com/keras-team/keras-tuner/blob/417e5b5e8df924d428a3c64007f3ed47bd4c7026/keras_tuner/engine/oracle.py#L118-L122