Skip to main content

An ensemble classifier that combines multiple base models using learned weights

Project description

LestariClassifier

LESTARI (Layered Ensemble Stacking Technique with Adaptive Regression of Individual-errors) is an advanced ensemble classifier that intelligently combines multiple base models using a weighted ensemble approach. The weights are dynamically learned based on the prediction errors of individual instances across each base model.

LESTARI was developed as part of my Master of Computer Science thesis at BINUS University, and is lovingly dedicated to my beloved wife, whose surname Lestari inspired the name of this technique.

Features

  • Supports multiple base models
  • Automatic weight learning based on feature space
  • Default weight model: LGBMRegressor for robust weight prediction
  • Default final model: GaussianNB for efficient probability calibration
  • Internal cross-validation

Changelog

0.1.2

  • Changed default weight model to LGBMRegressor
  • Changed default final model to GaussianNB
  • Enhanced weight learning using feature space
  • Improved probability calibration

0.1.1

  • Enhanced predict_proba to return full probability matrix

0.1.0

  • Initial release

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

lestari_classifier-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lestari_classifier-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file lestari_classifier-0.1.2.tar.gz.

File metadata

  • Download URL: lestari_classifier-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for lestari_classifier-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d417b9220b4f43bcf219528165a4f85527250cd99f7be1b08239d9d68fba304f
MD5 098f98e36dacfd51b9ad25dbb7e9a5de
BLAKE2b-256 98938305a7e08b2778c66c145731798384fbff301dd194ee41deb8d0b23504ee

See more details on using hashes here.

File details

Details for the file lestari_classifier-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for lestari_classifier-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc0e1b262e88fc24e1012c569b922521dc8aafa40a3089094b4c1009775f3caa
MD5 e03f818652c3058d9352c5f4c59cc90b
BLAKE2b-256 697925fb2501e2598cbe5c306bba934762a22806f3afe378cd1fc3ca3c002a00

See more details on using hashes here.

Supported by

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