Skip to main content

A scikit-learn implementation of a Separate-and-Conquer (SeCo) multi-label rule learning algorithm

Project description

Multi-label Separate-and-Conquer Rule Learning Algorithm

License: MIT PyPI version Documentation Status

:link: Important links: Documentation | Issue Tracker | Changelog | Contributors | Code of Conduct | License

This software package provides an implementation of a Multi-label Separate-and-Conquer (SeCo) Rule Learning Algorithm that integrates with the popular scikit-learn machine learning framework.

The goal of multi-label classification is the automatic assignment of sets of labels to individual data points, for example, the annotation of text documents with topics. The algorithm that is provided by this package uses the SeCo paradigm for learning interpretable rule lists.

:wrench: Functionalities

The algorithm that is provided by this project currently supports the following core functionalities to learn a binary classification rules:

  • A large variety of heuristics is available to assess the quality of candidate rules.
  • Rules may predict for a single label or multiple ones (which enables to model local label dependencies).
  • Rules can be constructed via a greedy search or a beam search. The latter may help to improve the quality of individual rules.
  • Sampling techniques and stratification methods can be used to learn new rules on a subset of the available training examples, features, or labels.
  • Fine-grained control over the specificity/generality of rules is provided via hyper-parameters.
  • Incremental reduced error pruning can be used to remove overly specific conditions from rules and prevent overfitting.
  • Sequential post-optimization may help to improve the predictive performance of a model by reconstructing each rule in the context of the other rules.
  • Native support for numerical, ordinal, and nominal features eliminates the need for pre-processing techniques such as one-hot encoding.
  • Handling of missing feature values, i.e., occurrences of NaN in the feature matrix, is implemented by the algorithm.

:watch: Runtime and Memory Optimizations

In addition, the following features that may speed up training or reduce the memory footprint are currently implemented:

  • Sparse feature matrices can be used for training and prediction. This may speed up training significantly on some data sets.
  • Sparse label matrices can be used for training. This may reduce the memory footprint in case of large data sets.
  • Sparse prediction matrices can be used to store predicted labels. This may reduce the memory footprint in case of large data sets.
  • Multi-threading can be used to parallelize the evaluation of a rule's potential refinements across several features or to obtain predictions for several examples in parallel.

:scroll: License

This project is open source software licensed under the terms of the MIT license. We welcome contributions to the project to enhance its functionality and make it more accessible to a broader audience. A frequently updated list of contributors is available here.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mlrl_seco-0.11.4-cp313-cp313-win_amd64.whl (568.9 kB view details)

Uploaded CPython 3.13Windows x86-64

mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mlrl_seco-0.11.4-cp313-cp313-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mlrl_seco-0.11.4-cp312-cp312-win_amd64.whl (575.1 kB view details)

Uploaded CPython 3.12Windows x86-64

mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mlrl_seco-0.11.4-cp312-cp312-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mlrl_seco-0.11.4-cp311-cp311-win_amd64.whl (574.2 kB view details)

Uploaded CPython 3.11Windows x86-64

mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mlrl_seco-0.11.4-cp311-cp311-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mlrl_seco-0.11.4-cp310-cp310-win_amd64.whl (576.6 kB view details)

Uploaded CPython 3.10Windows x86-64

mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

