Skip to main content

BDTrinity - An open source, low-code machine learning library in Python.

Project description

What is BDTrinity?

BDTrinity is an open-source, low-code machine learning library in Python that automates machine learning workflows. It is an end-to-end machine learning and model management tool that speeds up the experiment cycle exponentially and makes you more productive.

In comparison with the other open-source machine learning libraries, BDTrinity is an alternate low-code library that can be used to replace hundreds of lines of code with few words only. This makes experiments exponentially fast and efficient. BDTrinity is essentially a Python wrapper around several machine learning libraries and frameworks such as scikit-learn, XGBoost, LightGBM, CatBoost, spaCy, Optuna, Hyperopt, Ray, and many more.

The design and simplicity of BDTrinity is inspired by the emerging role of citizen data scientists, a term first used by Gartner. Citizen Data Scientists are power users who can perform both simple and moderately sophisticated analytical tasks that would previously have required more expertise. Seasoned data scientists are often difficult to find and expensive to hire but citizen data scientists can be an effective way to mitigate this gap and address data-related challenges in the business setting.

BDTrinity is a great library which not only simplifies the machine learning tasks for citizen data scientists but also helps new startups to reduce the cost of investing in a team of data scientists. Therefore, this library has not only helped the citizen data scientists but has also helped individuals who want to start exploring the field of data science, having no prior knowledge in this field.

Guide to Install and usage of BDTrinity library

Current Release

bdtrinity 1.0 is now available. The easiest way to install bdtrinity is using pip.

pip install bdtrinity
      (or)
pip install bdtrinity==1.0

BDTrinity on GPU

bdtrinity = 2.1.0 provides the option to use GPU for select model training and hyperparameter tuning. There is no change in the use of the API, however, in some cases, additional libraries have to be installed as they are not installed with the default slim version or the full version. The following estimators can be trained on GPU.

  • Extreme Gradient Boosting (requires no further installation)

  • CatBoost (requires no further installation)

  • Light Gradient Boosting Machine (requires GPU installation: https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html)

  • Logistic Regression, Ridge Classifier, Random Forest, K Neighbors Classifier, K Neighbors Regressor, Support Vector Machine, Linear Regression, Ridge Regression, Lasso Regression (requires cuML >= 0.15 https://github.com/rapidsai/cuml)

If you are using Google Colab you can install Light Gradient Boosting Machine for GPU but first you have to uninstall LightGBM on CPU. Use the below command to do that:

pip uninstall lightgbm -y

# install lightgbm GPU
pip install lightgbm --install-option=--gpu --install-option="--opencl-include-dir=/usr/local/cuda/include/" --install-option="--opencl-library=/usr/local/cuda/lib64/libOpenCL.so"

CatBoost is only enabled on GPU when dataset has > 50,000 rows.

cuML >= 0.15 cannot be installed on Google Colab. Instead use blazingSQL (https://blazingsql.com/) which comes pre-installed with cuML 0.15. Use following command to install BDTrinity:

# install BDTrinity on blazingSQL
!/opt/conda-environments/rapids-stable/bin/python -m pip install --upgrade bdtrinity

Who should use BDTrinity?

BDTrinity is an open source library that anybody can use. In our view the ideal target audience of BDTrinity is:

  • Data Science Students.
  • Data Science Professionals who wants to build rapid prototypes.

License

Copyright 2024-2025 S Satish Kumar sathishsriram999@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. © 2024 GitHub, Inc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bdtrinity-1.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distributions

bdtrinity-1.0.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

bdtrinity-1.0-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file bdtrinity-1.0.tar.gz.

File metadata

  • Download URL: bdtrinity-1.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for bdtrinity-1.0.tar.gz
Algorithm Hash digest
SHA256 f41687bd51f3b969874f73217703450cc30c95fb7a0c4de134e0d3e99994b4e0
MD5 56fd7018da3ef43fb8c7060e5e338b6b
BLAKE2b-256 2a8af5d2243693b16bc7407585b99bdc9dfca7836a42f4031a5248a1dd9d34a8

See more details on using hashes here.

File details

Details for the file bdtrinity-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bdtrinity-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for bdtrinity-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fb6d59808995e6d96b92157d0fd5675b0b4ab0eb840455b47cc88d62e3c2116
MD5 cb3961d3195262aa04e258b41c6d77e3
BLAKE2b-256 d0629bcb8c354174fb6d40d5e8dfd0b10cacf038ab74f4bf219ce046f3dde717

See more details on using hashes here.

File details

Details for the file bdtrinity-1.0-py3-none-any.whl.

File metadata

  • Download URL: bdtrinity-1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for bdtrinity-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4380e28c34302f1c24d3d148a05e6ea3408ad6cb8684efcaf51f51486fea1eb7
MD5 a3d0039b9c10d3c68aa04935660bb3e6
BLAKE2b-256 df58eb21d016f10ee6f597c1bcb3e60fa3cb7be84d93d38107ee32621391619f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page