Skip to main content

Empirical and classical linear predictors with agreement metrics

Project description

Aliyah

Aliyah is a Python package for predictive modeling using Maximum Agreement Linear Predictor (MALP) and Least Squares Linear Predictor (LSLP). It includes agreement metrics like Concordance Correlation Coefficient (CCC) and Pearson Correlation Coefficient (PCC), plus confidence intervals and mean squared error (MSE) for model evaluation.

Designed for data scientists, engineers, and consultants who need interpretable, statistically grounded predictions.


🚀 Features

  • ✅ Fit MALP and LSLP models
  • 📈 Predict new values with confidence intervals
  • 📊 Evaluate model agreement using CCC, PCC, and MSE
  • 🧠 Supports multivariate and univariate predictors
  • 🔍 Lightweight and dependency-friendly (NumPy + SciPy)

📦 Installation

pip install aliyah

Useage
from aliyah_predictor import LinearPredictors

# Sample data
X = [[1, 2], [2, 3], [3, 4]]
y = [2, 3, 5]

# Initialize predictor with MALP method
model = LinearPredictors(method="malp")

# Fit and predict
model.fit(X, y)
predictions = model.predict(X)

# Evaluate agreement
metrics = model.evaluate(y, predictions)
print(metrics)

Expected Output

{
    'CCC': 0.98,
    'PCC': 0.99,
    'MSE': 0.12
}

License
This project is licensed under the MIT License. See the LICENSE file for details.

Author
Created by Kevin Clarke For consulting, integration, or support, visit GitHub or reach out via email.

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

aliyah_predictor-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aliyah_predictor-0.1.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file aliyah_predictor-0.1.2.tar.gz.

File metadata

  • Download URL: aliyah_predictor-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for aliyah_predictor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7c1a4a9ca73f944176c2f9a2b9c29608abc7560b6f545627d4f97e2ac94099ff
MD5 0865c3580535dbffe3b770dd90539357
BLAKE2b-256 4169a8f1e4274139a9e36433a296d55ee13c398ba61cff3528bac32786472ad7

See more details on using hashes here.

File details

Details for the file aliyah_predictor-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aliyah_predictor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2ef7bcec7d190f3085fc840a07c3da859d4405c0ef2ecc8f9bb85f07137fb07
MD5 d22983d230322aad34b4b2b034bc40a2
BLAKE2b-256 41248d9304a32e32f93972f541bc526abf0925bff090c8ff6947248e845f15b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page