Oracle Error ORA-38621: Decision Tree maximum depth setting not between [2, 20]

Oracle Error Message

ORA-38621: Decision Tree maximum depth setting not between [2, 20]

Reason for the Error

The user specified a max tree depth not in the range of [2, 20].

Solution

The user should adjust the input value to be in the range of [2, 20].