Simple, fast random forests
Project description
Biosphere
Simple, fast random forests.
Random forests with a runtime of O(n d log(n) + n_trees d n max_depth)
instead of O(n_tree mtry n log(n) max_depth)
.
biosphere
is available as a rust crate and as a Python package.
Benchmarks
Ran on an M1 Pro with n_jobs=4
. Wall-time to fit a Random Forest including OOB score with 400 trees to
the NYC Taxi dataset,
minimum over 10 runs. After feature engineering, the dataset consists of 5 numerical and 7 one-hot encoded
features.
model | 1000 | 2000 | 4000 | 8000 | 16000 | 32000 | 64000 | 128000 | 256000 | 512000 | 1024000 | 2048000 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
biosphere | 0.04s | 0.08s | 0.15s | 0.32s | 0.65s | 1.40s | 2.97s | 6.48s | 15.53s | 37.91s | 96.69s | 231.82s |
scikit-learn | 0.28s | 0.34s | 0.46s | 0.69s | 1.23s | 2.47s | 4.99s | 10.49s | 22.11s | 51.04s | 118.95s | 271.03s |
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
biosphere-0.2.2.tar.gz
(20.8 kB
view hashes)
Built Distributions
Close
Hashes for biosphere-0.2.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f24d922896a03643a07e3ec9d05be86f452a03697c71bd2ea2517c5c3d1bf7e |
|
MD5 | 7ac3eea49196d6dab0edfb73599978b2 |
|
BLAKE2b-256 | f68de4031df469c3395c2f585277add646ca5c19530b36bbd648b6c6dfae2477 |
Close
Hashes for biosphere-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf6d1c6be1de27a6fd92d11122101f38c86c0fd5841ebbaae0f1d33cbae5880a |
|
MD5 | d359800bb854739cb8ba972a762b51b1 |
|
BLAKE2b-256 | e33b704b7b025b677830aaa4d60ea3624ca09fb6ba32bf2c2199adc92a7d849d |
Close
Hashes for biosphere-0.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9071993d022034f40c6bb7b25e8a6ede5ad6c266a7316e62651aaaf3ed372ed |
|
MD5 | 149a48b2737eecc98579511b6c34665c |
|
BLAKE2b-256 | 30ef9de18da2999b6a9c6f0ad25f502db2a084b394296f518db1c2e45e91f768 |
Close
Hashes for biosphere-0.2.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 588a78beda96097784f18227df7c438cbfa4a361b62271ce7f95f42b243bb6f1 |
|
MD5 | db5acee07d018a4ef8a35422130fd732 |
|
BLAKE2b-256 | eaa0125d8787e37a32304ad132134f4316896e4cb3846e02dac72ac6c15bac3d |
Close
Hashes for biosphere-0.2.2-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4de0d784d902ab37523e97ef709983a9af8649fb77e4e8c389ea1f21e4633f46 |
|
MD5 | 0de9fc206ea763be4d5edaa8ca416d02 |
|
BLAKE2b-256 | cf7558c43722afe436e783633c5ea4d0426fe9b9f9f9ff90f3c7a0a430f05511 |
Close
Hashes for biosphere-0.2.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 329212d4300f76e9f63a54386a0cdc4804ca1481908907f258183d53214a6915 |
|
MD5 | 205e9baf905c095ab7b96a44072b0011 |
|
BLAKE2b-256 | de130a7367ffb5eb6b23d06557782d6f3881a18895d423febcad882afbb51017 |
Close
Hashes for biosphere-0.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 742685ef382f75272aa37ebde0c6e91e39b83bdd6e70316f15794ccc38a98c8f |
|
MD5 | fe3e63ae6928dd6460b219adcccb15a9 |
|
BLAKE2b-256 | dbf78939af9653f5d08213b7b0c03fef2fb51463fdfa46de1a89756d948bc596 |
Close
Hashes for biosphere-0.2.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38e609b4bfc1f8be01b598bc031e64d1e0003024f91073a0d29b1e71ebd5fc82 |
|
MD5 | 6ddcb45dfc5b457e971314da0bd00631 |
|
BLAKE2b-256 | e95a3690d43aff93891aa8153c0ad3f91f384db2ad89f5d295621c6de3246289 |
Close
Hashes for biosphere-0.2.2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aaddfedbc00fb519faef59767e82000704e5e62c5210404a6a8043ea46d43be |
|
MD5 | afdeba6dfbb4ed17d66bdc0936adcf09 |
|
BLAKE2b-256 | e585fd589143432acc08d0b8e247bdeb03c87bd7374859e3243ea68122f171cd |
Close
Hashes for biosphere-0.2.2-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb85063e5f976ab2be2ee82ea3ece268de22b63d9cd92f6fe77e5cfab50ad9d5 |
|
MD5 | db139d7153edfb7f070f2ad9134cb317 |
|
BLAKE2b-256 | 50801e911bfea6236f6a90278a47a51de23dc3d6758df50360e1259038959eba |
Close
Hashes for biosphere-0.2.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a4b89ceeffdb310480f83c2c77752074a0c1a148ed7e8731bd8441ba27072c |
|
MD5 | 06ca60e3ca49beb68c342c6d1b3a66ba |
|
BLAKE2b-256 | c8adaafc807721c6ef57a06a8b4939b78a18ab86255ebaa143c1afb3acfbb17f |
Close
Hashes for biosphere-0.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1495e617d0a90bc1ecddb054b472b64f1fd56351b019b8ae8b3010c54f38d30 |
|
MD5 | aa0684c39b1a9cfe305b6dee67bb5d91 |
|
BLAKE2b-256 | 896ce5c53bc87b3987d567f16b389a71ccbaa8e1bee5af53a03a8cd9ed898eb9 |
Close
Hashes for biosphere-0.2.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572c90c61e4ea3ddb5c62d8e442d0941fcb4f75bad05dccae5fb4eab79789f12 |
|
MD5 | 9ca18263299ccd2d239c30d583da4ed6 |
|
BLAKE2b-256 | 6000c35c25051ab71a439c2c847e9fd96fda76a2668e3745b859cbb79d16fb55 |
Close
Hashes for biosphere-0.2.2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38655549c41aca2148898304a1e8bc66d8644b53d2017c89022237f212440c32 |
|
MD5 | 82af37b28948ef0526436ab2abaade7a |
|
BLAKE2b-256 | d75f8012c9ef4874f07a80ae1b400489566bc3c75fbc352ffe00c2e3ac662a9a |
Close
Hashes for biosphere-0.2.2-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd496e978ac566fd4525e83397f032d91a1491ff20456fd0f9671e0c45331e3 |
|
MD5 | 59c6824b1ee88aa02cf3231c4536886a |
|
BLAKE2b-256 | dce3835ea1f13abcb6737ee47d69b679b0eab20bee5a00ad66294c0613cbad45 |
Close
Hashes for biosphere-0.2.2-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03664418df8e4d8514ed1c9803f0020b8399d8014599530724a869ea53c92a45 |
|
MD5 | eeda8f7b60bd2773d94a670891eb2e69 |
|
BLAKE2b-256 | bc7eb07823a38d265f10511e8ade80f931f4c1be16d054d6971965d6f381c553 |
Close
Hashes for biosphere-0.2.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf743141c425e0e26e62d9aa0acb906627942eefb2f5aeb816da353c398d937f |
|
MD5 | 5c9278e37e1d6612d946c7b301d8a1d2 |
|
BLAKE2b-256 | bfab3c61ae472d4c41a1b269bf41e04985a0502371bb2d96ada30531c0666e25 |
Close
Hashes for biosphere-0.2.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1c2d91da664907e53a8fe97306b7d0a6d1f29b3603f0dc88246b214f99fe1f |
|
MD5 | 62f147a14d79758c0948cb783b5fb8dd |
|
BLAKE2b-256 | aa4c91024d8dcf12bf6722deeed0a49efde26e0606e15a40da1781585627223e |
Close
Hashes for biosphere-0.2.2-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df907e5d0688c78c3b888b70b5b0d2efc6183201402c2fb548f07162486bd028 |
|
MD5 | 06bf10f1fab7954fe8c8cbae72d227c3 |
|
BLAKE2b-256 | a33830671d6716c94a5e8dcc85151c3cbabac44f507eaa0f8f1fa710e32e79fb |