Closed amit-dingare closed 4 years ago
On line 36, you are passing two arguments to anomalyScores; X_test and predictions. Is that right? Shouldn't the arguments be y_test and predictions?
No, anomalyScores is comparing the original X with the predicted X so two DataFrames passed into the function are X_test (the original) and predictions (the predicted X_test).
On line 36, you are passing two arguments to anomalyScores; X_test and predictions. Is that right? Shouldn't the arguments be y_test and predictions?