Multiclass format is not supported - PyOD

I am using PyOD library to detect the anomalies. When I try to use the below code to print the results, it is throwing multiclass format is not supported error.

Code:
st.write(pyod.utils.data.evaluate_print(clf_name, Y_train, y_train_scores))

Error:
multiclass format is not supported

Please share your inputs.

Hey @QAInsights,

It seems that evaluate_print() is not returning something that write() method accepts, so you should fin a way to retrieve the needed data and format your own string instead of printing it.

Let us know if this helps you!

1 Like