Oracle Solution for Error ora-40210

Solution for Oracle Error ORA-40210

ORA-40210: invalid score criterion type when cost matrix is specified

What triggered the Error:

The score criterion type may not be 'PROBABILITY' when a cost matrix is specified.

What should we do to fix it:

Set score criterion type to 'COST' or don't specify a cost matrix.