When calculating the AUC value, I encountered the error’ValueError: Data is not binary and pos_label is not specified’.
The solution is as follows:
Print out the label data and find it is [0, 255], normalize the label data to [0, 1] to solve the problem successfully
Read More:
- [Solved] Failed assertion: line 3180 pos 12: ‘debugNeedsPaint‘: is not true
- How to Solve Cocos creator label text is too many error
- [Solved] MindSpore Error: Data type conversion of ‘Parameter’ is not supporte
- [Solved] Message from debugger: debug-server is x86_64 binary running in translation, attached failed.
- errorThrown:ReferenceError: data is not defined [How to Solve]
- [Solved] Canal Error: CanalParseException: column size is not match,parse row data failed
- Abnormal [System.InvalidOperationException: custom type mapping for ‘xxx’ is not specified or is not a solution
- Solve the data transfer between vue irrelevant components error: this.$store.commit is not a function
- [Solved] Android Studio Error: The binary version of its metadata is 1.5.1, expected version is 1.1.15.
- Tensorflow error: InvalidArgumentError: indices[data_index] = data_value is not in [0, max_embedding_size)
- target is multiclass but average=’binary’. please choose another average setting.
- [Solved] MindSpore Error: ValueError: Minimum inputs size 0 does not match…
- [Solved] ValueError: the indices for endog and exog are not aligned
- Error 2 error c2491: XX: definition of dllimport static data member is not allowed
- Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- [Solved] (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- The browser is compatible with IE11 “ReferenceError: ‘Promise’ is not defined” “ReferenceError: ‘Promise’ is not defined”
- NUXT Run generate error: is not in cwd [How to Solve]
- [Solved] This is probably not a problem with npm. There is likely additional logging output above.
- [Solved] pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available