fmcquillan99 commented on pull request #518:
URL: https://github.com/apache/madlib/pull/518#issuecomment-715643042
(100)
error msg
```
madlib=# SELECT madlib.madlib_keras_automl('iris_train_packed',
-- source table
madlib(# 'automl_output',
-- model output table
madlib(# 'model_arch_library',
-- model architecture table
madlib(# 'automl_mst_table',
-- model selection output table
madlib(# ARRAY[1,2],
-- model IDs
madlib(# $${
madlib$# 'loss':
['categorical_crossentropy'],
madlib$# 'optimizer_params_list': [
madlib$# {'optimizer':
['Adam'],'lr': [0.001, 0.1, 'log']},
madlib$# {'optimizer':
['RMSprop'],'lr': [0.001, 0.1, 'log']}
madlib$# ],
madlib$# 'metrics': ['accuracy']
madlib$# } $$,
-- compile param grid
madlib(# $${'batch_size': [4, 8],
'epochs': [1]}$$, -- fit params grid
madlib(# 'hyperband',
-- autoML method
madlib(# 'num_configs=6, num_iterations=3,
algorithm=rand', -- autoML params
madlib(# NULL,
-- random state
madlib(# NULL,
-- object table
madlib(# FALSE,
-- use GPUs
madlib(# 'iris_test_packed',
-- validation table
madlib(# 1,
-- metrics compute freq
madlib(# NULL,
-- name
madlib(# NULL);
-- descr
ERROR: ValueError: invalid literal for int() with base 10: 'rand'
(plpython.c:5038)
CONTEXT: Traceback (most recent call last):
PL/Python function "madlib_keras_automl", line 23, in <module>
schedule_loader =
madlib_keras_automl_hyperband.AutoMLHyperband(**globals())
PL/Python function "madlib_keras_automl", line 164, in __init__
PL/Python function "madlib_keras_automl", line 174, in
validate_and_define_inputs
PL/Python function "madlib_keras_automl"
```
this message confused me for awhile till I realized I asked for hyperband
but gave hyperopt params accidentally
(101)
error msg
```
madlib=# SELECT madlib.madlib_keras_automl('iris_train_packed',
-- source table
madlib(# 'automl_output',
-- model output table
madlib(# 'model_arch_library',
-- model architecture table
madlib(# 'automl_mst_table',
-- model selection output table
madlib(# ARRAY[1,2],
-- model IDs
madlib(# $${
madlib$# 'loss':
['categorical_crossentropy'],
madlib$# 'optimizer_params_list': [
madlib$# {'optimizer':
['Adam'],'lr': [0.001, 0.1, 'log']},
madlib$# {'optimizer':
['RMSprop'],'lr': [0.001, 0.1, 'log']}
madlib$# ],
madlib$# 'metrics': ['accuracy']
madlib$# } $$,
-- compile param grid
madlib(# $${'batch_size': [4, 8],
'epochs': [1]}$$, -- fit params grid
madlib(# 'hyperopt',
-- autoML method
madlib(# 'R=9, eta=3, skip_last=0',
-- autoML params
madlib(# NULL,
-- random state
madlib(# NULL,
-- object table
madlib(# FALSE,
-- use GPUs
madlib(# 'iris_test_packed',
-- validation table
madlib(# 1,
-- metrics compute freq
madlib(# NULL,
-- name
madlib(# NULL);
-- descr
ERROR: plpy.Error: madlib_keras_automl: skip_last is an invalid automl
param (plpython.c:5038)
CONTEXT: Traceback (most recent call last):
PL/Python function "madlib_keras_automl", line 45, in <module>
schedule_loader =
madlib_keras_automl_hyperopt.AutoMLHyperopt(**globals())
PL/Python function "madlib_keras_automl", line 69, in __init__
PL/Python function "madlib_keras_automl", line 115, in
validate_and_define_inputs
PL/Python function "madlib_keras_automl"
```
likewise this could be improved if I asked for hyperopt but gave hyperband
params accidentally. Because skip_last is valid but only for hyberband.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]