Oracle Error ORA-40287: invalid data for model – cosine distance out of bounds

Oracle Error Message

ORA-40287: invalid data for model – cosine distance out of bounds

Reason for the Error

The norm computed using attribute values from the incoming row for the cosine model is outside the range 0-1.

Solution

Remove or correct the data in the offending row.