{"categories":[{"label":"Physics","url":"https://skillfed.io/packages/category/scientific-engineering-physics"}],"enrichment":{"capability":"Provides backward-compatible wrappers for scikit-learn private utilities across multiple versions, allowing third-party libraries to support scikit-learn >= 1.2 without duplicating compatibility code.","skillfed_tags":["sklearn-compatible","version-compatibility"],"use_cases":["Maintain a scikit-learn-compatible estimator library that needs to support multiple scikit-learn versions without duplicating compatibility shims.","Migrate code from scikit-learn 1.6+ where validate_data moved and force_all_finite was deprecated while keeping backward compatibility.","Use DataFrame type-checking utilities consistently across scikit-learn versions where they were added at different times.","Adapt test helpers like _convert_container that changed parameter names between scikit-learn versions without forking test code.","Support multiple scikit-learn versions in a library without vendoring or maintaining your own compatibility layer."],"what_it_does":"sklearn-compat is a small utility package that centralizes backward-compatible wrappers for scikit-learn's private developer APIs. It solves a specific problem for maintainers of scikit-learn-compatible third-party libraries: each time scikit-learn makes breaking changes to its internal utilities, those libraries have historically duplicated the same compatibility code. This package factors out those utilities into a single maintained source.\n\nThe package tracks scikit-learn's breaking changes across versions (currently supporting 1.2 and later) and provides stable import paths for functions that have moved, changed signatures, or been renamed. Developers can import from sklearn-compat instead of directly from scikit-learn's private modules, and the package handles version detection and fallbacks automatically.","worth_installing":"Yes, if you maintain a scikit-learn-compatible library. It eliminates duplicate compatibility code across projects and is actively maintained to track scikit-learn changes. For end users of scikit-learn itself, there is no direct benefit\u2014install only if a dependency requires it."},"id":"sklearn-compat","links":{"html":"https://skillfed.io/packages/sklearn-compat","md":"https://skillfed.io/packages/sklearn-compat.md","pypi":"https://pypi.org/project/sklearn-compat/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-07","license_spdx":null,"license_treatment":"permissive","name":"sklearn-compat","python_support":"supports_current","summary":"Ease support for compatible scikit-learn estimators across versions"},"popularity":{"monthly_downloads":2353710,"position":3112,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.6"}
