Simple, fast random forests
Project description
Biosphere
Simple, fast random forests.
Random forests with a runtime of O(n d log(n) + n_estimators d n max_depth)
instead of O(n_estimators 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.3.0.tar.gz
(22.3 kB
view hashes)
Built Distributions
Close
Hashes for biosphere-0.3.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce916af501a79324009c588d51179fba6d18c9a87d8bd47d325193a9391feec3 |
|
MD5 | 5c0555e2a3e7d700f415929598e29c6d |
|
BLAKE2b-256 | 036764ff67f78aff3fec94969d65942e0664b1d098a97a09c3634dadd87f8540 |
Close
Hashes for biosphere-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a08b5ee845102c8da84e9a04659eb323b9065043b0758134df0527a0cdd163 |
|
MD5 | 0f5e2ffdf141aed3d65dc44ca8cb1ea7 |
|
BLAKE2b-256 | efe1d1dbdbea066b48fe36ed790d7696fe4c2d51d7901061b1d2966fcfc60207 |
Close
Hashes for biosphere-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd941920b0dac9617bb0bedafb30952a22326abeaf65af3498c0fc375a22ed0 |
|
MD5 | ff9178d81174c2aa6280b809656416da |
|
BLAKE2b-256 | 9df858904e8b3e7f79558e863bfdc258971e663a4b1e0aedeccb2deb00743157 |
Close
Hashes for biosphere-0.3.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81a1f1ab5921048a4ce47c0748ff7f4228a8d58df00b0c2e91666d72d9368e74 |
|
MD5 | ff5ab10faba60c7db8b5737abba2707e |
|
BLAKE2b-256 | 3344b15ceeb723b1d68dd4e23977019d0122f2f4958eb910c2fc103c80945d64 |
Close
Hashes for biosphere-0.3.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a91f2f115b4e85ebce966ec9aeba8f8ac1774e6b6edf5c7975de47dde9005c |
|
MD5 | 236d3bb40a589ae6ee0306235817b556 |
|
BLAKE2b-256 | 5fe60674eb8b0d962d3bd5e07823c64fd73ac13d89e2d26883a8dceb6ad4f91d |
Close
Hashes for biosphere-0.3.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6cadc142f5fab68f74007901aa0975ee1dcbd89a5b127046af7ae70e8571a62 |
|
MD5 | 5e655cf6f1e4352790a06854e25fac35 |
|
BLAKE2b-256 | a8d0298680082a7b71372e9ad7459ef2cfcea27a97c37481fa2e30b120128537 |
Close
Hashes for biosphere-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfde8478a79b1f2264f7c5806fb507a948016d4a0f6d3a27944c13dd913bf9a9 |
|
MD5 | 03f87e55b00e7ed7873470185ae75431 |
|
BLAKE2b-256 | 23b14e3bc70de52910095f772ba8726875f7f6fb57473c90dd0a528db7f4473f |
Close
Hashes for biosphere-0.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdaa502ee9bbb158377ecfc93397b683fd819fe40f829f688ea0e34558260465 |
|
MD5 | 417293a8b48abee49366aa70532ae7d9 |
|
BLAKE2b-256 | 2d87c8c74d76cfafe8c7ce7a38c6c605cdc3ac5c9141e693de9271b37dcf7f61 |
Close
Hashes for biosphere-0.3.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83648fc9ce2cd50f41952102deb218231af0d4a41b5e9941ad0c21d93c8c4b61 |
|
MD5 | 54ed0fef29e9a27d1868ae2b5c274d25 |
|
BLAKE2b-256 | 65fd63174833bd288f6d3d2ddcfe38df7d8e0f3f75701776254696287b121342 |
Close
Hashes for biosphere-0.3.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eec47c779511bb24866867507bee0b4eabe3b243c2a3ae3b1b664d79a21af9a |
|
MD5 | 30c814ff9dfad0d747afef651b30a839 |
|
BLAKE2b-256 | ee0e99ca405ca233d71eedf89dae14d091063b46617b9a40c38bc7ea89db315f |
Close
Hashes for biosphere-0.3.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79033fd8585b9893024216059f9b1de1a45bea205322ef635cd12e7cf6e6d301 |
|
MD5 | 94ade8c37a15d705738485afc345f3b0 |
|
BLAKE2b-256 | f9ddd67b52f4e3d9affac4908b3548d00ae18e69b39569af5e8471ec17cd0753 |
Close
Hashes for biosphere-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649216e27b3e68ef61f3d46b587235a133b940d822a60664accfd75a9331a8b2 |
|
MD5 | 82eb4ce83de7773b9e6f1c0ac117ed39 |
|
BLAKE2b-256 | 2d624f57d820b12c5a67402245140828821e501f0cfdb405d39656f2db5549a2 |
Close
Hashes for biosphere-0.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ae19730cdffda36792b59512aff3a33d42c90875a8bb4a7f7f070a85948d726 |
|
MD5 | c814c66e3fdb2d446bef8b9ba054b044 |
|
BLAKE2b-256 | 592c52e3531d8512f5846d149b63fd7013d4e40f9c8170292c5e8431a1a414a9 |
Close
Hashes for biosphere-0.3.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c6c8a6810fde281e7a0ab5901e962dba2ac977719309cd74e29d64891b469ec |
|
MD5 | a3946f5600e47d57abda3abe2c5e3605 |
|
BLAKE2b-256 | abf53dbfb9d9d896690be0950e3a67e96344101a8b975628b1f260183a2a2d0a |
Close
Hashes for biosphere-0.3.0-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e00a022900fa2ba7f05688575a307fca550b6baee959edb7d2b55303acfaba3 |
|
MD5 | 128b7fcb355e9db43c1baae1ae5ecdc7 |
|
BLAKE2b-256 | 6c4fc34c379827ad5697135bbba457c024838216e3a1df5f868f00124d192608 |
Close
Hashes for biosphere-0.3.0-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55b57fb87c6f424b0fe60a2993c58d121206ff76431cd61b6f6911a58c38a270 |
|
MD5 | 9af4cb5bf4148810b96cfb29378de3bb |
|
BLAKE2b-256 | 68e03e91d4ee3aba887453be5a6be75c4c0755fb79a931be4fd5998e77360c83 |
Close
Hashes for biosphere-0.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b7ce204d195932b07fbbc7e33f6eeb68568093de73f2499107747be27305c1 |
|
MD5 | 5429371f5d85db7f21da9f4640c2395a |
|
BLAKE2b-256 | b0e863840b5502c92a85f9957b7c521d1b0001f95f60f6c113eadf524860fa83 |
Close
Hashes for biosphere-0.3.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 644c5c75374e0328d775480c4617021957590498d2d71c6bfe26e3df66ddc2c4 |
|
MD5 | e2f2425a914482247adaf98252481388 |
|
BLAKE2b-256 | d85e7bc43a2a4dc030920feae8d7d28710ee8c055e9cf9d1204c63b440075d06 |
Close
Hashes for biosphere-0.3.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb6a4ca1b70041dc83bf6bb7087b3bf414b593e99898f643d99b41b5c614f0c |
|
MD5 | 3e114498cafdc82cb3fc5764da8538e5 |
|
BLAKE2b-256 | f0bbe687c0eda01ce68b5ae9afb7280fa988c8b84d8dad46937f8e7bb70acaaf |