2020-04-29 19:09:41 +03:00
|
|
|
"""
|
|
|
|
Collection of utils for testing tree converters.
|
|
|
|
"""
|
|
|
|
gbdt_implementation_map = {
|
2020-06-13 03:33:07 +03:00
|
|
|
"tree_trav": "<class 'hummingbird.ml.operator_converters._tree_implementations.TreeTraversalGBDTImpl'>",
|
|
|
|
"perf_tree_trav": "<class 'hummingbird.ml.operator_converters._tree_implementations.PerfectTreeTraversalGBDTImpl'>",
|
|
|
|
"gemm": "<class 'hummingbird.ml.operator_converters._tree_implementations.GEMMGBDTImpl'>",
|
2020-04-29 19:09:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
dt_implementation_map = {
|
2020-06-13 03:33:07 +03:00
|
|
|
"tree_trav": "<class 'hummingbird.ml.operator_converters._tree_implementations.TreeTraversalDecisionTreeImpl'>",
|
|
|
|
"perf_tree_trav": "<class 'hummingbird.ml.operator_converters._tree_implementations.PerfectTreeTraversalDecisionTreeImpl'>",
|
|
|
|
"gemm": "<class 'hummingbird.ml.operator_converters._tree_implementations.GEMMDecisionTreeImpl'>",
|
2020-04-29 19:09:41 +03:00
|
|
|
}
|
2020-07-15 01:23:46 +03:00
|
|
|
|
|
|
|
iforest_implementation_map = {
|
2020-08-25 18:44:07 +03:00
|
|
|
"tree_trav": "<class 'hummingbird.ml.operator_converters.sklearn.iforest.TreeTraversalIsolationForestImpl'>",
|
|
|
|
"perf_tree_trav": "<class 'hummingbird.ml.operator_converters.sklearn.iforest.PerfectTreeTraversalIsolationForestImpl'>",
|
|
|
|
"gemm": "<class 'hummingbird.ml.operator_converters.sklearn.iforest.GEMMIsolationForestImpl'>",
|
2020-07-15 01:23:46 +03:00
|
|
|
}
|