scikeras
Scikit-Learn API wrapper for Keras.
Decision gist · record as of 2026-08-14
Yes, but with caution. SciKeras is useful if you need scikit-learn integration for Keras models and understand the trade-offs. The low install friction and permissive license are favorable. However, the abandoned status means no active maintenance—use it for stable, non-critical workflows or when you can tolerate potential incompatibilities with future scikit-learn or Keras releases. For new projects requiring ongoing support, consider whether a maintained alternative or direct Keras integration suits your needs better.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Keras >= 3.2.0 and scikit-learn >= 1.4.1post1; TensorFlow or another Keras backend must be installed at runtime.
- Low friction install with just two runtime dependencies (scikit-learn and keras).
- However, the package is archived and abandoned as of the fact sheet date, with no active maintenance despite a recent final release in April 2024.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use and modify SciKeras freely provided you retain the license notice.
last release 2024-04-11 (855 days) · last repo commit 2024-12-12 · 251 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 325,716 downloads/mo, #7,583 on PyPI
Alternatives
Verify before relying
pip install scikeras
from scikeras.wrappers import KerasClassifier
import keras
model = keras.Sequential([keras.layers.Dense(10, activation='relu')])
classifier = KerasClassifier(model=model)
classifier.fit(X_train, y_train)- Whether the archived status and lack of active maintenance will affect long-term compatibility with future scikit-learn or Keras releases.
- Whether all Keras 3.x features are fully supported by the current SciKeras wrapper implementation.
What it is and what it does
SciKeras is a scikit-learn API wrapper for Keras models that lets you treat neural networks as drop-in replacements for traditional scikit-learn estimators. It was originally derived from TensorFlow's deprecated `tf.keras.wrappers.scikit_learn` module and maintains API compatibility with that legacy interface. The wrapper allows Keras models to work seamlessly in scikit-learn pipelines, cross-validation routines, and hyperparameter tuning workflows.
The package depends on scikit-learn and Keras as its core runtime dependencies, plus an underlying Keras backend like TensorFlow. It supports Python 3.9 through 3.12 and carries a permissive MIT license. However, the repository is now archived and abandoned, with the last commit in December 2024 but no active development—the final release was in April 2024. This means bug fixes and compatibility updates are unlikely going forward.
Use it for
- Include Keras neural networks in scikit-learn pipelines alongside preprocessing and feature selection steps.
- Use scikit-learn's cross-validation and grid search tools to tune Keras model hyperparameters.
- Migrate code from the deprecated TensorFlow scikit-learn wrapper to a maintained alternative.
- Combine Keras models with scikit-learn's ensemble and stacking methods for hybrid workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but with caution.
SciKeras is useful if you need scikit-learn integration for Keras models and understand the trade-offs. The low install friction and permissive license are favorable. However, the abandoned status means no active maintenance—use it for stable, non-critical workflows or when you can tolerate potential incompatibilities with future scikit-learn or Keras releases. For new projects requiring ongoing support, consider whether a maintained alternative or direct Keras integration suits your needs better.
Install
scikeras on PyPI
Before you install
Low friction install with just two runtime dependencies (scikit-learn and keras). However, the package is archived and abandoned as of the fact sheet date, with no active maintenance despite a recent final release in April 2024.
Requires Keras >= 3.2.0 and scikit-learn >= 1.4.1post1; TensorFlow or another Keras backend must be installed at runtime.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use and modify SciKeras freely provided you retain the license notice.
Quickstart
pip install scikeras
from scikeras.wrappers import KerasClassifier
import keras
model = keras.Sequential([keras.layers.Dense(10, activation='relu')])
classifier = KerasClassifier(model=model)
classifier.fit(X_train, y_train)
Verify before relying
- Whether the archived status and lack of active maintenance will affect long-term compatibility with future scikit-learn or Keras releases.
- Whether all Keras 3.x features are fully supported by the current SciKeras wrapper implementation.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4,>=3.9.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesscikit-learnkeras |
| Maintenance | Abandoned 855 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 325,716 / month, #7,583 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: scikeras-0.13.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “keras scikit-learn wrapper”
- scikerasSciKeras wraps Keras models to work with scikit-learn's API, letting…
- optuna-integrationProvides integration modules connecting Optuna hyperparameter…
- eli5Explains predictions and weights of machine learning classifiers from…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also keras · keras-nlp · sklearn-compat · Keras-Preprocessing · Keras-Applications · tf-keras-nightly · keras-hub · keras-nightly · scikit-learn-stubs · kt-legacy