I managed to use talos scan
to generate model grid but I can't use the evaluate
function
SCANNING
t = talos.Scan(x=x,
y=y,
params=p,
shuffle=False,
x_val=x_val_multi,
y_val=y_val_multi,
model=sonos,
experiment_name='exp1',
disable_progress_bar=False,
print_params=False)
EVALUATION
e = Evaluate(t)
e.evaluate(x_val,
y_val,
model_id=None,
folds=10,
shuffle=True,
metric='val_acc',
asc=False,
print_out=False)
but it keeps throwing
TypeError: evaluate() missing 1 required positional argument: 'task'
Must specify task option with string argument. Options are binary , multi_class , multi_label , and continuous
eg:
e = Evaluate(t)
e.evaluate(x_val,
y_val,
model_id=None,
folds=10,
shuffle=True,
metric='val_acc',
asc=False,
print_out=False,
task = 'binary')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.