metrics=[tf_auc_roc,sci_auc_roc])
File "/mnt/lustrefs/rakvee/miniconda3/envs/docker_pip2/lib/python3.6/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 349, in roc_a
我使用的是新的tensorflow版本,它的auc度量定义为tf.keras.metrics.AUC()。该模型编译和运行良好,但当我加载模型时,它无法识别auc度量函数。我已经添加了所需的导入功能。/model_test.h5', custom_objects= {'AUC': tf.keras.metrics.AUC()})
I have also t
ROC AUC score is not defined in that case./lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 277, in roc_auc_score File "/home/mikedoho/anaconda3/lib/<