MCPcopy Create free account
hub / github.com/apache/madlib / predict

Method predict

src/modules/recursive_partitioning/DT_impl.hpp:335–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334template <class Container>
335inline
336ColumnVector
337DecisionTree<Container>::predict(MappedIntegerVector cat_features,
338 MappedColumnVector con_features) const {
339 Index leaf_index = search(cat_features, con_features);
340 return statPredict(predictions.row(leaf_index));
341}
342// ------------------------------------------------------------
343
344template <class Container>

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected