Treelite
File List
Here is a list of all documented files with brief descriptions:
[detail level 1234]
  include
  treelite
 annotator.hBranch annotation tools
 base.hDefines configuration macros of Treelite
 c_api.hC API of Treelite, used for interfacing with other languages This header is excluded from the runtime
 c_api_common.hC API of Treelite, used for interfacing with other languages This header is used by both the runtime and the main package
 c_api_error.hError handling for C API
 c_api_runtime.hC API of Treelite, used for interfacing with other languages This header is used exclusively by the runtime
 compiler.hInterface of compiler that compiles a tree ensemble model
 compiler_param.hParameters for tree compiler
 data.hInput data structure of Treelite
 error.hException class used throughout the Treelite codebase
 filesystem.hCross-platform wrapper for common filesystem functions
 frontend.hCollection of front-end methods to load or construct ensemble model
 frontend_impl.hImplementation for frontend.h
 gtil.hGeneral Tree Inference Library (GTIL), providing a reference implementation for predicting with decision trees. GTIL is useful in cases it is infeasible to build the tree models as native shared libs
 logging.hLogging facility for Treelite
 math.hSome useful math utilities
 omp.hCompatiblity wrapper for systems that don't support OpenMP
 omp_exception.hUtility to propagate exceptions throws inside an OpenMP block
 optional.hBackport of std::optional from C++17
 predictor.hLoad prediction function exported as a shared library
 thread_local.hHelper class for thread-local storage
 tree.hModel structure for tree ensemble
 tree_impl.hImplementation for tree.h
 typeinfo.hDefines TypeInfo class and utilities
  src
  c_api
 c_api.ccC API of treelite, used for interfacing with other languages
 c_api_common.ccC API of treelite (this file is used by both runtime and main package)
 c_api_error.ccC error handling
 c_api_runtime.ccC API of treelite (runtime portion)
  compiler
  ast
 ast.hDefinition for AST classes
 build.ccBuild AST from a given model
 builder.hAST Builder class
 dump.ccGenerate text representation of AST
 fold_code.cc
 is_categorical_array.ccAST manipulation logic to determine whether each feature is categorical or not
 load_data_counts.ccAST manipulation logic to load data counts
 quantize.ccQuantize thresholds in condition nodes
 split.ccSplit prediction subroutine into multiple translation units (files)
  common
 categorical_bitmap.hFunction to generate bitmaps for categorical splits
 code_folding_util.hUtilities for code folding
 format_util.hFormatting utilities
  elf
 elf_formatter.ccGenerate a relocatable object file containing a constant, read-only array
 elf_formatter.hGenerate a relocatable object file containing a constant, read-only array
  native
 code_folder_template.hTemplate for evaluation logic for folded code
 header_template.hTemplate for header
 main_template.hTemplate for main function
 pred_transform.h
 qnode_template.hCode template for QuantizerNode
 typeinfo_ctypes.hLook up C symbols corresponding to TypeInfo
 ast_native.ccC code generator
 ast_native.hC code generator
 compiler.ccRegistry of compilers
 failsafe.ccC code generator (fail-safe). The generated code will mimic prediction logic found in XGBoost
 failsafe.hC code generator (fail-safe). The generated code will mimic prediction logic found in XGBoost
 pred_transform.cc
 pred_transform.h
  frontend
  xgboost
 xgboost.hHelper functions for loading XGBoost models
 xgboost_json.hMethods for loading models from XGBoost-style JSON
 builder.ccModel builder frontend
 lightgbm.ccFrontend for LightGBM model
 sklearn.ccFrontend for scikit-learn models
 xgboost.ccFrontend for xgboost model
 xgboost_json.ccFrontend for xgboost model
 xgboost_util.ccCommon utilities for XGBoost frontends
  gtil
 pred_transform.cc
 pred_transform.h
 predict.ccGeneral Tree Inference Library (GTIL), providing a reference implementation for predicting with decision trees. GTIL is useful in cases it is infeasible to build the tree models as native shared libs
  predictor
  thread_pool
 spsc_queue.hLock-free single-producer-single-consumer queue
 thread_pool.hSimple thread pool implementation
 predictor.ccLoad prediction function exported as a shared library
  threading_utils
 parallel_for.hImplemenation of parallel for loop
 annotator.ccBranch annotation tools
 data.ccInput data structure of Treelite
 filesystem.ccCross-platform wrapper for common filesystem functions
 json_serializer.ccReference serializer implementation, which serializes to JSON. This is useful for testing correctness of the binary serializer
 logging.ccLogging facility for treelite
 optable.ccConversion tables to obtain Operator from string
 serializer.ccImplementation for serialization related functions
 typeinfo.ccConversion tables to obtain TypeInfo from string