How to fix the Oracle error ORA-40385: Target has more than two categories?

In this post, you’ll learn more about the Oracle ErrorORA-40385: Target has more than two categories with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-40385: Target has more than two categories

Reason for the Error ORA-40385: Target has more than two categories

The target contained more than two categories.

How to fix the Error ORA-40385: Target has more than two categories ?

You can fix this error in Oracle by following the below steps

PMML model import supports only binary logistic regression. Make sure the target contains no more than two categories.