A Python package for tree-based regression and classification
Project description
Fast Adaptable and Extendable Trees for Research
adaXT is a Python module for tree-based machine-learning algorithms that is fast, adaptable and extendable. It aims to provide researchers a more flexible workflow when developing tree-based models.
It is distributed under the 3-Clause BSD license.
We encourage users and developers to report problems, request features, ask for help, or leave general comments.
Website: https://NiklasPfister.github.io/adaXT
Goals
The goal of adaXT is to provide a flexible and unified code-base for various tree-based algorithms that strikes a balance between speed and ease with which the code can be adapted and extended. It intends to provide researchers a simple toolkit for prototyping new tree-based algorithms.
adaXT aims to provide an intuitive user experience that is similar to the scikit-learn implementations of decision trees both in terms model-based syntax and hyperparameter. Under the hood, however, adaXT stikes a different balance between speed and ease of adapting and extending the code.
Adaptable and extendable
At the heart of any tree-based algorithm is a decision tree that can be fitted on data and then used to perform some version of prediction. adaXT has therefore been designed with a modular decision tree implementation that takes four input components:
-
Criteria class: Used during fitting to determine splits.
-
LeafBuilder class: Used during fitting to specify what is saved in the leaf nodes.
-
Splitter class: Used during fitting to perform the splits.
-
Prediction class: Used after fitting to make predictions.
By specifying these three components a range of different tree algorithms can be created, e.g., regression trees, classification trees, quanitle regression trees and survial trees. Additionally to this modular structure, all other operations are kept as vanilla as possible allowing users to easily change parts of the code (e.g., the splitting procedure).
Speed
As tree-based algorithms involve evaluating expensive loops over the dataset, it is important that these computations are implemented in a compiled language. adaXT implements all computationally expensive operations in Cython. This results in speeds similar (although a few factors slower) than the corresponding scikit-learn implementations. However, due to its modular structure and the avoidence of technical speed-ups adaXT is not intended to provide state-of-the-art speed and users mainly concerned with speed should consider more targeted implementations.
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
Built Distributions
File details
Details for the file adaxt-1.2.1.tar.gz
.
File metadata
- Download URL: adaxt-1.2.1.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 724932bc9c59b9addbc58608d6f6fc93eee5950e1442747a4e4108c800b2f269 |
|
MD5 | 30298cb12e5bcf503574334e3c8cbe8b |
|
BLAKE2b-256 | 34ca16565b57538f5ee1b4cf77a6c38fb7fe24fa502ef1751d845471e1791180 |
File details
Details for the file adaXT-1.2.1-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 635.0 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d90cc76d5f15471cdfb72e99878455924ddf54038c1f7129a4471d72efcb2b9 |
|
MD5 | ab59accf3446a012cfe170097a4356af |
|
BLAKE2b-256 | 7ea6c71675b7e035963d76ddddef8c002e12e30f3c6f1b6be067361a2eb20845 |
File details
Details for the file adaXT-1.2.1-cp312-cp312-win32.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp312-cp312-win32.whl
- Upload date:
- Size: 535.2 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58f67e04582fc9336650aab52ab4ade7f00a4a8817ccc503a42ee364f977816 |
|
MD5 | bf5751b6a98e0ccb9bf6f2875506c470 |
|
BLAKE2b-256 | adaa94f183e7c8a777bd9e4c00c2637e5241eb1796eac0bc8065d9072d6fc2d3 |
File details
Details for the file adaXT-1.2.1-cp312-cp312-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp312-cp312-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.12, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a44e98d29ab2026f8c66c341403a11146fa2683328338ea9e3cfe4e46d01fd9 |
|
MD5 | 98152765af9888d50ce7794e9d122fef |
|
BLAKE2b-256 | f56186976e9e4a87fc63883e355170a83148dc966ddb9a4b6976f4820022490f |
File details
Details for the file adaXT-1.2.1-cp312-cp312-musllinux_1_1_i686.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp312-cp312-musllinux_1_1_i686.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.12, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38e82335e20aba33b05f5a61659b2b675b8c3c94198026830a830236773e8dae |
|
MD5 | 2d820e9fc20b41570368fff649d3c7b0 |
|
BLAKE2b-256 | 01cf1c9b5148695f38f9ac6486f6276693d813c960885002e243b667be257812 |
File details
Details for the file adaXT-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87c082e2e282a01edcd7b851099724cdf59c8399af932c7374ce17998327830c |
|
MD5 | 6e39333a8233e1df320c20b5404fcbee |
|
BLAKE2b-256 | 542cfa82d8b27509124b8236a0e75249aa8b3efef33772c567582df63af5a488 |
File details
Details for the file adaXT-1.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 403a6a370b3f2f8998feba13bb3f675b07fedbcbdf20fa0fe96cf7c1b33d5968 |
|
MD5 | 72951bd1c8e9c9a6de10f4cc54ebcee3 |
|
BLAKE2b-256 | 3d61e116d08f6290d9774d307051fd7b91a1f2de4c05dbd37caa2c865e311c33 |
File details
Details for the file adaXT-1.2.1-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 684.7 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4e01c5447492e745d64f05fda16e2ed9dda5968bce0c31806f436cec882136 |
|
MD5 | 56943e71396bb62263a9ed98b9c789aa |
|
BLAKE2b-256 | 5e21ebb573306cb1639cf76d66a0a2977499a2a3a577fd24e19534be52eaeaea |
File details
Details for the file adaXT-1.2.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 635.5 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09301da0534fbabd169c908adc046421a60ea94e2573b3f3e11b5af8679e4382 |
|
MD5 | 138f31bafed2db0d90be230ed90a6f47 |
|
BLAKE2b-256 | 2913cf39705aca906d6226e0fd458bfaa90ea79ce7c316231d01abfa1097df74 |
File details
Details for the file adaXT-1.2.1-cp311-cp311-win32.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp311-cp311-win32.whl
- Upload date:
- Size: 535.4 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e533eb8af18aa5748283ea82a1a641d2982b4e04133cedb46dbe64d2cf0a2d72 |
|
MD5 | 520a2a116624443c4a0cee425960dec9 |
|
BLAKE2b-256 | 8a914ed6c50f2be97fbc1d7983fbbb4b203bf77d5a4ae7b9194e5401603ecff6 |
File details
Details for the file adaXT-1.2.1-cp311-cp311-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820b4f21544838f6f11f283172663ca55a5885e0d3815f6cd64e10e65d09c558 |
|
MD5 | eb7bf04db84789d4615dcf565f8c388d |
|
BLAKE2b-256 | eb5f8534e79a828103df2de366da51ff519711cd3c264b90a6831bd0a69ee581 |
File details
Details for the file adaXT-1.2.1-cp311-cp311-musllinux_1_1_i686.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp311-cp311-musllinux_1_1_i686.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0411ad50d330baf862ba7aa013ea003f7fed70a238d923dfc89496d51623bdb0 |
|
MD5 | 673180f5fedbbba9e466f5a056885de1 |
|
BLAKE2b-256 | aa30a59d29c0af00438a1ee6ee9ad01483b4b2c84a3912d3716d51c2b2efc9c7 |
File details
Details for the file adaXT-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 967dbdcb1540c5a8cb1194175e5b48ecd01b3d442a3cc68efc1fafbf72510211 |
|
MD5 | d6d8af16f049cb997674c27b5b115cf3 |
|
BLAKE2b-256 | 6aaf3310067613f40bafccdeb2cdfff46fdeb3db64d5b11a58bf8e7a2472393b |
File details
Details for the file adaXT-1.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 021c767a89d0c492220651d65d75f78b9ddb6ff8f811b21890e29b6514dec15c |
|
MD5 | c91248f04c58da315f569891735adfd5 |
|
BLAKE2b-256 | 71c61078a1acb7cc7191f043d73646e46617766ce750d18da544fc45d6d42114 |
File details
Details for the file adaXT-1.2.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 681.2 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 365373600eb5fcf49add28af6ddcfd135b41bf7d7a69348b922a93344f3cbd9a |
|
MD5 | 4b7c8a91c0d70f6b7ceb532f72f2402f |
|
BLAKE2b-256 | 79467e409fa1cd10047e63385e35c5c4abbdaa48a487523a7afe8c19fc57129f |
File details
Details for the file adaXT-1.2.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 634.4 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cb64c1a52b628acec856e6a0f8860f932865a3a48cda9694eac8d669a1d4f6 |
|
MD5 | 38651989f82fb81dc602f1f8b90d5017 |
|
BLAKE2b-256 | 40c12345457a23f048e44fe09c88314bf7921bfffcc19b7a2bfe4f8c6bf04fce |
File details
Details for the file adaXT-1.2.1-cp310-cp310-win32.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp310-cp310-win32.whl
- Upload date:
- Size: 537.4 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c8fbddd47c46d2cea2a9d571ab112bcddb0e59ef8b2457970c82ef74011a65 |
|
MD5 | 2c0e7c573f416e321a522eda5f143d8d |
|
BLAKE2b-256 | 034ca7b54c6aefc66071efae5f2711f57595e3ad312ee073f9f618db4ea9ff43 |
File details
Details for the file adaXT-1.2.1-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63304255c9bf8ca42098eba86b8ffecd644b9f8242210f3a4f11db7106340f3f |
|
MD5 | 58f34d91a08d769d7f5166a596ca1565 |
|
BLAKE2b-256 | 60e0c017e93157b1f2c36d8441a2699c2763663cd428e9c827ef4aebb3f178d0 |
File details
Details for the file adaXT-1.2.1-cp310-cp310-musllinux_1_1_i686.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp310-cp310-musllinux_1_1_i686.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef65fc0799c81c18262d891f2d7c028a67258ed2c095b8db8fce7c3e901c5f96 |
|
MD5 | 7311c2e7f4f42b42060c51126a7d7445 |
|
BLAKE2b-256 | 5407626a0d4e5e98c5cc08bc07240a6cc696247358e1a2fdc5078bc089d94925 |
File details
Details for the file adaXT-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d365e9f765bcf96c3a9c82e93fef259917a2e09b7fad187265c6db606f19e8a |
|
MD5 | 98235d8ada79335f4ab34f1b921e4889 |
|
BLAKE2b-256 | d6fef22100e1c5fedeed164d752841ff14d6be88c96191c33d5d0a06fc953804 |
File details
Details for the file adaXT-1.2.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0f4c5e592a6697068f0266f3cb4b855e62111226c40e7b23ad072ff7455561 |
|
MD5 | 85d234b1a531d51776eb0a0a782e9470 |
|
BLAKE2b-256 | 068f1823e70734979fdb5f886fad5c5f788fabb63b765ff06e8852b3fecff314 |
File details
Details for the file adaXT-1.2.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: adaXT-1.2.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 680.7 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b63dcc0059e91d9abcda77f39acb116ced8f7e71f03f39638e818a5a7c9180a0 |
|
MD5 | 4911d0fa243959288ea271dba11ab6dc |
|
BLAKE2b-256 | affd9126fe5ca4c85c8afabb459261d7608059085ae18f4cb73fde1a553414d5 |