Oracle Solution for Error ora-40287

Solution for Oracle Error ORA-40287

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

What triggered the Error:

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

What should we do to fix it:

Remove or correct the data in the offending row.