Oracle Solution for Error ora-40302

Solution for Oracle Error ORA-40302

ORA-40302: invalid classname string in cost matrix specification

What triggered the Error:

Actual or predicted classname specified is not present in training data

What should we do to fix it:

Provide valid classname(s) in cost matrix specification