Open Multivariate Adaptive Regression
Project description
omar
omar (Open Multivariate Adaptive Regression) is a Python package for discovering localised, linear structure in complex, high-dimensional datasets. It implements a modernized version of the Multivariate Adaptive Regression Splines (MARS) algorithm with improved numerical efficiency, based on modern rank-one update strategies and optional Fortran acceleration.
Installation
From PyPI
pip install omar
From Source
See the Getting Started wiki page.
Quick Example
import numpy as np
from omar import OMAR
np.random.seed(0)
x = np.random.normal(2, 1, size=(1000, 3))
noise = np.random.normal(size=1000)
y = ((x[:, 0] + np.maximum(0, (x[:, 0] - 1)) +
np.maximum(0, (x[:, 0] - 1)) * x[:, 1] +
np.maximum(0, (x[:, 0] - 1)) * np.maximum(0, (x[:, 1] - 0.8))) +
0.12 * noise)
model = OMAR(max_nbases=11)
model.find_bases(X, y)
print(model)
Documentation
Visit omar wiki
Contributing
We welcome contributions! See Contributing for code guidelines, tests, and CI workflow.
License
This project is licensed under the MIT License. See LICENSE.txt.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omar-1.0.tar.gz.
File metadata
- Download URL: omar-1.0.tar.gz
- Upload date:
- Size: 286.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ea416890a53c7c841f6c4040fb3eee1a86d061b40e6fa862fb451dda885ff2b
|
|
| MD5 |
d5553d146af3bc938cc2ee7065c4275f
|
|
| BLAKE2b-256 |
887fdc890d2d735666c0f4677b7538164431ee07ffa74ca67f4c0d28ca59131f
|
Provenance
The following attestation bundles were made for omar-1.0.tar.gz:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0.tar.gz -
Subject digest:
4ea416890a53c7c841f6c4040fb3eee1a86d061b40e6fa862fb451dda885ff2b - Sigstore transparency entry: 747186110
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: omar-1.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 16.9 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39058d31c07fce013aa2cfde56249b5b9f1f3117a41d24ff10499e7f13ea8d49
|
|
| MD5 |
d6bc746343bff42a83d221b497c42fcd
|
|
| BLAKE2b-256 |
c3f71d22bf23c9ede53e7b40bc5b186651e3d79be2593e928666a73c17320ad0
|
Provenance
The following attestation bundles were made for omar-1.0-cp313-cp313-win_amd64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp313-cp313-win_amd64.whl -
Subject digest:
39058d31c07fce013aa2cfde56249b5b9f1f3117a41d24ff10499e7f13ea8d49 - Sigstore transparency entry: 747186117
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: omar-1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d8dcd8e1617098712397ea5f4e868b23dd8499e3e574f3638b42cc5760d035
|
|
| MD5 |
9464ba02065f521fa676e846a545b454
|
|
| BLAKE2b-256 |
6767a56242a1b9d159399b638f06f7f783a4d582799e5a077598dd6b4cae5fd0
|
Provenance
The following attestation bundles were made for omar-1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
69d8dcd8e1617098712397ea5f4e868b23dd8499e3e574f3638b42cc5760d035 - Sigstore transparency entry: 747186113
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp313-cp313-macosx_14_0_arm64.whl.
File metadata
- Download URL: omar-1.0-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 866.0 kB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72f0fc7514a2b0b0eeb88a099855baf2c7bf74031dbea76cb2b21ef687c8e1d6
|
|
| MD5 |
d41057f232a6d7a82c1c6edddd43767c
|
|
| BLAKE2b-256 |
ac799a4ff1aed8ca3184efcdb2fd46b87d4df7a9fbb0d849f0bab5ee2ce2eff1
|
Provenance
The following attestation bundles were made for omar-1.0-cp313-cp313-macosx_14_0_arm64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp313-cp313-macosx_14_0_arm64.whl -
Subject digest:
72f0fc7514a2b0b0eeb88a099855baf2c7bf74031dbea76cb2b21ef687c8e1d6 - Sigstore transparency entry: 747186111
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp313-cp313-macosx_13_0_x86_64.whl.
File metadata
- Download URL: omar-1.0-cp313-cp313-macosx_13_0_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.13, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ff3044db1db009587d42a5bc29db3c7eec7a99fe8951804cfb4699eb55c1511
|
|
| MD5 |
da18afd5b3a4041647b9897de8d41006
|
|
| BLAKE2b-256 |
57bc4c8598e7dd9a860810584bd73c9fde1c05f81ebdfb16faff9d4d78768bf4
|
Provenance
The following attestation bundles were made for omar-1.0-cp313-cp313-macosx_13_0_x86_64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp313-cp313-macosx_13_0_x86_64.whl -
Subject digest:
0ff3044db1db009587d42a5bc29db3c7eec7a99fe8951804cfb4699eb55c1511 - Sigstore transparency entry: 747186123
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: omar-1.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 16.9 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54bb6f0b10575cdf97c1c63bd1dace44074bf9718315dde5371c65b420968366
|
|
| MD5 |
81951de77816658fa7e7f81dd075aeed
|
|
| BLAKE2b-256 |
a9f9e30220b5f9ffc6fc00c479de0f1229193e82477a9848b07ee7a97659b729
|
Provenance
The following attestation bundles were made for omar-1.0-cp312-cp312-win_amd64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp312-cp312-win_amd64.whl -
Subject digest:
54bb6f0b10575cdf97c1c63bd1dace44074bf9718315dde5371c65b420968366 - Sigstore transparency entry: 747186115
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: omar-1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b633f0a50fc63f5f1a37af3c7a9c58c89d3672cd2cab35ca26f8de866071fcbf
|
|
| MD5 |
f090745a0ef3ba42174c9f91f7709057
|
|
| BLAKE2b-256 |
8f55f51ec9d553e2a748518ce7a898b19404507f5164f2dfff7d010b808e48f6
|
Provenance
The following attestation bundles were made for omar-1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
b633f0a50fc63f5f1a37af3c7a9c58c89d3672cd2cab35ca26f8de866071fcbf - Sigstore transparency entry: 747186121
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: omar-1.0-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 866.0 kB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dc540f73765536bbc1bc70f88b4183fab078c79333dd0399851af4242d640f3
|
|
| MD5 |
72ff03fc4f9044e8f007bf3238bb173c
|
|
| BLAKE2b-256 |
75e04a7fc6582d58ebd3e2da8b78582bf22d8823e00754fb669270ed41517d41
|
Provenance
The following attestation bundles were made for omar-1.0-cp312-cp312-macosx_14_0_arm64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp312-cp312-macosx_14_0_arm64.whl -
Subject digest:
3dc540f73765536bbc1bc70f88b4183fab078c79333dd0399851af4242d640f3 - Sigstore transparency entry: 747186120
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omar-1.0-cp312-cp312-macosx_13_0_x86_64.whl.
File metadata
- Download URL: omar-1.0-cp312-cp312-macosx_13_0_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
853922b77552012b39187af068a44ca40bd5d43935fce6fb6df3bedada8263ed
|
|
| MD5 |
c1f22982e049a47b5e57040b8eb9e1e7
|
|
| BLAKE2b-256 |
aaae0cc9a53c051ac1a1cff176efb4885ebd4c7eeba22286507e78e5aaab8eab
|
Provenance
The following attestation bundles were made for omar-1.0-cp312-cp312-macosx_13_0_x86_64.whl:
Publisher:
build_wheels.yml on Helge-Stein-Group/omar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omar-1.0-cp312-cp312-macosx_13_0_x86_64.whl -
Subject digest:
853922b77552012b39187af068a44ca40bd5d43935fce6fb6df3bedada8263ed - Sigstore transparency entry: 747186114
- Sigstore integration time:
-
Permalink:
Helge-Stein-Group/omar@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Helge-Stein-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@436ed7c3405c34061901b5b3ed2bfbae52cc28d8 -
Trigger Event:
push
-
Statement type: