Regularized Composite ReLU-ReHU Loss Minimization with Linear Computation and Linear Convergence
Project description
ReHLine
ReHLine is designed to be a computationally efficient and practically useful software package for large-scale empirical risk minimization (ERM) problems.
- Documentation: https://rehline-python.readthedocs.io
- Project homepage: https://rehline.github.io
- GitHub repo: https://github.com/softmin/ReHLine-python
- PyPi: https://pypi.org/project/rehline
- Paper: NeurIPS | 2023
The ReHLine solver has four appealing "linear properties":
- It applies to any convex piecewise linear-quadratic loss function, including the hinge loss, the check loss, the Huber loss, etc.
- In addition, it supports linear equality and inequality constraints on the parameter vector.
- The optimization algorithm has a provable linear convergence rate.
- The per-iteration computational complexity is linear in the sample size.
⌛ Benchmark (powered by benchopt)
Some existing problems of recent interest in statistics and machine learning can be solved by ReHLine, and we provide reproducible benchmark code and results at the ReHLine-benchmark repository.
Problem | Results |
---|---|
FairSVM | Result |
ElasticQR | Result |
RidgeHuber | Result |
SVM | Result |
Smoothed SVM | Result |
🧾 Overview of Results
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
Built Distributions
File details
Details for the file rehline-0.0.4-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 111.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6d319ac3bfa76e4217abcc779d0892b7082f2a457f14de78bd477824c088e2e |
|
MD5 | ccb082feb67ac3204acebe46b18aa691 |
|
BLAKE2b-256 | 6e3441de1357f5541d8d62e2fb9ce5c9c534eba59ad6dc6e15abd93908e79845 |
File details
Details for the file rehline-0.0.4-cp312-cp312-win32.whl
.
File metadata
- Download URL: rehline-0.0.4-cp312-cp312-win32.whl
- Upload date:
- Size: 100.9 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea78db76ddb80ccf6bfa82731ae9ffbdea03c4ef5679b95d4441dc8c263f6a70 |
|
MD5 | bc7cecdfd6b99451831f574b3ff66d2f |
|
BLAKE2b-256 | 01afd1e312694609d54deeb3e8ae0c1a02599d81b785c04a9eb79b8a9a091579 |
File details
Details for the file rehline-0.0.4-cp312-cp312-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp312-cp312-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 668.7 kB
- Tags: CPython 3.12, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d06aacd934c3d2cfbeb25c01c17e48d75ad98417254edc9b19e43db5bdeb7bc |
|
MD5 | 68832269313a08544609b9bfd738965b |
|
BLAKE2b-256 | 9a10b667a781a870a7f6b8936054590ce8c9897d4fa3c402b4072b7da887a0c2 |
File details
Details for the file rehline-0.0.4-cp312-cp312-musllinux_1_1_i686.whl
.
File metadata
- Download URL: rehline-0.0.4-cp312-cp312-musllinux_1_1_i686.whl
- Upload date:
- Size: 722.5 kB
- Tags: CPython 3.12, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1585a33ea6942e54706d08753b81f6a36a151e62db675f8849eeabea2689d970 |
|
MD5 | c00645b366224462249f63644b77108d |
|
BLAKE2b-256 | b749f4afc63141fe2a9d8469974abd5ddf656aabc5b11949bdc668479f577603 |
File details
Details for the file rehline-0.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 151.5 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 657ff25d22d4801b5f2d79e33883a24a5f0b48705a4efa36362677bab8383a5c |
|
MD5 | cd10ec0e6ad3c156b015334ccdb3b9d5 |
|
BLAKE2b-256 | e78c471535f5082e572691f5a486ed89074036697ab5f29894dec12456b82527 |
File details
Details for the file rehline-0.0.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: rehline-0.0.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 161.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5df92b812c56276e4f8a4b4a6ea76859b8c0680ed0a2cb262397ace8519c1e0 |
|
MD5 | 2be57695b9573dd5b7b6d68c064a6dce |
|
BLAKE2b-256 | 85e519c109a3807895cbcd619079777037e78dc97ea3ba71d0d0d42e49117872 |
File details
Details for the file rehline-0.0.4-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 111.6 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd311719a49cc118df2f92c4d7eaa1b6cdc522f30c69cf5bb8d9536b2f780e2e |
|
MD5 | 20f13770c4c0e4223d35e179ee09dd1c |
|
BLAKE2b-256 | f05e158fb9d0757316e28511443f717351171a239143280da9f00ad8c3e72395 |
File details
Details for the file rehline-0.0.4-cp311-cp311-win32.whl
.
File metadata
- Download URL: rehline-0.0.4-cp311-cp311-win32.whl
- Upload date:
- Size: 102.2 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119bf9c0e37386fe73ad98c0dca3b8d948261af8465f6eddfb2109df5b3c1d78 |
|
MD5 | a6003af15d27bdc063ee8cf834bf58a7 |
|
BLAKE2b-256 | b2451b6abddee7d88bd1d986ee14692b9cee56b081e8f9211ab1253a089ddb74 |
File details
Details for the file rehline-0.0.4-cp311-cp311-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 669.5 kB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968470a25027467137acd36b2cd13549512de4ebd04a5b61fbcdd4a426ab4830 |
|
MD5 | caa6d3d067ce24a335fad095113f8427 |
|
BLAKE2b-256 | 3f3b0cc6a470cd929086620788ab2477d84150a0f5a487d60b11ede17b8d1d15 |
File details
Details for the file rehline-0.0.4-cp311-cp311-musllinux_1_1_i686.whl
.
File metadata
- Download URL: rehline-0.0.4-cp311-cp311-musllinux_1_1_i686.whl
- Upload date:
- Size: 723.0 kB
- Tags: CPython 3.11, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48bb92a0a5cac1c802cb2b41822cfc9fc5a6fd57734a10ffd2726099901852f1 |
|
MD5 | 2346609d77f72d8da7d3bfbdd1c995ec |
|
BLAKE2b-256 | 80071faa04e07859799bf1d0ee9fcb5e6d2d37ff1968781af72726a3d4057172 |
File details
Details for the file rehline-0.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 152.3 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c86c25712c265fcd842ab601f10ea5608933fb4e67d7b53da77e3a78e9c6d0 |
|
MD5 | 67b2a88b5485e0d92d7ebe7d1d554e2b |
|
BLAKE2b-256 | 7970fd124263e894000a6e6986d315d1c8f8cf03888878d1db2a85688d71389f |
File details
Details for the file rehline-0.0.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: rehline-0.0.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 162.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405fff820269802f2bd90dc397616ac6c0d04e3214a1d764caa7f126ca76e567 |
|
MD5 | 4727babde944947cc0bc99bb7754341a |
|
BLAKE2b-256 | a5e949827541c82d7801673a94d65d7119c4cf824465d45cd9f0df6f69ab1315 |
File details
Details for the file rehline-0.0.4-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 110.6 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af915f12b158342f928c19473bae536814994771cc1308cae4de7de9acb16b6c |
|
MD5 | 2d903d06d47b9f45d282aedafeb7c834 |
|
BLAKE2b-256 | 6bb8bef590ca4416e0859e5041a3ac5249b43b1d9bb5864ff196cb0fa6633ef6 |
File details
Details for the file rehline-0.0.4-cp310-cp310-win32.whl
.
File metadata
- Download URL: rehline-0.0.4-cp310-cp310-win32.whl
- Upload date:
- Size: 101.1 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d6d443eede4f67bd8198d7084d2c708b262ec55e4bdce6b871b336a8ca6118f |
|
MD5 | 4c68edb5db4ef1250ecc900a2e188fa4 |
|
BLAKE2b-256 | dfeb40d6c124d0245c8fa6fd7f55a1733f81073b6ca28c6f5c6797ad6aa2b38e |
File details
Details for the file rehline-0.0.4-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 668.6 kB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dded25c7d0f19026dc502037a4ff914b9001071a187c92244de561aaa0b7bfe7 |
|
MD5 | 816ba9652bc6577c477f843cc396fa0f |
|
BLAKE2b-256 | 1c3e66a70b47c00e71f1e258e11fa4755400635abb469d96446576ba579b4ae7 |
File details
Details for the file rehline-0.0.4-cp310-cp310-musllinux_1_1_i686.whl
.
File metadata
- Download URL: rehline-0.0.4-cp310-cp310-musllinux_1_1_i686.whl
- Upload date:
- Size: 721.6 kB
- Tags: CPython 3.10, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d29243ae309c3c5cc758453b2673720eb0c7a1dc6f3d418db61aaac7194a21 |
|
MD5 | 7430df7108ca6d2349b309056fdda813 |
|
BLAKE2b-256 | a21da6a116bad4fd6644024bd25a1c2cdc7415a433932dcb20894b0925cd6961 |
File details
Details for the file rehline-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rehline-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 151.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c6faf7de8b0d0b3c72be6f42afa5144093f506f9511e875941a2c7d4490520 |
|
MD5 | cee4d089c98a5f18e25da72d15cad94e |
|
BLAKE2b-256 | 4506493c9e95e80c60a37b566ee0d52c095defc3f91ef9bd93f347cd81c0faad |
File details
Details for the file rehline-0.0.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: rehline-0.0.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 161.3 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed0443ac94a027659422685353500d300aa724b88aa54018e9dfa95cf2c7d5a1 |
|
MD5 | 7bfbb578d476c422d1c16ea030d4f5ad |
|
BLAKE2b-256 | 77ceb6d66d415809cef4d6e359962a30d38a39486556e811295807e239fb7256 |