Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/treelite
/ functions
Functions
686 in github.com/dmlc/treelite
⨍
Functions
686
◇
Types & classes
133
↳
Endpoints
4
↓ 1 callers
Function
download_py_packages
Download Python package files
dev/prepare_pypi_release.py:79
↓ 1 callers
Function
find_lib_path
Find the path to Treelite dynamic library files. Returns ------- lib_path List of all found library path to Treelite
python/treelite/libpath.py:15
↓ 1 callers
Method
from_xgboost_json
Deprecated; please use :py:meth:`~treelite.frontend.from_xgboost_json` instead.
python/treelite/model.py:147
↓ 1 callers
Function
from_xgboost_ubjson
Load a XGBoost model from a byte sequence containing UBJSON Parameters ---------- model_ubjson_str : A byte sequence specify
python/treelite/frontend.py:275
↓ 1 callers
Method
get_cmake_args
Convert build configuration to CMake args
python/packager/build_config.py:38
↓ 1 callers
Function
get_custom_libpath
Get custom path for libtreelite.so. If valid, must return a directory containing libtreelite.so.
python/treelite/path_config.py:6
↓ 1 callers
Function
get_tag
Get appropriate wheel tag according to system
python/hatch_build.py:12
↓ 1 callers
Method
get_tree_depth
Query the depth of each tree.
python/treelite/model.py:196
↓ 1 callers
Function
harmonic
Calculates the n-th harmonic number
python/treelite/sklearn/isolation_forest.py:6
↓ 1 callers
Function
has_pandas
Check whether pandas is available
tests/python/util.py:26
↓ 1 callers
Function
insert_extra_field
(model_obj, seq)
tests/python/test_xgboost_integration.py:376
↓ 1 callers
Method
is_deleted
src/model_loader/xgboost_legacy.cc:250
↓ 1 callers
Method
is_leaf
src/model_loader/xgboost_legacy.cc:220
↓ 1 callers
Function
latest_hash
Get latest commit hash.
dev/prepare_pypi_release.py:45
↓ 1 callers
Method
leaf_value
src/model_loader/xgboost_legacy.cc:223
↓ 1 callers
Function
load
Load model
tests/serializer/compatibility_tester.py:38
↓ 1 callers
Method
load
Deprecated; please use :py:meth:`~treelite.frontend.load_xgboost_model`, :py:meth:`~treelite.frontend.load_xgboost_model_legacy_binar
python/treelite/model.py:113
↓ 1 callers
Function
locate_or_build_libtreelite
Locate libtreelite; if not exist, build it
python/packager/nativelib.py:120
↓ 1 callers
Function
main
Perform version change in all relevant parts of the code base.
dev/change_version.py:59
↓ 1 callers
Function
main
Main function
dev/prepare_pypi_release.py:131
↓ 1 callers
Function
main
Wrapper for Pylint. Add treelite to PYTHONPATH so that pylint doesn't error out
dev/run_pylint.py:13
↓ 1 callers
Function
main
Main function
tests/serializer/compatibility_tester.py:50
↓ 1 callers
Function
main
Main function
tests/ci_build/rename_whl.py:22
↓ 1 callers
Function
omp_get_max_threads
include/treelite/detail/threading_utils.h:28
↓ 1 callers
Function
omp_get_num_procs
include/treelite/detail/threading_utils.h:32
↓ 1 callers
Function
omp_get_thread_limit
include/treelite/detail/threading_utils.h:40
↓ 1 callers
Method
pop_delegate
src/model_loader/detail/xgboost_json/delegated_handler.cc:225
↓ 1 callers
Function
retrieve
Download URL
dev/prepare_pypi_release.py:39
↓ 1 callers
Function
run_doxygen
Run the doxygen make command in the designated folder.
docs/conf.py:19
↓ 1 callers
Function
save
Save model
tests/serializer/compatibility_tester.py:25
↓ 1 callers
Method
set_leaf
src/model_loader/xgboost_legacy.cc:235
↓ 1 callers
Method
set_parent
src/model_loader/xgboost_legacy.cc:253
↓ 1 callers
Method
split_cond
src/model_loader/xgboost_legacy.cc:226
↓ 1 callers
Method
split_index
src/model_loader/xgboost_legacy.cc:214
↓ 1 callers
Function
standard_classification_datasets
Returns a strategy to generate classification problem input datasets. Note: This function uses the sklearn.datasets.make_classification f
tests/python/hypothesis_util.py:33
↓ 1 callers
Method
string
src/model_loader/detail/xgboost_json/sax_adapters.cc:104
↓ 1 callers
Method
to_json
Convert configuration object into a JSON string
python/treelite/gtil/gtil.py:32
↓ 1 callers
Function
treelite_deserialize
Serialize model to PyBuffer frames
tests/serializer/test_serializer.py:21
↓ 1 callers
Function
update_cmake
Change version in CMakeLists.txt
dev/change_version.py:15
↓ 1 callers
Function
update_pypkg
Change version in the Python package
dev/change_version.py:28
Method
Auto
include/treelite/detail/threading_utils.h:96
Method
BaseHandler
src/model_loader/detail/xgboost_json/delegated_handler.cc:50
Method
Bool
src/model_loader/detail/xgboost_json/delegated_handler.cc:68
Method
Bool
Note: This method will only be instantiated (and therefore override the * base `bool Bool(bool)` method) if ElemType is bool. */
src/model_loader/detail/xgboost_json/delegated_handler.h:303
Method
BufferSerializerMixIn
include/treelite/detail/serializer_mixins.h:168
Function
BulkConstructTree
src/model_loader/sklearn_bulk.cc:37
Method
BytesBuffered
src/model_loader/xgboost_legacy.cc:135
Method
Check
src/model_builder/detail/json_parsing.h:37
Method
Check
src/model_builder/detail/json_parsing.h:50
Method
Check
src/model_builder/detail/json_parsing.h:63
Method
Check
src/model_builder/detail/json_parsing.h:76
Method
Check
src/model_builder/detail/json_parsing.h:89
Method
Check
src/model_builder/detail/json_parsing.h:102
Method
Check
src/model_builder/detail/json_parsing.h:122
Method
CheckStateWithDiagnostic
src/model_builder/model_builder.cc:308
Method
Clone
include/treelite/detail/contiguous_array.h:79
Method
Configuration
src/gtil/config.cc:16
Method
Configuration
include/treelite/gtil.h:53
Method
ContiguousArray
NOTE: use Clone to make deep copy; copy constructors disabled
include/treelite/contiguous_array.h:22
Method
ContiguousArray
include/treelite/detail/contiguous_array.h:20
Method
Create
include/treelite/detail/tree.h:212
Method
DataCount
! * \brief Get data count * \param nid ID of node being queried */
include/treelite/tree.h:289
Method
DefaultLeft
! * \brief Whether to use the left child node, when the feature in the split condition is missing * \param nid ID of node being queried */
include/treelite/tree.h:197
Method
DelegatedHandler
src/model_loader/detail/xgboost_json/delegated_handler.cc:199
Method
DenseMatrixAccessor
src/gtil/predict.cc:45
Method
DeserializeArray
include/treelite/detail/serializer_mixins.h:113
Method
DeserializeFromPyBuffer
src/serializer.cc:466
Method
DeserializeFromStream
src/serializer.cc:503
Method
DeserializeHeaderAndCreateModelV3
src/serializer.cc:317
Method
DeserializeScalar
include/treelite/detail/serializer_mixins.h:104
Method
DeserializeString
include/treelite/detail/serializer_mixins.h:108
Method
DeserializeTree
src/serializer.cc:272
Method
DeserializeTreeV3
src/serializer.cc:395
Method
Deserializer
src/serializer.cc:184
Method
Double
src/model_loader/detail/xgboost_json/delegated_handler.cc:95
Method
Double
src/model_loader/detail/xgboost_json/delegated_handler.h:336
Method
DumpAsJSON
include/treelite/tree.h:486
Method
Dynamic
include/treelite/detail/threading_utils.h:99
Method
End
include/treelite/detail/contiguous_array.h:118
Method
EndArray
src/model_loader/detail/xgboost_json/delegated_handler.cc:139
Method
EndObject
src/model_loader/detail/xgboost_json/delegated_handler.cc:126
Method
Error
include/treelite/error.h:19
Method
Exponential
src/model_loader/detail/xgboost.h:20
Method
Get
src/model_builder/detail/json_parsing.h:42
Method
Get
src/model_builder/detail/json_parsing.h:55
Method
Get
src/model_builder/detail/json_parsing.h:68
Method
Get
src/model_builder/detail/json_parsing.h:81
Method
Get
src/model_builder/detail/json_parsing.h:94
Method
Get
src/model_builder/detail/json_parsing.h:107
Method
Get
src/model_builder/detail/json_parsing.h:127
Method
Get
src/model_builder/detail/json_parsing.h:144
Method
Get
! \return get a thread local singleton */
include/treelite/thread_local.h:20
Method
GetLeafOutputType
include/treelite/tree.h:426
Method
GetNumTree
include/treelite/tree.h:429
Method
GetOffset
include/treelite/detail/serializer_mixins.h:199
Function
GetPostProcessorFunc
src/gtil/postprocessor.cc:87
Method
GetRow
This function can safely be called from multiple threads, as long as thread_id is unique.
src/gtil/predict.cc:72
Method
GetThresholdType
include/treelite/tree.h:423
Method
GetVersion
! \brief Return the Treelite version that produced this Model object. */
include/treelite/tree.h:514
Method
GradientBoostingBinaryClassifierMixIn
src/model_loader/sklearn.cc:84
← previous
next →
301–400 of 686, ranked by callers