Overview
The Neuralk SDK provides Python developers with a scikit-learn compatible interface to access Seldon, a foundation model specifically designed for tabular classification tasks.
Key Features:
- Zero hyperparameter tuning - Strong baseline performance out of the box
- Scikit-learn compatible - Works with pipelines, cross-validation, and familiar fit/predict interface
- Flexible deployment - Cloud API or on-premise server
- Mixed feature types - Pandas and polars DataFrames are sent as Parquet, so categorical and string columns keep their types
Installation
pip install neuralk
Requirements: Python 3.11+
Quick Start
1. Get your API key
neuralk login
This displays instructions to create your account at prediction.neuralk-ai.com/register.
2. Set your API key
export NEURALK_API_KEY=nk_live_your_api_key_here
3. Make your first prediction
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score
from neuralk import SeldonClassifier
from neuralk.datasets import two_moons
# Load example dataset
X, y = two_moons()
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=42)
# Create classifier and predict
clf = SeldonClassifier()
clf.fit(X_train, y_train)
predictions = clf.predict(X_test)
print(f"Accuracy: {accuracy_score(y_test, predictions):.2%}")
Using with scikit-learn pipelines
from sklearn.pipeline import make_pipeline
from sklearn.impute import SimpleImputer
from skrub import TableVectorizer
from neuralk import SeldonClassifier
clf = make_pipeline(
TableVectorizer(),
SimpleImputer(),
SeldonClassifier(),
)
clf.fit(X_train, y_train)
predictions = clf.predict(X_test)
On-premise deployment
from neuralk import SeldonClassifier
clf = SeldonClassifier(host="http://your-server:8000")
clf.fit(X_train, y_train)
predictions = clf.predict(X_test)
Explaining predictions
Understand why the model predicts what it does, using Shapley values and interactions (powered by shapiq). Install the optional extra (requires Python 3.12+):
pip install "neuralk[explain]"
from neuralk.explainability import SeldonExplainer
clf = SeldonClassifier().fit(X_train, y_train)
explainer = SeldonExplainer(clf, background=X_train)
# Local: explain a single prediction
local = explainer.explain(X_test[0])
explainer.plot_force(local)
# Global: aggregate feature importance over many predictions
global_ = explainer.explain_global(X_test[:50])
print(global_.feature_importances(normalize=True))
global_.plot_bar()
Note: Seldon predicts via remote API calls that consume credits, and explainers evaluate the model many times. Keep
backgroundsmall and the estimationbudgetmodest while iterating.
Available Models
| Task | Estimator | Model |
|---|---|---|
| Classification | SeldonClassifier |
seldon_plus |
| Regression | SeldonRegressor |
seldon |
Documentation
- Getting Started Guide
- Understanding In-Context Learning
- Advanced Configuration
- Context Selection Strategies
- Example Gallery
Citation
If you use Neuralk in your research, please cite:
@software{neuralk2026sdk,
title = {Neuralk: A Foundation Model for Industrial Tabular Data},
author = {Neuralk AI},
year = {2026},
url = {https://www.neuralk-ai.com/}
}
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Contact
- Questions & Feature Requests: alex@neuralk-ai.com
- Collaborations: antoine@neuralk-ai.com
Metadata
Release files for neuralk 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neuralk-1.3.0.tar.gz | 5.6 MB | With provenance | Details for neuralk-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neuralk-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for neuralk-1.3.0-py3-none-any.whl |
Total release size: 11.2 MB
Release files / neuralk-1.3.0.tar.gz
| Download URL | neuralk-1.3.0.tar.gz |
|---|---|
| Size | 5.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
390251fed202958fe091514d9f316ac51c5da12ff5b34b89f217a118d860ff69
|
|
BLAKE2b-256 checksum How to use checksums |
133533031e413bc1ee343481a7cf7d6d40ab5ae50a3aa2c2bba6f0c09b78e9a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / neuralk-1.3.0-py3-none-any.whl
| Download URL | neuralk-1.3.0-py3-none-any.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f5e7ba53ffc2a7f7645b4ef99026138c282e6434458441ead0a7c4a5d749caf
|
|
BLAKE2b-256 checksum How to use checksums |
41024ae244590d7a0599bb3305d6dfea2a59bc96f0d1e4896a9a993c7caa9d8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logSecurity for neuralk 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for neuralk-1.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.