{"id":19309671,"url":"https://github.com/jolars/sortedl1","last_synced_at":"2026-01-28T10:04:44.359Z","repository":{"id":209874360,"uuid":"725142704","full_name":"jolars/sortedl1","owner":"jolars","description":"Python package for Sorted L-One Penalized Estimation (SLOPE)","archived":false,"fork":false,"pushed_at":"2025-11-12T09:27:21.000Z","size":2129,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T11:25:19.403Z","etag":null,"topics":["machine-learning","python","regression","slope","statistics"],"latest_commit_sha":null,"homepage":"https://jolars.github.io/sortedl1/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jolars.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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":"2023-11-29T14:25:45.000Z","updated_at":"2025-11-12T09:27:25.000Z","dependencies_parsed_at":"2024-04-02T08:30:56.235Z","dependency_job_id":"1ef06a5d-017b-4232-8e21-eb00067ed4e5","html_url":"https://github.com/jolars/sortedl1","commit_stats":null,"previous_names":["jolars/sortedl1"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/jolars/sortedl1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Fsortedl1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Fsortedl1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Fsortedl1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Fsortedl1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jolars","download_url":"https://codeload.github.com/jolars/sortedl1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Fsortedl1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28844011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["machine-learning","python","regression","slope","statistics"],"created_at":"2024-11-10T00:20:14.417Z","updated_at":"2026-01-28T10:04:44.353Z","avatar_url":"https://github.com/jolars.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sortedl1 \u003ca href=\"https://jolars.github.io/sortedl1/\"\u003e\u003cimg src=\"https://github.com/jolars/sortedl1/raw/main/docs/source/_static/slope-logo.png\" align=\"right\" width=\"139\" /\u003e\u003c/a\u003e\n\n[![Tests](https://github.com/jolars/sortedl1/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/jolars/sortedl1/actions/workflows/test.yml)\n[![PyPI version](https://badge.fury.io/py/sortedl1.svg)](https://badge.fury.io/py/sortedl1)\n[![codecov](https://codecov.io/gh/jolars/sortedl1/graph/badge.svg?token=tMVGB2LHcM)](https://codecov.io/gh/jolars/sortedl1)\n\n**sortedl1** is a python package for Sorted L-One Penalized Estimation (SLOPE).\n\n## Installing\n\nThe current release can be installed from PyPI by running\n\n```python\npip install sortedl1\n```\n\nYou can also install the latest development version via pip by calling\n\n```python\npip install git+https://github.com/jolars/sortedl1\n```\n\nAlternatively, you can clone the repository and install the package locally by running\n\n```python\npip install .\n```\n\nInstalling from source requires a C++17 compatible compiler.\n\n## Usage\n\nEstimators in **sortedl1** are compatible with the scikit-learn interface.\n\n```python\nimport numpy as np\nfrom numpy.random import default_rng\n\nfrom sortedl1 import Slope\n\n# Generate some random data\nn = 100\np = 3\n\nseed = 31\nrng = default_rng(seed)\n\nx = rng.standard_normal((n, p))\nbeta = rng.standard_normal(p)\ny = x @ beta + rng.standard_normal(n)\n\n# Fit the model\nmodel = Slope(alpha=0.1)\nmodel.fit(x, y)\n\n# Print the coefficients\nprint(model.coef_)\n```\n\n## Contributing\n\nThe backbone of the package is written in C++ and developed in a separate repository at \u003chttps://github.com/jolars/libslope\u003e. So if you have any issues with the package other than such that are specific to the python interface, please report them there. But feel free to request features here.\n\nWhen writing commit messages, please use the [conventional commits format](https://www.conventionalcommits.org/en/v1.0.0/).\n\n## Versioning\n\nsortedl1 uses [semantic versioning](https://semver.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolars%2Fsortedl1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjolars%2Fsortedl1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolars%2Fsortedl1/lists"}