Skip to main content

A Tabular Machine Learning SDK for Industrial Applications

Project description

Neuralk SDK

A Tabular Machine Learning SDK for Industrial Applications

PyPI version Python versions License Documentation

Documentation | API Reference | Examples


Overview

The Neuralk SDK provides Python developers with a scikit-learn compatible interface to access NICL (Neuralk In-Context Learning), 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 - Handles numerical and categorical data
  • Multiple model sizes - Choose between speed (nicl-flash) and accuracy (nicl-large)

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 NICLClassifier
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 = NICLClassifier()
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 NICLClassifier

clf = make_pipeline(
    TableVectorizer(),
    SimpleImputer(),
    NICLClassifier(),
)

clf.fit(X_train, y_train)
predictions = clf.predict(X_test)

On-premise deployment

from neuralk import NICLClassifier

clf = NICLClassifier(host="http://your-server:8000")
clf.fit(X_train, y_train)
predictions = clf.predict(X_test)

Available Models

Model Description
seldon-flash Fastest model, optimized for low latency
seldon-small Balanced model (default)
seldon-large Most accurate, recommended for complex tasks
clf = NICLClassifier(model="seldon-large")

Documentation

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

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

neuralk-1.1.2.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

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

neuralk-1.1.2-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

Details for the file neuralk-1.1.2.tar.gz.

File metadata

  • Download URL: neuralk-1.1.2.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.12.11 Darwin/24.4.0

File hashes

Hashes for neuralk-1.1.2.tar.gz
Algorithm Hash digest
SHA256 8d9b59263e9ed74e8c207466de3c26852c8b622ebe197c0ec58cade85df23b77
MD5 72ee95a8ddfb9b9d82405af370074b69
BLAKE2b-256 b3dc1768497c6270d77877e58c6da00d0a71b8791e59582a4355210dfa512fc9

See more details on using hashes here.

File details

Details for the file neuralk-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: neuralk-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.12.11 Darwin/24.4.0

File hashes

Hashes for neuralk-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b40f4e1e3c85a3892b39fe6c6d9eca2161ba7bc3ae86040567558d13c186fc19
MD5 6f315a391d671e9d2f2718c9efe29dbd
BLAKE2b-256 a29f9a3c5e1d40545dfc16cea1acef222790f96439b137e92ae2589a61197e13

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