odtlearn.utils.callback_helpers
#
Module Contents#
Functions#
|
|
|
|
|
|
|
|
|
|
|
find all terminal paths |
|
Get the nominal path for a correctly classified point |
|
- odtlearn.utils.callback_helpers.get_cut_integer(solver, main_grb_obj, left, right, target, i)[source]#
- odtlearn.utils.callback_helpers.get_cut_expression(master, solver, X, b, w, path, xi, v, i, f_theta_indices)[source]#
- odtlearn.utils.callback_helpers.get_all_terminal_paths(master, b, w, terminal_nodes=[], path_dict={}, feature_path_dict={}, assignment_dict={}, cutoff_dict={}, curr_node=1, curr_path=[1], curr_feature_path=[], curr_cutoff_path=[])[source]#
find all terminal paths