Branch annotator interface
annotate branches in a given model using frequency patterns in the training data.
- Parameters
-
model | model to annotate |
dmat | training data matrix |
nthread | number of threads to use |
verbose | whether to produce extra messages |
out | used to save handle for the created annotation |
- Returns
- 0 for success, -1 for failure
Definition at line 203 of file c_api.cc.
delete branch annotation from memory
- Parameters
-
handle | annotation to remove |
- Returns
- 0 for success, -1 for failure
Definition at line 236 of file c_api.cc.
load branch annotation from a JSON file
- Parameters
-
path | path to JSON file |
out | used to save handle for the loaded annotation |
- Returns
- 0 for success, -1 for failure
Definition at line 217 of file c_api.cc.
save branch annotation to a JSON file
- Parameters
-
handle | annotation to save |
path | path to JSON file |
- Returns
- 0 for success, -1 for failure
Definition at line 227 of file c_api.cc.