mlrl_seco-0.11.4-cp310-cp310-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file mlrl_seco-0.11.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: mlrl_seco-0.11.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 568.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mlrl_seco-0.11.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5f4a0abeb001f603ba83634d08439ddc53bbd7f81c26b978a36a291b92932338
MD5 3ba7969362c0603e97471c4e3bf991ef
BLAKE2b-256 5fe9738dca651c3f2fa958bcf4c7de5a0d967ed637d5444f62f54e94d5a1b82c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 01d6b0f55f20ec754bf2ccd74288a11a50ce6b5890780090ec96c963d2715868
MD5 bcfb203e1de747c84fefb7a1f5afbd02
BLAKE2b-256 05e15aa1df48abe3556beadcf327fbb468de712f70f30b298281078ae275fc13

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b22a822d207ffc6ae2589243d4b52a47cb653603f9f5efca19af3bcf88ddb469
MD5 ae41538e9c918d8e47a57ae0022c0164
BLAKE2b-256 8eb378497f9ca5e4ca88405779e558f88f17f900031df5252f75c1cf1af029c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c1c4c21ab8dc3f044e79e2807fa7df37b28ad3576a7851f5277c8bff73effa9
MD5 a9d2abc3a9b3e97e26de81b04f726569
BLAKE2b-256 9954413b9d308cb5590886b7aa3bb78eb9b6d708c346cf96159f15a4e9c7be28

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: mlrl_seco-0.11.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 575.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mlrl_seco-0.11.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 69dc255cae4904ec40fc522116dda7400ce197b2ae8cb1602c7fd81022abedcb
MD5 d5cfe6a256cb27183c6fd67dbecf55e2
BLAKE2b-256 240facead1d5c1ebb7d758bf419feaf78eb3359bfd99c313f746ab017457b096

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0698bcacf5379cfc875b8636e1ea09223a531f246eacad0f3d094340249c953
MD5 d2d732828471ee7dcad21b7ce9e4c9be
BLAKE2b-256 ee2332ba195049094b7a432cce5c44679be4a36c5de82a91676a7d6fdb26d98f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7f6136babacd93a082fc8146a0c3be2c48f91c99412c62cd710f0b146f45927b
MD5 f854bd80f5fc047f5523dbfa1c955af0
BLAKE2b-256 0d0475de7b623306c9981560df5eed497cbadd9f2403611821b3b89acb70406e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d2f337f960b6f5bf033cb5604803fb4578b72b8746176b76536bc60cc1797721
MD5 8b6b1ea81a7b185800c6fcd0e609b8b9
BLAKE2b-256 cbeb4fa6274ef5ffea3bf442b837c31c025a3ca0d5094790c140926a18549912

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: mlrl_seco-0.11.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 574.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mlrl_seco-0.11.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 736ec00211b9aadee72119f2067c09e3cb9673303b4ad8e4fc7ac94b09627ed9
MD5 05bf1aae5afc58ff4ed0c147331c6e66
BLAKE2b-256 d3b9029c5fdcc8562f60aa54ee45880a62d6114d8e2033cdde58c5bbec99dabc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 93d2f0363876f9807199b3578c13738a16a3b53fc29ac23c42ad8b09060eaa9a
MD5 e28085cf0d22e184585afeb68ad25a86
BLAKE2b-256 5ac564533fe68a2b0aad94c271271c343f292160a89485fbd891f59c840907fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ccee9d4dc72213b73dbcb3d3051800bf85524ed4d82515e0501e745ac2479994
MD5 a09d15656b5dda9d737a7eee2dac20c6
BLAKE2b-256 a0c7ba732a51e8eec8b5774d1b4e4ce05b983ee0b450272a591d00d9808b9b84

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 49a011edf7a8235a8c413ad0c9c174e84cf1961178946be6bbc4ac353255b346
MD5 e9f720f39f1547fd80855f7521ba0200
BLAKE2b-256 5aa3dade26c1251d00add560fca57c18031e0edadc3d88e8f2df9f04dc07eff8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: mlrl_seco-0.11.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 576.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mlrl_seco-0.11.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8750a530cf380fc6af41bbc016cdb9b25e41ac0fc3639cab6e4faac0191d56de
MD5 51f78b113c84bcd75a9fb22bda69668c
BLAKE2b-256 22c4cbd79b117cae1dc1cf06d07faae3428cfcf0adbc53612dcb62e2c2050cd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b20a8cf1268b4e006f6717a7121d074710075ce2a27a94103eb21370c8896e14
MD5 36510c98220558ea91e80555b5466b02
BLAKE2b-256 9f54dfb8c12e3f9fccec73418f4b5a496058135f76b327cc06ad31595cb3a41c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2eaca0a2d29333af9d5b7224d0426c51e8b89fea95696923b68b6a4e2210fa2d
MD5 7a56cba95d83eb0e67a843dbb5d49150
BLAKE2b-256 90dd393172238a9098e2cb52f3bed48238b107de9aba7b4ab514be293e3f3b14

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlrl_seco-0.11.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlrl_seco-0.11.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 68928334ab30a9a638d9d8e042dab8761a598517375745e7462365e851fffcde
MD5 efc174617f50acf8d3ff3d9efa2cc941
BLAKE2b-256 fb38395ee61823d3a2f8090303411b21eeb2c968a0adeeb26e5467c400a489d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_seco-0.11.4-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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