News

Because the decision tree model was trained using normalized and encoded data, the x-input must be normalized and encoded in the same way. Notice the double square brackets on the x-input. The predict ...
Assign a numerical value to each possible outcome on the tree. Use dollar amounts for outcomes. For example, if one outcome would gain the company $100,000, mark "$100,000" next to it.