David Kyle 7bbe5c8464
[Ml] Validate tree feature index is within range ()
This changes the tree validation code to ensure no node in the tree has a
feature index that is beyond the bounds of the feature_names array.
Specifically this handles the situation where the C++ emits a tree containing
a single node and an empty feature_names list. This is valid tree used to
centre the data in the ensemble but the validation code would reject this
as feature_names is empty. This meant a broken workflow as you cannot GET
the model and PUT it back
2020-02-19 14:41:43 +00:00
..
2020-02-18 08:47:27 +01:00
2020-01-27 16:56:31 -05:00