CATALOG // 55 .APR MODELS

Reproducible .apr Models

55 live reproducible .apr models across 7 algorithmic families executing deterministic APR1 inference in Rust+WASM. Every model ships with a SHA-256-verified binary blob, architecture poster, Presentation MathML equation, falsifiable numerical contract, and one-line apr CLI invocation.

Linear & Generalized Models

Expand 10 Linear & Generalized Models models
Ordinary Least Squares (OLS) architecture diagram
APR-LIN-001apr-v2-f32

Ordinary Least Squares (OLS)

Closed-form QR/Cholesky ordinary least squares regressor with deterministic IEEE-754 residuals and zero-allocation SIMD dot products.

Ridge (L2) Regression architecture diagram
APR-LIN-002apr-v2-f32

Ridge (L2) Regression

Tikhonov-regularized linear regressor stabilizing collinear features via strictly convex L2 weight shrinkage.

Lasso (L1) Sparse Regression architecture diagram
APR-LIN-003apr-v2-f32

Lasso (L1) Sparse Regression

Coordinate-descent L1-penalized regressor performing automatic feature selection via soft-thresholding.

ElasticNet Regression architecture diagram
APR-LIN-004apr-v2-f32

ElasticNet Regression

Combined L1+L2 regularized linear model preserving correlated feature groups while enforcing sparsity.

Logistic Binary Classifier architecture diagram
APR-LIN-005apr-v2-f32

Logistic Binary Classifier

L-BFGS binary logistic classifier with calibrated sigmoid probabilities and log-loss convergence guarantee.

Multinomial Softmax Classifier architecture diagram
APR-LIN-006apr-v2-f32

Multinomial Softmax Classifier

Numerically stable log-sum-exp multinomial classifier for multi-class tabular and embedding inputs.

Poisson Count GLM architecture diagram
APR-LIN-007apr-v2-f32

Poisson Count GLM

Log-link generalized linear model for non-negative event counts, arrival rates, and telemetry frequencies.

Quantile (Pinball) Regression architecture diagram
APR-LIN-008apr-v2-f32

Quantile (Pinball) Regression

Asymmetric pinball-loss regressor estimating conditional p50/p95/p99 latency and SLA prediction intervals.

Huber Robust Regressor architecture diagram
APR-LIN-009apr-v2-f32

Huber Robust Regressor

M-estimator transitioning smoothly from quadratic to linear loss beyond threshold delta to resist sensor outliers.

RANSAC Consensus Regressor architecture diagram
APR-LIN-010apr-v2-f32

RANSAC Consensus Regressor

Deterministic seeded Random Sample Consensus estimator recovering clean linear trends under up to 40% gross outliers.

Trees & Ensembles

Expand 8 Trees & Ensembles models
CART Decision Tree architecture diagram
APR-TRE-001apr-v2-f32

CART Decision Tree

Axis-aligned Gini/MSE binary decision tree stored in cache-friendly flat Euler-tour array layout.

Random Forest Ensemble architecture diagram
APR-TRE-002apr-v2-f32

Random Forest Ensemble

Bagged ensemble of decorrelated CART trees with deterministic ChaCha20 feature subsampling and OOB error tracking.

Extremely Randomized Trees architecture diagram
APR-TRE-003apr-v2-f32

Extremely Randomized Trees

Variance-reduced ensemble drawing random split thresholds per candidate feature for fast training and smooth boundaries.

Gradient Boosted Trees (GBDT) architecture diagram
APR-TRE-004apr-v2-f32

Gradient Boosted Trees (GBDT)

Stagewise functional gradient descent over shallow regression trees with shrinkage learning rate and early stopping.

Histogram Gradient Boosting architecture diagram
APR-TRE-005apr-v2-q8

Histogram Gradient Boosting

LightGBM-style 256-bin histogram tree booster using leaf-wise second-order Newton gain splits.

AdaBoost SAMME Classifier architecture diagram
APR-TRE-006apr-v2-f32

AdaBoost SAMME Classifier

Exponential-loss adaptive booster reweighting misclassified observations across depth-1 decision stumps.

Isolation Forest Anomaly Detector architecture diagram
APR-TRE-007apr-v2-f32

Isolation Forest Anomaly Detector

Unsupervised anomaly scorer isolating rare performance regressions and telemetry spikes via short random path lengths.

Quantile Regression Forest architecture diagram
APR-TRE-008apr-v2-f32

Quantile Regression Forest

Non-parametric conditional distribution estimator returning full empirical quantiles from weighted leaf populations.

Clustering & Manifold

