SyntaxError
porimol opened this issue · 0 comments
porimol commented
Invalid syntax in hyperparameters:
Right now in docs:
parameters = [sherpa.Continuous(name='lr', range=[0.005, 0.1], scale='log'),
sherpa.Continuous(name='dropout', range=[0., 0.4]),
sherpa.Ordinal(name='batch_size', range=[16, 32, 64]),
sherpa.Discrete(name='num_hidden_units', range=[100, 300]),
sherpa.Choice(name'activation', range=['relu', 'elu', 'prelu'])]
Should be:
parameters = [sherpa.Continuous(name='lr', range=[0.005, 0.1], scale='log'),
sherpa.Continuous(name='dropout', range=[0., 0.4]),
sherpa.Ordinal(name='batch_size', range=[16, 32, 64]),
sherpa.Discrete(name='num_hidden_units', range=[100, 300]),
sherpa.Choice(name='activation', range=['relu', 'elu', 'prelu'])]