{"id":20841065,"url":"https://github.com/benchopt/benchmark_ridge","last_synced_at":"2025-05-08T22:07:22.971Z","repository":{"id":39996658,"uuid":"493705029","full_name":"benchopt/benchmark_ridge","owner":"benchopt","description":"Benchopt benchmark for Ridge regression","archived":false,"fork":false,"pushed_at":"2024-07-24T11:40:33.000Z","size":15,"stargazers_count":0,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-08T22:07:08.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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}},"created_at":"2022-05-18T14:46:02.000Z","updated_at":"2024-07-03T08:46:12.000Z","dependencies_parsed_at":"2023-01-28T23:30:30.713Z","dependency_job_id":null,"html_url":"https://github.com/benchopt/benchmark_ridge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"benchopt/template_benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_ridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_ridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_ridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benchopt%2Fbenchmark_ridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benchopt","download_url":"https://codeload.github.com/benchopt/benchmark_ridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154975,"owners_count":21862622,"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":[],"created_at":"2024-11-18T01:18:40.399Z","updated_at":"2025-05-08T22:07:22.940Z","avatar_url":"https://github.com/benchopt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Benchmark repository for Ridge\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 Ridge consists in solving the following program:\n\n$$\\\\min_w\\\\frac{1}{2} \\\\Vert y - Xw \\\\Vert_2^2 + \\\\frac{\\\\lambda}{2} \\\\Vert w \\\\Vert_2^2$$\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\n$$y \\\\in \\\\mathbb{R}^n, \\\\ X \\\\in \\\\mathbb{R}^{n \\\\times p}$$\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_ridge\n   $ cd benchmark_ridge/\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 ./benchmark_ridge -s sklearn -d leukemia --max-runs 10 --n-repetitions 10\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 whose dependencies are installed in the current env will be run.\n\n.. |Build Status| image:: https://github.com/benchopt/benchmark_ridge/workflows/Tests/badge.svg\n   :target: https://github.com/benchopt/benchmark_ridge/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_ridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenchopt%2Fbenchmark_ridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenchopt%2Fbenchmark_ridge/lists"}