Expand 10 Clustering & Manifold models
K-Means (Lloyd's Algorithm) architecture diagram
APR-CLU-001apr-v2-f32

K-Means (Lloyd's Algorithm)

SIMD-accelerated Euclidean vector quantizer minimizing within-cluster sum of squares with deterministic convergence.

K-Means++ D2-Seeded architecture diagram
APR-CLU-002apr-v2-f32

K-Means++ D2-Seeded

D^2-weighted centroid initializer guaranteeing O(log k) expected approximation ratio before Lloyd refinement.

DBSCAN Density Clustering architecture diagram
APR-CLU-003apr-v2-f32

DBSCAN Density Clustering

Density-based spatial clusterer discovering arbitrary non-convex manifolds and labeling sparse noise points (-1).

HDBSCAN Hierarchical Density architecture diagram
APR-CLU-004apr-v2-f32

HDBSCAN Hierarchical Density

Mutual-reachability minimum spanning tree clusterer extracting variable-density clusters via excess-of-mass stability.

Gaussian Mixture Model (EM) architecture diagram
APR-CLU-006apr-v2-f32

Gaussian Mixture Model (EM)

Soft probabilistic mixture model fitted via Expectation-Maximization with diagonal covariance jitter.

Normalized Spectral Clustering architecture diagram
APR-CLU-007apr-v2-f32

Normalized Spectral Clustering

Graph-Laplacian eigenvector embedding followed by K-Means for non-linearly separable affinity graphs.

Principal Component Analysis (PCA) architecture diagram
APR-CLU-008apr-v2-f32

Principal Component Analysis (PCA)

Orthonormal variance-maximizing linear projection computed via deterministic thin SVD with explained-variance ratios.

Randomized Truncated SVD architecture diagram
APR-CLU-009apr-v2-f32

Randomized Truncated SVD

Halko-Martinsson-Tropp randomized subspace SVD for sparse TF-IDF and collaborative filtering matrices.

UMAP Fuzzy Simplicial Manifold architecture diagram
APR-CLU-010apr-v2-f32

UMAP Fuzzy Simplicial Manifold

Riemannian fuzzy simplicial set embedding preserving both local neighborhoods and global manifold topology.

Neural & Transformer

Expand 9 Neural & Transformer models
Multi-Layer Perceptron (MLP) architecture diagram
APR-NEU-001apr-v2-f32

Multi-Layer Perceptron (MLP)

Three-layer GELU feed-forward classifier with LayerNorm and SIMD-fused matrix-vector multiply.

ConvNet Digit Classifier (MNIST) architecture diagram
APR-NEU-002apr-v2-f32

ConvNet Digit Classifier (MNIST)

Compact 2D convolutional network with im2col GEMM lowering achieving 99.2% test accuracy on 28x28 grayscale digits.

Tiny Decoder Transformer architecture diagram
APR-NEU-003apr-v2-f32

Tiny Decoder Transformer

4-layer RoPE causal transformer with RMSNorm, SwiGLU MLP, and pre-allocated KV cache for deterministic greedy decoding.

LoRA Low-Rank Adapter architecture diagram
APR-NEU-004apr-v2-f16

LoRA Low-Rank Adapter

Rank-16 low-rank delta weights (A, B) merged cleanly onto frozen Sovereign Stack base models in .apr v2.

Qwen2.5-Coder 1.5B (Q4_K) architecture diagram
APR-NEU-005apr-v2-q4k

Qwen2.5-Coder 1.5B (Q4_K)

4-bit K-quantized code generation transformer running natively on trueno SIMD/CUDA kernels with zero Python runtime.

Llama-3.2 1B Instruct (Q8_0) architecture diagram
APR-NEU-006apr-v2-q8_0

Llama-3.2 1B Instruct (Q8_0)

Symmetric 8-bit block-quantized instruction model packaged as a single memory-mapped .apr v2 file with SHA-256 manifest.

Whisper Tiny Speech-to-Text architecture diagram
APR-NEU-007apr-v2-f16

Whisper Tiny Speech-to-Text

Pure-Rust encoder-decoder ASR model consuming 80-bin log-Mel spectrograms with zero FFmpeg or Python dependencies.

Byte-Level BPE Tokenizer architecture diagram
APR-NEU-008apr-v2-vocab

Byte-Level BPE Tokenizer

Deterministic UTF-8 byte-pair encoder/decoder compiled into an immutable .apr vocabulary table with O(n log n) merge heap.

Dense Semantic Embedder (384d) architecture diagram
APR-NEU-009apr-v2-f16

Dense Semantic Embedder (384d)

Mean-pooled bidirectional transformer encoder producing unit-normalized 384-dimensional vectors for local RAG retrieval.

Time Series & Signal

Expand 6 Time Series & Signal models
ARIMA(p,d,q) Forecaster architecture diagram
APR-TSR-001apr-v2-f32

ARIMA(p,d,q) Forecaster

State-space autoregressive integrated moving average model producing multi-step point forecasts and analytic variance bands.

Holt-Winters Exponential Smoothing architecture diagram
APR-TSR-002apr-v2-f32

Holt-Winters Exponential Smoothing

Triple exponential smoothing (ETS) tracking level, linear trend, and seasonal periodicity in O(1) memory per update.

Linear Kalman State Estimator architecture diagram
APR-TSR-003apr-v2-f32

Linear Kalman State Estimator

Joseph-form stabilized discrete Kalman filter fusing noisy sensor observations with linear physical state transitions.

Radix-2 FFT Spectral Analyzer architecture diagram
APR-TSR-004apr-v2-f32

Radix-2 FFT Spectral Analyzer

Cooley-Tukey radix-2 Fast Fourier Transform computing power spectral density with Hann windowing.

1/f^2 Brown Noise Generator architecture diagram
APR-TSR-005apr-v2-f32

1/f^2 Brown Noise Generator

Deterministic seeded Wiener-process audio synthesizer with -6 dB/octave power spectral roll-off and DC blocker.

Daubechies-4 Wavelet Denoiser architecture diagram
APR-TSR-006apr-v2-f32

Daubechies-4 Wavelet Denoiser

Multi-resolution discrete wavelet transform with VisuShrink soft thresholding for non-stationary signal denoising.

Probabilistic & Bayesian

Expand 6 Probabilistic & Bayesian models
Gaussian Naive Bayes architecture diagram
APR-BAY-001apr-v2-f32

Gaussian Naive Bayes

Closed-form generative classifier computing log-likelihood ratios under conditionally independent Gaussian features.

Gaussian Process Regressor (RBF) architecture diagram
APR-BAY-002apr-v2-f32

Gaussian Process Regressor (RBF)

Non-parametric kernel Bayesian regressor returning closed-form posterior predictive mean and epistemic uncertainty.

Beta-Bernoulli Thompson Sampling architecture diagram
APR-BAY-003apr-v2-f32

Beta-Bernoulli Thompson Sampling

Conjugate Bayesian multi-armed bandit balancing exploration and exploitation via posterior probability matching.

UCB1 Confidence-Bound Bandit architecture diagram
APR-BAY-004apr-v2-f32

UCB1 Confidence-Bound Bandit

Deterministic upper-confidence-bound arm selector achieving logarithmic finite-time regret without random sampling.

Hidden Markov Model (Viterbi) architecture diagram
APR-BAY-005apr-v2-f32

Hidden Markov Model (Viterbi)

Log-space Viterbi dynamic programming decoder recovering the exact maximum-a-posteriori latent state path.

Metropolis-Hastings MCMC Sampler architecture diagram
APR-BAY-006apr-v2-f32

Metropolis-Hastings MCMC Sampler

Seeded random-walk Metropolis-Hastings Markov chain sampler with Gelman-Rubin R-hat convergence diagnostics.

NLP & Shell ML

Expand 6 NLP & Shell ML models
Sentiment Classifier (.apr) architecture diagram
APR-NLP-001apr-v2-f32

Sentiment Classifier (.apr)

Sub-millisecond Rust linear-bag-of-ngrams sentiment classifier with calibrated polarity scores and zero external tokenizer.

TF-IDF Cosine Search Index architecture diagram
APR-NLP-002apr-v2-sparse

TF-IDF Cosine Search Index

Sublinear TF-IDF sparse vector retriever stored in compressed sparse row format inside a single .apr artifact.

Okapi BM25 Lexical Ranker architecture diagram
APR-NLP-003apr-v2-sparse

Okapi BM25 Lexical Ranker

Probabilistic Okapi BM25 retrieval engine with saturating term frequency and document-length normalization.

Shell Command Markov Predictor architecture diagram
APR-NLP-004apr-v2-trie

Shell Command Markov Predictor

Privacy-preserving local shell autocomplete model ranking next CLI subcommands from bounded-memory prefix tries.

Linear-Chain CRF NER Tagger architecture diagram
APR-NLP-005apr-v2-f32

Linear-Chain CRF NER Tagger

BIO-encoded Conditional Random Field named-entity tagger extracting organizations, symbols, and versions from technical text.