Metadata-Version: 2.1
Name: LightGBMModelOptimizer
Version: 0.0.6
Summary: Trained Lightgbm Model Optimizer. Reduce size and improve inference time of the trained lightgbm model
Author-email: Rajat Goyal <rajatgoyal376@gmail.com>
Maintainer-email: Paras Malik <paras.mal@media.net>
Requires-Python: >=3
Description-Content-Type: text/markdown

LightGBMModelOptimizer Python-package
=======================

Usage
*****
LightGBMModelOptimizer optimized the trained lightgbm model. It reduces size of model & improves the inference time of the model.

To Optimize the trained model without dumping. It will create a new model object and return it.

    optimizer = Optimizer()
    model = optimizer.optimize_booster(model)

To Optimize the model dump. It will replace the same file with the optimized model file.

    optimizer = Optimizer()
    _ = optimizer.optimize_model_file('model.txt')


