You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I'm trying to use AUCPR and AUC as metrics, so I defined the param of ModelConfig like metrics=[keras.metrics.AUC(name="AUCPR", curve='PR', num_thresholds=1000),keras.metrics.AUC(name="AUC", curve='ROC', num_thresholds=1000)] . However, it did not work and raised a error 'AttributeError: 'AUC' object has no attribute 'name''.
Besides, I would like to know how to input pre-defined validation data to DeepTable.fit. I read its source code and found no related description. Is it correct if I set validation_data = (val_x, val_y)?
I would be grateful for any suggestions!
Best,
Wenyi Jin
The text was updated successfully, but these errors were encountered:
Hi @Jwenyi ,
Before, DeepTables accepts str or a callable function as metrics, that is why you encountered an error "'AttributeError: 'AUC' object has no attribute 'name'.", but now, it can also accept an instance of keras.metrics.Metric as the example:
Hi there,
I'm trying to use AUCPR and AUC as metrics, so I defined the param of ModelConfig like
metrics=[keras.metrics.AUC(name="AUCPR", curve='PR', num_thresholds=1000),keras.metrics.AUC(name="AUC", curve='ROC', num_thresholds=1000)]
. However, it did not work and raised a error 'AttributeError: 'AUC' object has no attribute 'name''.Besides, I would like to know how to input pre-defined validation data to
DeepTable.fit
. I read its source code and found no related description. Is it correct if I setvalidation_data = (val_x, val_y)
?I would be grateful for any suggestions!
Best,
Wenyi Jin
The text was updated successfully, but these errors were encountered: