{"id":20841061,"url":"https://github.com/benchopt/benchmark_lasso","last_synced_at":"2025-05-08T22:03:53.429Z","repository":{"id":38313594,"uuid":"298521114","full_name":"benchopt/benchmark_lasso","owner":"benchopt","description":"Benchopt benchmark for Lasso","archived":false,"fork":false,"pushed_at":"2023-09-18T22:31:43.000Z","size":102,"stargazers_count":11,"open_issues_count":28,"forks_count":26,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-10-20T18:11:35.908Z","etag":null,"topics":["benchmark","optimization"],"latest_commit_sha":null,"homepage":"https://benchopt.github.io/results/benchmark_lasso.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benchopt.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-25T08:59:26.000Z","updated_at":"2023-10-20T18:11:36.387Z","dependencies_parsed_at":"2023-10-20T18:21:36.093Z","dependency_job_id":null,"html_url":"https://github.com/benchopt/benchmark_lasso","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_lasso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_lasso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_lasso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_lasso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benchopt","download_url":"https://codeload.github.com/benchopt/benchmark_lasso/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225110451,"owners_count":17422431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["benchmark","optimization"],"created_at":"2024-11-18T01:18:40.030Z","updated_at":"2024-11-18T01:18:40.724Z","avatar_url":"https://github.com/benchopt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Benchmark repository for Lasso\n==============================\n\n|Build Status| |Python 3.6+|\n\nBenchopt is a package to simplify and make more transparent and\nreproducible the comparisons of optimization algorithms.\nThe Lasso consists in solving the following program:\n\n$$ \\\\min_w \\\\, \\\\tfrac{1}{2} \\\\Vert y - Xw \\\\Vert^2_2 + \\\\lambda \\\\Vert w\\\\Vert_1 $$\n\nwhere $n$ (or n_samples) stands for the number of samples, $p$ (or n_features) stands for the number of features and\n\n$$ y \\\\in \\\\mathbb{R}^n, \\\\, \\\\, X \\\\in \\\\mathbb{R}^{n \\\\times p} $$\n\n\nInstall\n-------\n\nThis benchmark can be run using the following commands:\n\n.. code-block::\n\n   $ pip install -U benchopt\n   $ git clone https://github.com/benchopt/benchmark_lasso\n   $ cd benchmark_lasso/\n\nTo demonstrate the use of benchopt, one can run, from the `benchmark_lasso` folder:\n\n.. code-block::\n\n   $ benchopt install . -s sklearn -s python-pgd --env\n   $ benchopt run . --config example_config.yml --env\n\nAlternatively, one can use the command line interface to select which problems, datasets and solvers are used:\n\n.. code-block::\n\n\t$ benchopt run -s sklearn -d leukemia --max-runs 10 --n-repetitions 5\n\n\nUse `benchopt run -h` for more details about these options, or visit https://benchopt.github.io/api.html.\n\nTroubleshooting\n---------------\n\nIf you run into some errors when running the examples present in this Readme, try installing the development version of `benchopt`:\n\n.. code-block::\n\n  $ pip install -U git+https://github.com/benchopt/benchopt\n\nIf issues persist, you can also try running the benchmark in local mode with the `-l` option, e.g.:\n\n.. code-block::\n\n  $ benchopt run . -l -s sklearn -d leukemia --max-runs 10 --n-repetitions 10\n\nNote that in this case, only solvers which dependencies are installed in the current env will be run.\n\n.. |Build Status| image:: https://github.com/benchopt/benchmark_lasso/workflows/Tests/badge.svg\n   :target: https://github.com/benchopt/benchmark_lasso/actions\n.. |Python 3.6+| image:: https://img.shields.io/badge/python-3.6%2B-blue\n   :target: https://www.python.org/downloads/release/python-360/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenchopt%2Fbenchmark_lasso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenchopt%2Fbenchmark_lasso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenchopt%2Fbenchmark_lasso/lists"}