# OchreML - [ochreml](/docs/core/llms-full.txt): Classical ML & Core - **Introduction** - [Getting Started](/docs/core.md): Install OchreML and train your first hardware-accelerated Classical ML model in seconds. - How-To Guides - [1-Line Scikit-Learn Migration](/docs/core/guides/sklearn-migration.md): Migrate existing scikit-learn pipelines and estimators to OchreML with minimal import changes. - [Hardware Acceleration](/docs/core/guides/hardware-acceleration.md): Run OchreML across Rayon CPU, NVIDIA CUDA / Multi-GPU (cuda:all), cross-platform wgpu, and Google Cloud TPU (PJRT). - [Out-of-Core Streaming](/docs/core/guides/streaming.md): Train on datasets larger than RAM (up to 100M+ rows) in constant memory using partial_fit. - **Estimators (63)** - Linear, GLM & Linear SVM - [LinearRegression](/docs/core/linear-models/linear-regression.md): Ordinary Least Squares (OLS) linear regression supporting single-output, multi-output, and weighted fitting across CPU, CUDA, wgpu, and TPU. - [Ridge](/docs/core/linear-models/ridge.md): Linear least squares with L2 (Tikhonov) regularization for stable regression on collinear or high-dimensional features. - [RidgeClassifier](/docs/core/linear-models/ridge-classifier.md): Fast closed-form linear classifier using Ridge regression on {-1, +1} encoded class targets. - [RidgeCV](/docs/core/linear-models/ridge-cv.md): Ridge regression with built-in cross-validation to automatically select the optimal L2 regularization strength alpha. - [LogisticRegression](/docs/core/linear-models/logistic-regression.md): L2-regularized binary and multinomial logistic regression trained with hardware-accelerated L-BFGS. - [Lasso](/docs/core/linear-models/lasso.md): Sparse L1-regularized linear regression trained via coordinate descent for automatic feature selection. - [ElasticNet](/docs/core/linear-models/elastic-net.md): Linear regression combining L1 (Lasso) and L2 (Ridge) regularization via coordinate descent. - [SGDClassifier](/docs/core/linear-models/sgd-classifier.md): Linear classifiers (SVM, logistic regression, modified Huber) trained with Stochastic Gradient Descent. - [SGDRegressor](/docs/core/linear-models/sgd-regressor.md): Linear regression fitted by minimizing regularized empirical loss with Stochastic Gradient Descent. - [HuberRegressor](/docs/core/linear-models/huber-regressor.md): Outlier-robust L2-regularized linear regression jointly optimizing weights, intercept, and scale via L-BFGS. - [QuantileRegressor](/docs/core/linear-models/quantile-regressor.md): L1-regularized linear regression predicting conditional quantiles by minimizing pinball loss. - [PoissonRegressor](/docs/core/linear-models/poisson-regressor.md): Generalized Linear Model with a Poisson distribution and log link for non-negative count and rate regression. - [GammaRegressor](/docs/core/linear-models/gamma-regressor.md): Generalized Linear Model with a Gamma distribution and log link for strictly positive, right-skewed continuous targets. - [TweedieRegressor](/docs/core/linear-models/tweedie-regressor.md): Generalized Linear Model with a flexible Tweedie power variance family (Normal, Poisson, Compound Poisson-Gamma, Gamma, Inverse Gaussian). - [LinearSVC](/docs/core/linear-models/linear-svc.md): Linear Support Vector Classification using liblinear-style dual coordinate descent and primal L-BFGS / coordinate descent. - [LinearSVR](/docs/core/linear-models/linear-svr.md): Linear Support Vector Regression with epsilon-insensitive or squared epsilon-insensitive loss via dual coordinate descent and primal L-BFGS. - Decomposition & Manifold - [PCA](/docs/core/decomposition-manifold/pca.md): Principal Component Analysis for linear dimensionality reduction with optional whitening and variance-ratio component selection. - [TruncatedSVD](/docs/core/decomposition-manifold/truncated-svd.md): Linear dimensionality reduction using truncated Singular Value Decomposition (LSA) without centering input data. - [KernelPCA](/docs/core/decomposition-manifold/kernel-pca.md): Nonlinear dimensionality reduction using kernel Gram matrices and double-centered eigendecomposition. - [LinearDiscriminantAnalysis](/docs/core/decomposition-manifold/lda.md): Supervised linear classifier and dimensionality reducer maximizing between-class to within-class variance separation. - [QuadraticDiscriminantAnalysis](/docs/core/decomposition-manifold/qda.md): Generative Bayesian classifier with per-class covariance matrices producing quadratic decision boundaries. - [NMF](/docs/core/decomposition-manifold/nmf.md): Non-Negative Matrix Factorization via Multiplicative Updates with optional L1 and L2 regularization. - [CCA](/docs/core/decomposition-manifold/cca.md): Canonical Correlation Analysis using NIPALS Mode B to find maximally correlated projections between two feature views. - [PLSRegression](/docs/core/decomposition-manifold/pls-regression.md): Partial Least Squares regression via NIPALS for single-target and multi-target collinear feature matrices. - [TSNE](/docs/core/decomposition-manifold/tsne.md): t-Distributed Stochastic Neighbor Embedding for nonlinear manifold visualization with exact gradient descent. - [MDS](/docs/core/decomposition-manifold/mds.md): Metric and non-metric Multidimensional Scaling via SMACOF majorization to preserve pairwise dissimilarities. - Clustering, Neighbors & NB - [KMeans](/docs/core/clustering-neighbors/kmeans.md): Centroid-based K-Means clustering with k-means++ initialization and hardware-accelerated pairwise distance primitives. - [MiniBatchKMeans](/docs/core/clustering-neighbors/minibatch-kmeans.md): Streaming and mini-batch K-Means clustering with online SGD center updates and partial_fit support. - [GaussianMixture](/docs/core/clustering-neighbors/gaussian-mixture.md): Probabilistic Gaussian Mixture Model estimated via Expectation-Maximization with Cholesky precision factors. - [DBSCAN](/docs/core/clustering-neighbors/dbscan.md): Density-Based Spatial Clustering of Applications with Noise backed by chunked pairwise distance primitives. - [OPTICS](/docs/core/clustering-neighbors/optics.md): Ordering Points To Identify the Clustering Structure for variable-density clustering with xi reachability extraction. - [SpectralClustering](/docs/core/clustering-neighbors/spectral-clustering.md): Graph Laplacian spectral clustering with RBF or nearest-neighbors affinity and K-Means embedding assignment. - [AgglomerativeClustering](/docs/core/clustering-neighbors/agglomerative-clustering.md): Hierarchical bottom-up agglomerative clustering using Lance-Williams linkage updates and pairwise distance primitives. - [LocalOutlierFactor](/docs/core/clustering-neighbors/local-outlier-factor.md): Unsupervised outlier and novelty detection using local density deviation (LOF). - [KNeighborsClassifier](/docs/core/clustering-neighbors/kneighbors-classifier.md): Non-parametric k-nearest neighbors classifier with uniform or distance-weighted voting and hardware-accelerated neighbor search. - [KNeighborsRegressor](/docs/core/clustering-neighbors/kneighbors-regressor.md): Non-parametric k-nearest neighbors regressor supporting 1D and multi-output 2D targets with uniform or distance weighting. - [RadiusNeighborsClassifier](/docs/core/clustering-neighbors/radius-neighbors-classifier.md): Radius-based nearest neighbors classifier with configurable outlier handling and hardware-accelerated distance queries. - [RadiusNeighborsRegressor](/docs/core/clustering-neighbors/radius-neighbors-regressor.md): Radius-based nearest neighbors regressor supporting 1D and multi-output 2D targets with uniform or distance weighting. - [GaussianNB](/docs/core/clustering-neighbors/gaussian-nb.md): Gaussian Naive Bayes classifier for continuous features with sample weights and online partial_fit updates. - [MultinomialNB](/docs/core/clustering-neighbors/multinomial-nb.md): Multinomial Naive Bayes classifier for non-negative count and TF-IDF features with Laplace/Lidstone smoothing and partial_fit. - [BernoulliNB](/docs/core/clustering-neighbors/bernoulli-nb.md): Multivariate Bernoulli Naive Bayes classifier for binary or threshold-binarized features with partial_fit support. - [ComplementNB](/docs/core/clustering-neighbors/complement-nb.md): Complement Naive Bayes classifier tailored for imbalanced non-negative count datasets with optional weight normalization and partial_fit. - Trees, Ensembles & Boosting - [DecisionTreeClassifier](/docs/core/trees-ensembles/decision-tree-classifier.md): CART classification tree with Gini impurity and entropy criteria backed by Rust Rayon and N6 GPU histogram acceleration. - [DecisionTreeRegressor](/docs/core/trees-ensembles/decision-tree-regressor.md): CART regression tree minimizing Mean Squared Error backed by Rust Rayon and N6 GPU histogram acceleration. - [RandomForestClassifier](/docs/core/trees-ensembles/random-forest-classifier.md): Parallel bagged decision tree classifier with bootstrap sampling, feature subsampling, and Rayon/N6 acceleration. - [RandomForestRegressor](/docs/core/trees-ensembles/random-forest-regressor.md): Parallel bagged regression tree ensemble with N6 GPU histogram acceleration on CUDA/wgpu and Rayon parallelism on CPU/TPU. - [ExtraTreesClassifier](/docs/core/trees-ensembles/extra-trees-classifier.md): Extremely randomized decision tree classifier with random split thresholds, Rayon parallelism, and N6 GPU support. - [ExtraTreesRegressor](/docs/core/trees-ensembles/extra-trees-regressor.md): Extremely randomized regression tree ensemble with random split thresholds, Rayon parallelism, and N6 GPU support. - [GradientBoostingClassifier](/docs/core/trees-ensembles/gradient-boosting-classifier.md): Stagewise gradient boosted decision trees for binary and multiclass classification with log-loss optimization. - [GradientBoostingRegressor](/docs/core/trees-ensembles/gradient-boosting-regressor.md): Stagewise gradient boosted regression trees supporting squared_error, absolute_error, and Huber losses with staged_predict. - [HistGradientBoostingClassifier](/docs/core/trees-ensembles/hist-gradient-boosting-classifier.md): LightGBM-style histogram-based gradient boosted classifier accelerated by OchreML's N6 GPU/CPU histogram primitives. - [HistGradientBoostingRegressor](/docs/core/trees-ensembles/hist-gradient-boosting-regressor.md): LightGBM-style histogram-based gradient boosted regressor accelerated by OchreML's N6 GPU/CPU histogram primitives. - [AdaBoostClassifier](/docs/core/trees-ensembles/adaboost-classifier.md): Adaptive Boosting classifier using SAMME weighted decision trees backed by Rust Rayon. - [AdaBoostRegressor](/docs/core/trees-ensembles/adaboost-regressor.md): AdaBoost.R2 regression ensemble with weighted median prediction and configurable loss functions backed by Rust Rayon. - [IsolationForest](/docs/core/trees-ensembles/isolation-forest.md): Unsupervised tree-based anomaly detection (Liu et al., 2008) backed by Rust Rayon parallelism. - Kernel, MLP & Gaussian Process - [SVC](/docs/core/kernel-neural-gp/svc.md): C-Support Vector Classification with LIBSVM-style WSS3 SMO, One-vs-One multiclass decomposition, and optional Platt scaling. - [SVR](/docs/core/kernel-neural-gp/svr.md): Epsilon-Support Vector Regression using 2N LIBSVM-style dual SMO and hardware-accelerated kernel Gram matrices. - [OneClassSVM](/docs/core/kernel-neural-gp/one-class-svm.md): Unsupervised outlier and novelty detection using Scholkopf One-Class SVM with dual SMO. - [KernelRidge](/docs/core/kernel-neural-gp/kernel-ridge.md): Kernel Ridge Regression combining L2-regularized least squares with the kernel trick and closed-form dual solving. - [MLPClassifier](/docs/core/kernel-neural-gp/mlp-classifier.md): Multi-layer Perceptron classifier optimizing log-loss with Adam, SGD, or L-BFGS and incremental partial_fit support. - [MLPRegressor](/docs/core/kernel-neural-gp/mlp-regressor.md): Multi-layer Perceptron regressor optimizing squared error with Adam, SGD, or L-BFGS and incremental partial_fit support. - [GaussianProcessRegressor](/docs/core/kernel-neural-gp/gaussian-process-regressor.md): Bayesian Gaussian Process regression with Cholesky factorization, predictive uncertainty, and Nelder-Mead LML optimization. - [GaussianProcessClassifier](/docs/core/kernel-neural-gp/gaussian-process-classifier.md): Bayesian Gaussian Process classification using Laplace approximation for binary tasks and One-vs-Rest for multiclass tasks. - **Utilities & Internals** - Utilities & Preprocessing - [Scalers & Normalizers](/docs/core/utilities/scalers.md): Hardware-accelerated feature scaling and sample normalization in ochreml.preprocessing (StandardScaler, MinMaxScaler, MaxAbsScaler, RobustScaler, Normalizer). - [Categorical & Target Encoders](/docs/core/utilities/encoders.md): Rust-accelerated categorical feature and target label encoders in ochreml.preprocessing (OneHotEncoder, OrdinalEncoder, TargetEncoder, LabelEncoder, LabelBinarizer, MultiLabelBinarizer). - [Non-Linear, Feature & Kernel Transformers](/docs/core/utilities/transformers.md): Distribution transforms, discretization, polynomial/spline basis expansion, kernel centering, and Random Fourier Features in ochreml.preprocessing and ochreml.kernel_approximation. - [Missing Value Imputers](/docs/core/utilities/imputers.md): Univariate, k-NN, iterative MICE imputation, and missingness indicators in ochreml.impute (SimpleImputer, MissingIndicator, KNNImputer, IterativeImputer). - [Feature & Text Extraction](/docs/core/utilities/text-extraction.md): Rust-backed dictionary vectorization, MurmurHash3 feature hashing, and text tokenization/TF-IDF extraction in ochreml.feature_extraction. - [Feature Selection](/docs/core/utilities/feature-selection.md): Rust-backed univariate statistical tests, variance filtering, and model-based feature selectors in ochreml.feature_selection. - [Model Selection & Cross-Validation](/docs/core/utilities/model-selection.md): Rust-backed dataset splitters, cross-validation scoring, and hyperparameter search in ochreml.model_selection. - [Pipelines, Composition & Meta-Estimators](/docs/core/utilities/pipelines-meta.md): Pipeline, ColumnTransformer, TransformedTargetRegressor, multiclass/multioutput wrappers, and bagging/voting/stacking meta-ensembles. - [Metrics Reference](/docs/core/utilities/metrics.md): All 20 Rust-backed regression, classification, and clustering metrics in ochreml.metrics. - Architecture & Benchmarks - [Architecture & Lazy Imports](/docs/core/explanation/architecture.md): How OchreML's Backend<'a> enum dispatch, E1-E5 and N1-N6 primitives, zero-copy PyBuffer, and PEP 562 lazy imports work. - [.dit Binary Format Specification](/docs/core/explanation/dit-format.md): Specification of OchreML's DIT\x01 binary serialization format, cross-device loading, and additive tag registry. - [Multi-Hardware Benchmarks](/docs/core/explanation/benchmarks.md): Real benchmark results for OchreML v0.3.7a1 vs. scikit-learn 1.6.1 on 4-core CPU and Dual-GPU CUDA environments. - [ochreml.nn](/docs/nn/llms-full.txt): Deep Learning in Rust - **Introduction** - [Your First Neural Network](/docs/nn.md): Train neural networks in Rust with ochreml.nn using zero-GIL Sequential.fit() or PyTorch-style nn.Module and loss.backward(). - How-To Guides - [CNNs and Residual Networks](/docs/nn/guides/cnn-resnet.md): Build 2D convolutional networks, depthwise separable blocks, and ResNets with Conv2d, DepthwiseConv2d, BatchNorm2d, MaxPool2d, and ResidualBlock. - [Sequence Models (RNN, GRU, LSTM)](/docs/nn/guides/sequence-models.md): Train multi-layer and bidirectional RNN, GRU, and LSTM networks with fused gate projections, BPTT, gradient clipping, and zero-GIL train_steps(). - [Transformers, CausalLM, and LoRA](/docs/nn/guides/transformer-lora.md): Build LLaMA-style CausalLM models with GQA, RoPE, and KV-Cache, compose custom Transformers, and fine-tune with LoRALinear and .dit persistence. - **Modules** - Core & Containers - [Tensor & Autograd](/docs/nn/core/tensor.md): Hardware-accelerated n-dimensional Tensor with Rust reverse-mode autograd, f32/bf16/f16 dtypes, and no_grad context control. - [Parameter](/docs/nn/core/parameter.md): Trainable Tensor subclass with requires_grad=True by default and automatic registration inside nn.Module. - [Module & ModuleList](/docs/nn/core/module.md): PyTorch-style base class for neural network layers and models, plus ModuleList for indexed submodule registration. - [Sequential](/docs/nn/core/sequential.md): Ordered neural network container with PyTorch-style forward(), zero-GIL Rust fit()/predict(), and .dit Tag 100 persistence. - Layers & Activations - [Linear](/docs/nn/layers/linear.md): Fully connected affine projection y = x @ W^T + b backed by Rust GEMM kernels. - [Conv2d](/docs/nn/layers/conv2d.md): 2D Convolution over NCHW tensors backed by N10 im2col/col2im and GEMM without cuDNN. - [DepthwiseConv2d](/docs/nn/layers/depthwise-conv2d.md): Direct depthwise 2D convolution over NCHW tensors without im2col matrix expansion overhead. - [Pooling Layers](/docs/nn/layers/pooling.md): 2D spatial downsampling with MaxPool2d, AvgPool2d, and GlobalAvgPool2d over NCHW tensors. - [BatchNorm2d](/docs/nn/layers/batchnorm2d.md): 2D Batch Normalization over NCHW feature maps with learnable affine parameters and running statistics. - [LayerNorm & RMSNorm](/docs/nn/layers/normalization.md): Row-wise Layer Normalization and Root Mean Square Normalization backed by N8 Rust kernels. - [Embedding](/docs/nn/layers/embedding.md): Lookup table mapping discrete integer token or categorical indices to dense vectors. - [Dropout & Flatten](/docs/nn/layers/dropout-flatten.md): Inverted Dropout regularization and tensor dimension flattening for MLP and CNN pipelines. - [ResidualBlock](/docs/nn/layers/residual-block.md): ResNet-style basic residual block executed natively in Rust with automatic projection shortcuts. - [Activations](/docs/nn/layers/activations.md): Stateless activation modules ReLU, Sigmoid, Tanh, GELU, and SiLU backed by N2 and N8 Rust kernels. - Sequence Models - [RNN](/docs/nn/sequence/rnn.md): Multi-layer and bidirectional Elman RNN with Rust BPTT and zero-GIL train_steps(). - [GRU](/docs/nn/sequence/gru.md): Multi-layer and bidirectional Gated Recurrent Unit with fused gate projections, BPTT, and zero-GIL train_steps(). - [LSTM](/docs/nn/sequence/lstm.md): Multi-layer and bidirectional Long Short-Term Memory network with fused 4x gate projection, BPTT, and zero-GIL train_steps(). - Transformer & LoRA - [Attention & KVCache](/docs/nn/transformer/attention.md): Tiled FlashAttention-style ScaledDotProductAttention, MHA/GQA/MQA MultiHeadAttention, and pre-allocated KVCache. - [PositionalEncoding & RoPE](/docs/nn/transformer/positional-rope.md): Sinusoidal PositionalEncoding and Rotary Position Embeddings (RoPE) with offset support for KV-cached decoding. - [SwiGLU & FeedForward](/docs/nn/transformer/swiglu-ffn.md): Transformer MLP blocks implementing SwiGLU and standard GELU FeedForward networks in Rust. - [TransformerEncoder & TransformerDecoder](/docs/nn/transformer/encoder-decoder.md): Composable multi-layer Transformer encoder and decoder blocks with pre-norm, cross-attention, SwiGLU, and KV-cache support. - [CausalLM](/docs/nn/transformer/causal-lm.md): LLaMA-style causal language model with RMSNorm, GQA + RoPE, SwiGLU, zero-GIL train_steps() and generate(), and .dit Tag 101 persistence. - [LoRALinear & LoRAAdapterState](/docs/nn/transformer/lora.md): Low-Rank Adaptation (LoRA) wrappers around frozen Linear layers with weight merging and .dit Tag 102 adapter persistence. - Training (Losses, Optimizers & Schedulers) - [Losses](/docs/nn/training/losses.md): MSELoss and fused N9 CrossEntropyLoss with label smoothing and ignore_index support. - [Optimizers & Gradient Clipping](/docs/nn/training/optimizers.md): Rust-backed SGD, Adam, fused N9 AdamW optimizers, and global L2 clip_grad_norm_. - [LR Schedulers](/docs/nn/training/schedulers.md): Learning rate scheduling with StepLR, CosineAnnealingLR, and WarmupCosineLR backed by Rust. - **Explanation** - [Architecture and Benchmarks](/docs/nn/architecture-benchmarks.md): Deep learning primitives N7-N10, zero-GIL Rust training loops, .dit TAG 100-102 persistence, and verified PyTorch benchmarks on CPU and 2x CUDA GPU. - [ochreml CLI](/docs/cli/llms-full.txt): Zero-dep ML CLI - **Introduction** - [Getting Started with ochreml CLI](/docs/cli.md): Train, inspect, verify, predict, and evaluate machine learning models from your terminal without writing Python. - How-To Guides - [AutoML & Constant-RAM Streaming](/docs/cli/guides/automl-and-streaming.md): Compare top estimators with cross-validation using ochreml compare, and train on large CSV/TSV files in constant memory with --stream. - [Local HTTP Model Serving](/docs/cli/guides/http-serving.md): Serve any .dit model over HTTP with GET /health and POST /predict using ochreml serve and zero external web frameworks. - **Reference** - Commands - [info & doctor](/docs/cli/commands/info-doctor.md): Inspect OchreML version, host CPU/RAM, detected accelerators, and run environment diagnostics. - [bench](/docs/cli/commands/bench.md): Run a quick synthetic benchmark across five core OchreML workloads on CPU, CUDA, wgpu, or TPU. - [profile](/docs/cli/commands/profile.md): Profile a CSV, TSV, or Parquet dataset for shape, column types, missingness, summary statistics, and target task inference. - [train](/docs/cli/commands/train.md): Train any OchreML Classical ML estimator or Sequential MLP on tabular data and save it to .dit format. - [inspect & verify](/docs/cli/commands/inspect-verify.md): Inspect .dit binary headers and model metadata, or verify .dit file integrity in CI/CD pipelines. - [predict](/docs/cli/commands/predict.md): Run batch inference from a .dit model on CSV, TSV, or Parquet datasets and write results to CSV or JSON. - [eval](/docs/cli/commands/eval.md): Evaluate a saved .dit model on labeled data with pure-Python classification and regression metrics. - [compare](/docs/cli/commands/compare.md): Run lightweight AutoML across top OchreML estimators with K-fold cross-validation and optionally save the winning .dit model. - [serve](/docs/cli/commands/serve.md): Serve any .dit model over a zero-dependency stdlib HTTP server with GET /health and POST /predict endpoints. - [mcp](/docs/cli/commands/mcp.md): Start the zero-dependency OchreML Model Context Protocol (MCP) server over stdio for AI coding agents. - **Explanation** - [CLI Architecture & Latency Benchmarks](/docs/cli/architecture.md): How OchreML achieves sub-millisecond Python imports and fast zero-dependency CLI execution via _ops.py and PEP 562 lazy loading. - [ochreml mcp](/docs/mcp/llms-full.txt): Zero-dep MCP Server - **Introduction** - [Connect ochreml mcp](/docs/mcp.md): Connect the zero-dependency OchreML MCP server to Claude Desktop, Cursor, Windsurf, and Antigravity. - How-To Guides - [Security Guardrails & Diagnostics](/docs/mcp/guides/security-guardrails.md): Configure path containment, .dit extension validation, sterile stdout framing, and stderr debug logging for ochreml mcp. - **Reference** - MCP Tools - [ochreml_device_info](/docs/mcp/tools/device-info.md): Probe host CPU, RAM, CUDA/Multi-GPU, wgpu, TPU PJRT hardware capabilities, and optional Python packages. - [ochreml_dataset_profile](/docs/mcp/tools/dataset-profile.md): Profile a CSV, TSV, or Parquet dataset for shape, column dtypes, missingness, summary stats, and target task inference. - [ochreml_inspect_dit & ochreml_verify_dit](/docs/mcp/tools/inspect-verify-dit.md): Inspect .dit binary model headers and metadata, or verify model integrity without corruption. - [ochreml_train](/docs/mcp/tools/train.md): Train any OchreML Classical ML estimator or nn.Sequential MLP on CSV, TSV, or Parquet and save to .dit. - [ochreml_predict](/docs/mcp/tools/predict.md): Run batch predictions using a saved .dit model on a CSV, TSV, or Parquet dataset. - [ochreml_eval](/docs/mcp/tools/eval.md): Evaluate a saved .dit model on labeled data using zero-dependency classification or regression metrics. - [ochreml_compare](/docs/mcp/tools/compare.md): Lightweight AutoML that cross-validates top OchreML estimators and optionally saves the winner to .dit. - [ochreml_bench](/docs/mcp/tools/bench.md): Run a fast synthetic benchmark across 5 core OchreML workloads on the selected hardware device. - Resources & Protocol - [ochreml://catalog/estimators](/docs/mcp/resources/catalog-estimators.md): Read-only MCP resource exposing all OchreML Classical ML estimators, categories, core parameters, and streaming support. - [ochreml://catalog/nn](/docs/mcp/resources/catalog-nn.md): Read-only MCP resource exposing ochreml.nn modules, layers, activations, Transformer/LLM blocks, LoRA, losses, and optimizers. - [JSON-RPC 2.0 Protocol](/docs/mcp/resources/jsonrpc-protocol.md): Transport framing, handshake lifecycle, supported MCP methods, and JSON-RPC 2.0 error codes in ochreml mcp. - **Explanation** - [Architecture & Latency](/docs/mcp/architecture.md): How ochreml mcp achieves zero-dependency JSON-RPC 2.0 over stdio, shares core logic with the CLI via _ops.py, and benchmarks on CPU and CUDA.