scikit-learn

Simple and efficient tools for machine learning and data analysis in Python.

Library
PyPI
v1.9.0
66,974stars
BSD 3-Clause License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
95/100Excellent
Development Activity100
Maintenance84
Community96
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
91/100Excellent
Architecture95
Code Quality95
Innovation92
Learning Curve80

scikit-learn is the de-facto standard machine learning library for Python, built on top of NumPy, SciPy, and joblib. It provides a unified, well-documented API for classification, regression, clustering, dimensionality reduction, model selection, and preprocessing, exposing hundreds of battle-tested algorithms through a consistent estimator interface.

Distributed under the permissive BSD-3-Clause license and maintained by a large open-source community, scikit-learn is designed to interoperate cleanly with the rest of the scientific Python stack. Its fit/predict/transform conventions and composable Pipeline objects make it approachable for beginners while remaining a dependable workhorse for production data science.

What You Get

  • A consistent estimator API (fit, predict, transform, score) shared by every algorithm in the library.
  • Hundreds of implemented algorithms spanning classification, regression, clustering, dimensionality reduction, and preprocessing.
  • Composable Pipeline and ColumnTransformer objects for building reproducible end-to-end workflows.
  • Robust model-selection tooling: cross-validation, grid/randomized hyperparameter search, and scoring metrics.
  • Performance-critical routines implemented in Cython with parallelism via joblib and threadpoolctl.

Common Use Cases

  • Training classification and regression models on tabular data.
  • Clustering and dimensionality reduction for exploratory data analysis.
  • Building reproducible preprocessing-plus-model pipelines for production scoring.
  • Benchmarking and tuning models with cross-validation and hyperparameter search.
  • Feature extraction and engineering from text and numerical datasets.

Under The Hood

Architecture — scikit-learn is organized around a small set of base abstractions in sklearn/base.py (BaseEstimator plus ClassifierMixin, RegressorMixin, TransformerMixin) that every algorithm module (linear_model, ensemble, cluster, svm, tree, preprocessing, etc.) subclasses to inherit the shared fit/predict/transform/score contract and parameter-cloning via clone(). Composite objects in sklearn/pipeline.py (Pipeline, FeatureUnion, ColumnTransformer) sequence estimators and transformers into a single fitted object, while model_selection layers cross-validation and hyperparameter search on top of that uniform interface. Tech Stack — the library targets Python >=3.11 and depends on NumPy (>=1.24.1), SciPy (>=1.10.0), joblib (>=1.4.0), narwhals (>=2.0.1), and threadpoolctl (>=3.5.0); the codebase is ~93% Python with ~5% Cython plus some C/C++ for hot numeric kernels, built with Meson via meson-python. Code Quality — the project is exceptionally well-tested, with roughly 259 test_*.py modules co-located with source, strict parameter validation (_param_validation), an estimator-tags system, Ruff-enforced style, and thorough NumPy-style docstrings throughout core files. API Design — the developer experience is a benchmark for the ecosystem: a single, memorable estimator convention (fit/predict/transform) makes algorithms interchangeable, make_pipeline/make_union reduce boilerplate, keyword-only constructor parameters and consistent naming keep call sites readable, and the documentation and example gallery are extensive.

Used by 25 apps in this directory

Python
99%
MIT

Agent Lightning

AI Development

17,500

A Microsoft-built training framework that optimizes AI agents with reinforcement learning, automatic prompt optimization, or supervised fine-tuning — with near-zero code changes to your existing agent, in any framework.

View details
84
Repo Health
68
Technical
69
Dependency
Built with
Python99%
Updated today
Python
100%
Apache 2.0

ClearML

Devops · Automation

6,827

Auto-magical MLOps platform that tracks experiments, versions data, orchestrates pipelines, and serves models with just two lines of code.

View details
94
Repo Health
79
Technical
69
Dependency
Built with
Python100%
Updated yesterday
TypeScript
84%
Apache 2.0

Continue

Developer Tools · AI Development · AI Code Assistants

35,532

Open-source coding agent for VS Code, JetBrains, and CLI with support for 30+ LLM providers.

View details
87
Repo Health
88
Technical
65
Dependency
Built with
TypeScript84%
Updated today
Python
64%
MIT

Flowfile

Data Engineering

341

Visual ETL that compiles to Polars — build pipelines on a canvas, export as standalone Python, and run anywhere without platform lock-in.

View details
83
Repo Health
81
Technical
66
Dependency
Built with
Python64%
Vue19%
TypeScript16%
Updated today
Python
91%
MIT

Gemma Multimodal Fine-Tuner

AI Development

1,498

An Apple-Silicon-native LoRA fine-tuning tool for Gemma on text, image, and audio data — with a wizard CLI, live browser-based training visualizer, and streaming from GCS/BigQuery for datasets too large for local disk.

View details
51
Repo Health
68
Technical
76
Dependency
Built with
Python91%
Updated 6 days ago
TypeScript
92%
Other

GitNexus

Developer Tools · AI Code Assistants

45,566

Index any codebase into an interactive knowledge graph and give your AI agents deep architectural context via MCP — with zero servers required.

View details
88
Repo Health
86
Technical
74
Dependency
Built with
TypeScript92%
Updated today
C++
52%
MIT

GPT4All

AI Development · AI Assistants

77,403

Run large language models privately on your laptop — no GPU, no cloud, no data leaving your device.

View details
53
Repo Health
80
Technical
74
Dependency
Built with
C++52%
QML30%
Updated 1 years ago
Python
80%
Apache 2.0

headroom

AI Development · Developer Tools

66,835

Compress everything your AI agent reads — tool outputs, logs, RAG chunks, and files — before it reaches the LLM, achieving 60–95% fewer tokens with the same answers.

View details
84
Repo Health
86
Technical
73
Dependency
Built with
Python80%
Rust14%
Updated today
Python
60%
MIT

LibrePhotos

File Storage

8,044

Self-hosted photo library with AI-powered face recognition, semantic search, and automatic event albums — no cloud required.

View details
82
Repo Health
78
Technical
67
Dependency
Built with
Python60%
TypeScript37%
Updated 3 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search