{"id":13594465,"url":"https://github.com/nubank/fklearn","last_synced_at":"2026-04-15T18:02:47.592Z","repository":{"id":34703488,"uuid":"172931222","full_name":"nubank/fklearn","owner":"nubank","description":"fklearn: Functional Machine Learning","archived":false,"fork":false,"pushed_at":"2026-04-15T09:44:35.000Z","size":2773,"stargazers_count":1540,"open_issues_count":43,"forks_count":171,"subscribers_count":99,"default_branch":"master","last_synced_at":"2026-04-15T11:34:03.196Z","etag":null,"topics":["data-analysis","data-science","machine-learning","ml","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nubank.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-27T14:32:57.000Z","updated_at":"2026-04-14T20:23:05.000Z","dependencies_parsed_at":"2024-04-26T00:37:56.156Z","dependency_job_id":"29c068fe-b58d-4969-ba50-6b3ffe79913c","html_url":"https://github.com/nubank/fklearn","commit_stats":{"total_commits":150,"total_committers":52,"mean_commits":"2.8846153846153846","dds":0.7866666666666666,"last_synced_commit":"8a40e86c660aaec3627882a4a8f60c4871a6f7cc"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/nubank/fklearn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubank%2Ffklearn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubank%2Ffklearn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubank%2Ffklearn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubank%2Ffklearn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nubank","download_url":"https://codeload.github.com/nubank/fklearn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubank%2Ffklearn/sbom","scorecard":{"id":697980,"data":{"date":"2025-08-11","repo":{"name":"github.com/nubank/fklearn","commit":"2a16c1bc30ca2558f7f30b46dfa9a342581812b0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/publish.yaml:9","Warn: no topLevel permission defined: .github/workflows/push.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yaml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/nubank/fklearn/push.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish.yaml:22","Warn: pipCommand not pinned by hash: .github/workflows/publish.yaml:23","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:21","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:44","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:45","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:67","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:78","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:117","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:128","Warn: pipCommand not pinned by hash: .github/workflows/push.yaml:129","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of  10 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yaml:12"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-288 / GHSA-6hrg-qmvc-2xh8","Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2020-107 / GHSA-jjw5-xxj6-pcv5","Warn: Project is vulnerable to: PYSEC-2024-110 / GHSA-jw8x-6495-233v","Warn: Project is vulnerable to: PYSEC-2020-108","Warn: Project is vulnerable to: PYSEC-2019-156 / GHSA-xp76-357g-9wqq","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114","Warn: Project is vulnerable to: PYSEC-2017-74","Warn: Project is vulnerable to: PYSEC-2024-231","Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(1.20.x): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":1,"reason":"SAST tool is not run on all commits -- score normalized to 1","details":["Warn: 4 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T04:16:15.491Z","repository_id":34703488,"created_at":"2025-08-22T04:16:15.491Z","updated_at":"2025-08-22T04:16:15.491Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31853279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","data-science","machine-learning","ml","python"],"created_at":"2024-08-01T16:01:33.849Z","updated_at":"2026-04-15T18:02:47.584Z","avatar_url":"https://github.com/nubank.png","language":"Jupyter Notebook","readme":"# fklearn: Functional Machine Learning\n\n![PyPI](https://img.shields.io/pypi/v/fklearn.svg?style=flat-square)\n[![Documentation Status](https://readthedocs.org/projects/fklearn/badge/?version=latest)](https://fklearn.readthedocs.io/en/latest/?badge=latest)\n[![Gitter](https://badges.gitter.im/fklearn-python/community.svg)](https://gitter.im/fklearn-python/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n![Tests](https://github.com/nubank/fklearn/actions/workflows/push.yaml/badge.svg?branch=master)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n**fklearn** uses functional programming principles to make it easier to solve real problems with Machine Learning.\n\nThe name is a reference to the widely known [scikit-learn](https://scikit-learn.org/stable/) library.\n\n**fklearn Principles**\n\n1. Validation should reflect real-life situations.\n2. Production models should match validated models.\n3. Models should be production-ready with few extra steps.\n4. Reproducibility and in-depth analysis of model results should be easy to achieve.\n\n\n[Documentation](https://fklearn.readthedocs.io/en/latest/) |\n[Getting Started](https://fklearn.readthedocs.io/en/latest/getting_started.html) |\n[API Docs](https://fklearn.readthedocs.io/en/latest/api/modules.html) |\n[Contributing](https://fklearn.readthedocs.io/en/latest/contributing.html) |\n\n\n## Installation\n\nTo install via pip:\n\n```\npip install fklearn\n```\n\nTo install with optional dependencies:\n\n```\npip install fklearn[lgbm]       # LightGBM support\npip install fklearn[xgboost]    # XGBoost support\npip install fklearn[catboost]   # CatBoost support\npip install fklearn[all_models] # All model backends\npip install fklearn[all]        # All models + tools\n```\n\n## Development with UV\n\n### Setup\n```bash\nuv sync --extra devel\n```\n\n### Running Tests\n```bash\nuv run pytest --cov=src/\n```\n\n### Linting\n```bash\nuv run ruff check src/ tests/\nuv run ruff format src/ tests/\n```\n\n### Adding Dependencies\n```bash\nuv add \u003cpackage-name\u003e          # runtime dependency\nuv add --dev \u003cpackage-name\u003e    # dev dependency\n```\n\n## License\n\n[Apache License 2.0](LICENSE)\n","funding_links":[],"categories":["Jupyter Notebook","\u003cspan id=\"head41\"\u003e3.5. Machine Learning and Deep Learning\u003c/span\u003e","Machine Learning Framework","Uncategorized","Python","其他_机器学习与深度学习","机器学习框架"],"sub_categories":["\u003cspan id=\"head42\"\u003e3.5.1. Machine Learning\u003c/span\u003e","General Purpose Framework","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnubank%2Ffklearn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnubank%2Ffklearn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnubank%2Ffklearn/lists"}