Scikit-lexicographical-trees is an adaptation of the Scikit-Learn trees module to support lexicographical approaches for longitudinal data. Refer to the following document for further information: Lexico Decision Tree Classifier.
Classifiers and regressors supporting lexicographical approaches:
🌲 Decision Tree Classifier 🌲 Random Forest Classifier 🌲 Decision Tree Regressor
Classifiers and regressors supporting time-penalized approaches:
🌲 Decision Tree Classifier 🌲 Random Forest Classifier 🌲 Decision Tree Regressor
For more information, refer to the Scikit-Longitudinal – main library utilizing the current fork – : Scikit-Longitudinal.
Acknowledgements
This fork is from NeuroData, an endeavor that paved the path for improving trees/forests in Scikit-Learn. Nonetheless, while our compliments go to the NeuroData team, we also like to thank the original Scikit-Learn team for their excellent effort over the years in providing a robust and versatile library for machine learning.
Do not forget to cite them!
💬💬💬💬💬💬💬💬💬💬
🔄🔄🔄 Original Scikit-Learn README 🔄🔄🔄
scikit-learn is a Python module for machine learning built on top of SciPy and is distributed under the 3-Clause BSD license.
The project was started in 2007 by David Cournapeau as a Google Summer of Code project, and since then many volunteers have contributed. See the About us page for a list of core contributors.
It is currently maintained by a team of volunteers.
Website: https://scikit-learn.org
Installation
Dependencies
scikit-learn requires:
Python (>= 3.9)
NumPy (>= 1.19.5)
SciPy (>= 1.6.0)
joblib (>= 1.2.0)
threadpoolctl (>= 3.1.0)
Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4. scikit-learn 1.0 and later require Python 3.7 or newer. scikit-learn 1.1 and later require Python 3.8 or newer.
Scikit-learn plotting capabilities (i.e., functions start with plot_ and classes end with Display) require Matplotlib (>= 3.3.4). For running the examples Matplotlib >= 3.3.4 is required. A few examples require scikit-image >= 0.17.2, a few examples require pandas >= 1.1.5, some examples require seaborn >= 0.9.0 and plotly >= 5.14.0.
User installation
If you already have a working installation of NumPy and SciPy, the easiest way to install scikit-learn is using pip:
pip install -U scikit-learn
or conda:
conda install -c conda-forge scikit-learn
The documentation includes more detailed installation instructions.
Changelog
See the changelog for a history of notable changes to scikit-learn.
Development
We welcome new contributors of all experience levels. The scikit-learn community goals are to be helpful, welcoming, and effective. The Development Guide has detailed information about contributing code, documentation, tests, and more. We’ve included some basic information in this README.
Important links
Official source code repo: https://github.com/scikit-learn/scikit-learn
Download releases: https://pypi.org/project/scikit-learn/
Issue tracker: https://github.com/scikit-learn/scikit-learn/issues
Source code
You can check the latest sources with the command:
git clone https://github.com/scikit-learn/scikit-learn.git
Contributing
To learn more about making a contribution to scikit-learn, please see our Contributing guide.
Testing
After installation, you can launch the test suite from outside the source directory (you will need to have pytest >= 7.1.2 installed):
pytest sklearn
See the web page https://scikit-learn.org/dev/developers/contributing.html#testing-and-improving-test-coverage for more information.
Random number generation can be controlled during testing by setting the SKLEARN_SEED environment variable.
Submitting a Pull Request
Before opening a Pull Request, have a look at the full Contributing page to make sure your code complies with our guidelines: https://scikit-learn.org/stable/developers/index.html
Project History
The project was started in 2007 by David Cournapeau as a Google Summer of Code project, and since then many volunteers have contributed. See the About us page for a list of core contributors.
The project is currently maintained by a team of volunteers.
Note: scikit-learn was previously referred to as scikits.learn.
Help and Support
Documentation
HTML documentation (stable release): https://scikit-learn.org
HTML documentation (development version): https://scikit-learn.org/dev/
Communication
Mailing list: https://mail.python.org/mailman/listinfo/scikit-learn
Logos & Branding: https://github.com/scikit-learn/scikit-learn/tree/main/doc/logos
Calendar: https://blog.scikit-learn.org/calendar/
Twitter: https://twitter.com/scikit_learn
Stack Overflow: https://stackoverflow.com/questions/tagged/scikit-learn
GitHub Discussions: https://github.com/scikit-learn/scikit-learn/discussions
Website: https://scikit-learn.org
YouTube: https://www.youtube.com/channel/UCJosFjYm0ZYVUARxuOZqnnw/playlists
Discord: https://discord.gg/h9qyrK8Jc8
Citation
If you use scikit-learn in a scientific publication, we would appreciate citations: https://scikit-learn.org/stable/about.html#citing-scikit-learn
Metadata
Release files for scikit-lexicographical-trees 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scikit_lexicographical_trees-0.0.5.tar.gz | 7.0 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| scikit_lexicographical_trees-0.0.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| scikit_lexicographical_trees-0.0.5-cp310-cp310-macosx_12_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 12.0+ ARM64 | Details |
| scikit_lexicographical_trees-0.0.5-cp310-cp310-macosx_10_9_x86_64.whl | CPython 3.10 | CPython 3.10 | macOS 10.9+ x86-64 | Details |
| scikit_lexicographical_trees-0.0.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
| scikit_lexicographical_trees-0.0.5-cp39-cp39-macosx_12_0_arm64.whl | CPython 3.9 | CPython 3.9 | macOS 12.0+ ARM64 | Details |
| scikit_lexicographical_trees-0.0.5-cp39-cp39-macosx_10_9_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.9+ x86-64 | Details |
Total release size: 74.7 MB
Release files / scikit_lexicographical_trees-0.0.5.tar.gz
| Download URL | scikit_lexicographical_trees-0.0.5.tar.gz |
|---|---|
| Size | 7.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67d6d705e3e4b17b1c24151d67d9c056840edadcc5e88c2739a46f6d789dce83
|
|
BLAKE2b-256 checksum How to use checksums |
53ad406ad5663d663a44fcc101f9825104cf0cbc10491a1f385ac00ebccae265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logRelease files / scikit_lexicographical_trees-0.0.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | scikit_lexicographical_trees-0.0.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
bcf9f341f7d556a98c2d09e85f92b07538cb036e5be482d872a6d7099eca2c4f
|
|
BLAKE2b-256 checksum How to use checksums |
27d7d963db1c7eb2907455bad8d5ef0220cf2b9121d71c0afc1e8d22f1f868b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logRelease files / scikit_lexicographical_trees-0.0.5-cp310-cp310-macosx_12_0_arm64.whl
| Download URL | scikit_lexicographical_trees-0.0.5-cp310-cp310-macosx_12_0_arm64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | CPython 3.10 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d5de08cda4193fd737527fc41a622e63e14c26f89976932dd23c992403a9087f
|
|
BLAKE2b-256 checksum How to use checksums |
50096597f10a1e57ada30f4380435d6fc7d1c5608c3eaf0a151f7588d327039b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logRelease files / scikit_lexicographical_trees-0.0.5-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | scikit_lexicographical_trees-0.0.5-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
a0c5989bf56b06138488371de1b689f4da4bb2836c9f3e82c3cfde8813a463ce
|
|
BLAKE2b-256 checksum How to use checksums |
fd9662a766e6d9ed0def8b988aa183a67baf1c11be1eedd07df1c91f7cdd6183
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logRelease files / scikit_lexicographical_trees-0.0.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | scikit_lexicographical_trees-0.0.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
692c6708be542c54a6d50b485c3b9d4fc09f2df886665b9a9ee5ad9c67d6b45f
|
|
BLAKE2b-256 checksum How to use checksums |
b9a49c52084528739861cc5bf1cb698a8bb03845b9a4675bb964fa81b26f91b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logRelease files / scikit_lexicographical_trees-0.0.5-cp39-cp39-macosx_12_0_arm64.whl
| Download URL | scikit_lexicographical_trees-0.0.5-cp39-cp39-macosx_12_0_arm64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | CPython 3.9 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7c6f9ded1c696ee68292162bec98d2f371ecba395828b559118d6dd606601a78
|
|
BLAKE2b-256 checksum How to use checksums |
b87e183d59120c78c5701a22936a63d89fda07d49c1f3700a90e06b7c1b1d2ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logRelease files / scikit_lexicographical_trees-0.0.5-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | scikit_lexicographical_trees-0.0.5-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
d246975944ed41f988155b6bd6ca573d366e306bc6d964f6ffb260c1a60a4fad
|
|
BLAKE2b-256 checksum How to use checksums |
3b820152d1598be53337775a6263afb90140c80ea162a6d645f545788d3363a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency log