| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a545187d-3bed-9cdf-aa03-4dea79f999c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ECFC:4466C:A8AD07:EDEF35:6AFB78D3 |
| html-safe-nonce | e69f91141bfded61728c4b8d2ba271df999b86ee34abb7c32493e239855fb489 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0ZDOjQ0NjZDOkE4QUQwNzpFREVGMzU6NkFGQjc4RDMiLCJ2aXNpdG9yX2lkIjoiODUyNzgxNjk4MDAwOTAyMzY5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e6659c6cfe7b7317cbce1cea10c3fabd495db7efa6ab90060d2cae10c8ff57ae |
| hovercard-subject-tag | pull_request:3103880047 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Python/14016/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f009d067d233e608654d50aff19ddd4b180afd00ebdb4e55e822715326d4c63b/TheAlgorithms/Python/pull/14016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f009d067d233e608654d50aff19ddd4b180afd00ebdb4e55e822715326d4c63b/TheAlgorithms/Python/pull/14016 |
| og:image:alt | Describe your change:
Add an algorithm
Fix a bug or typo in an existing algorithm
Add or change doctests
Documentation change
Description
This pull request adds a Ridge Regression algorithm w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Mahadev-05 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-cache |
| go-import | github.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63476337 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63476337 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/14016#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14016 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14016 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=TheAlgorithms%2FPython |
| Reload | https://github.com/TheAlgorithms/Python/pull/14016 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14016 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14016 |
| TheAlgorithms | https://github.com/TheAlgorithms |
| Python | https://github.com/TheAlgorithms/Python |
| Code | https://github.com/TheAlgorithms/Python |
| Issues14 (14) | https://github.com/TheAlgorithms/Python/issues |
| Pull requests104 (104) | https://github.com/TheAlgorithms/Python/pulls |
| Discussions | https://github.com/TheAlgorithms/Python/discussions |
| Actions | https://github.com/TheAlgorithms/Python/actions |
| Projects | https://github.com/TheAlgorithms/Python/projects |
| Wiki | https://github.com/TheAlgorithms/Python/wiki |
| Security and quality | https://github.com/TheAlgorithms/Python/security |
| Insights | https://github.com/TheAlgorithms/Python/pulse |
| https://github.com/TheAlgorithms/Python |
| Mahadev-05 | https://github.com/Mahadev-05 |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| Mahadev-05:feature/ridge-regression | https://github.com/Mahadev-05/Python/tree/feature/ridge-regression |
| Conversation | https://github.com/TheAlgorithms/Python/pull/14016 |
| Commits11 (11) | https://github.com/TheAlgorithms/Python/pull/14016/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/14016/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/14016/files |
| machine_learning: add RidgeRegression with tests and demo | https://github.com/TheAlgorithms/Python/pull/14016#top |
| Mahadev-05 | https://github.com/Mahadev-05 |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| Mahadev-05:feature/ridge-regression | https://github.com/Mahadev-05/Python/tree/feature/ridge-regression |
|
| https://github.com/Mahadev-05 |
| Mahadev-05 | https://github.com/Mahadev-05 |
| Dec 15, 2025 | https://github.com/TheAlgorithms/Python/pull/14016#issue-3731973019 |
| https://en.wikipedia.org/wiki/Ridge_regression | https://en.wikipedia.org/wiki/Ridge_regression |
| CONTRIBUTING.md | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14016 |
| Mahadev-05 | https://github.com/Mahadev-05 |
| December 16, 2025 01:38 | https://github.com/TheAlgorithms/Python/pull/14016#commits-pushed-3312167 |
|
| https://github.com/Mahadev-05 |
| machine_learning: add RidgeRegression with tests and demo | https://github.com/TheAlgorithms/Python/pull/14016/commits/3312167e17a461937aee78cc3df29b3b08d78741 |
| 3312167 | https://github.com/TheAlgorithms/Python/pull/14016/commits/3312167e17a461937aee78cc3df29b3b08d78741 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14016/commits/51d9176f58c539a63abe3f0477302b59d7775f57 |
| 51d9176 | https://github.com/TheAlgorithms/Python/pull/14016/commits/51d9176f58c539a63abe3f0477302b59d7775f57 |
| https://pre-commit.ci | https://pre-commit.ci |
|
| https://github.com/Mahadev-05 |
| machine_learning: fix ruff issues (imports, annotations, naming, test… | https://github.com/TheAlgorithms/Python/pull/14016/commits/a0db9d6033693f8cc7f8c07d4c3bdea817019e4d |
| a0db9d6 | https://github.com/TheAlgorithms/Python/pull/14016/commits/a0db9d6033693f8cc7f8c07d4c3bdea817019e4d |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
| Dec 15, 2025 | https://github.com/TheAlgorithms/Python/pull/14016#event-21576006376 |
| Mahadev-05 | https://github.com/Mahadev-05 |
| December 16, 2025 02:05 | https://github.com/TheAlgorithms/Python/pull/14016#commits-pushed-ddb4638 |
|
| https://github.com/Mahadev-05 |
| machine_learning: accept numpy.matrix inputs and add test | https://github.com/TheAlgorithms/Python/pull/14016/commits/ddb4638d9d1c867d6c6e298a9fc050d3a8cdc799 |
| ddb4638 | https://github.com/TheAlgorithms/Python/pull/14016/commits/ddb4638d9d1c867d6c6e298a9fc050d3a8cdc799 |
|
| https://github.com/Mahadev-05 |
| docs: add Ridge Regression entry to DIRECTORY.md | https://github.com/TheAlgorithms/Python/pull/14016/commits/f61c33fb4598b345212d4ad0cd00f0f515712500 |
| f61c33f | https://github.com/TheAlgorithms/Python/pull/14016/commits/f61c33fb4598b345212d4ad0cd00f0f515712500 |
|
| https://github.com/Mahadev-05 |
| fix(ci): ruff/mypy issues — lower-case doctest vars, assert weights b… | https://github.com/TheAlgorithms/Python/pull/14016/commits/1fe676ac555f15660bbe23c205bd759d84c091c0 |
| 1fe676a | https://github.com/TheAlgorithms/Python/pull/14016/commits/1fe676ac555f15660bbe23c205bd759d84c091c0 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Dec 15, 2025 | https://github.com/TheAlgorithms/Python/pull/14016#event-21576517760 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
|
Sep 13, 2026
| https://github.com/TheAlgorithms/Python/pull/14016#ref-issue-5437954679 |
|
Open Pull Request File Map
#15310
| https://github.com/TheAlgorithms/Python/issues/15310 |
|
| https://github.com/cclauss |
| Delete comment in __init__.py | https://github.com/TheAlgorithms/Python/pull/14016/commits/4946abddb01234d5a9c789201869bdc8b48046b7 |
| 4946abd | https://github.com/TheAlgorithms/Python/pull/14016/commits/4946abddb01234d5a9c789201869bdc8b48046b7 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
merge conflicts
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22merge%20conflicts%22 |
| Sep 13, 2026 | https://github.com/TheAlgorithms/Python/pull/14016#event-31043066801 |
|
| https://github.com/cclauss |
| Merge branch 'master' into feature/ridge-regression | https://github.com/TheAlgorithms/Python/pull/14016/commits/a13af4f5c955368f2eedd255c7dcc361b8f39ebd |
| a13af4f | https://github.com/TheAlgorithms/Python/pull/14016/commits/a13af4f5c955368f2eedd255c7dcc361b8f39ebd |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
merge conflicts
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22merge%20conflicts%22 |
| Sep 13, 2026 | https://github.com/TheAlgorithms/Python/pull/14016#event-31043087239 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14016/commits/8102cb14748dd494a3e80a7e8c37c24156e8e170 |
| 8102cb1 | https://github.com/TheAlgorithms/Python/pull/14016/commits/8102cb14748dd494a3e80a7e8c37c24156e8e170 |
| https://pre-commit.ci | https://pre-commit.ci |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| force-pushed | https://github.com/TheAlgorithms/Python/compare/8102cb14748dd494a3e80a7e8c37c24156e8e170..5e6293ff26eeb2448cec0b281831709bb090e1fe |
| 8102cb1 | https://github.com/TheAlgorithms/Python/commit/8102cb14748dd494a3e80a7e8c37c24156e8e170 |
| 5e6293f | https://github.com/TheAlgorithms/Python/commit/5e6293ff26eeb2448cec0b281831709bb090e1fe |
|
Compare
| https://github.com/TheAlgorithms/Python/compare/8102cb14748dd494a3e80a7e8c37c24156e8e170..5e6293ff26eeb2448cec0b281831709bb090e1fe |
| September 13, 2026 05:00 | https://github.com/TheAlgorithms/Python/pull/14016#event-31043092208 |
|
| https://github.com/marketplace/pre-commit-ci |
| updating DIRECTORY.md | https://github.com/TheAlgorithms/Python/pull/14016/commits/44122d0328538c804a383fa615ca56fb89a92901 |
| 44122d0 | https://github.com/TheAlgorithms/Python/pull/14016/commits/44122d0328538c804a383fa615ca56fb89a92901 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| force-pushed | https://github.com/TheAlgorithms/Python/compare/5e6293ff26eeb2448cec0b281831709bb090e1fe..44122d0328538c804a383fa615ca56fb89a92901 |
| 5e6293f | https://github.com/TheAlgorithms/Python/commit/5e6293ff26eeb2448cec0b281831709bb090e1fe |
| 44122d0 | https://github.com/TheAlgorithms/Python/commit/44122d0328538c804a383fa615ca56fb89a92901 |
|
Compare
| https://github.com/TheAlgorithms/Python/compare/5e6293ff26eeb2448cec0b281831709bb090e1fe..44122d0328538c804a383fa615ca56fb89a92901 |
| September 13, 2026 05:00 | https://github.com/TheAlgorithms/Python/pull/14016#event-31043097520 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Sep 13, 2026 | https://github.com/TheAlgorithms/Python/pull/14016#event-31043108247 |
|
| https://github.com/cclauss |
| Replace httpx with httpx2 in ridge_regression.py | https://github.com/TheAlgorithms/Python/pull/14016/commits/f57f406943f1484d901770ef3ff3a9715550eff1 |
| f57f406 | https://github.com/TheAlgorithms/Python/pull/14016/commits/f57f406943f1484d901770ef3ff3a9715550eff1 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Sep 15, 2026 | https://github.com/TheAlgorithms/Python/pull/14016#event-31185733216 |
|
Add Ridge Regression to Machine Learning
#12111
| https://github.com/TheAlgorithms/Python/pull/12111 |
|
Add Ridge Regression to Machine Learning
#12246
| https://github.com/TheAlgorithms/Python/pull/12246 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
|
#12246
| https://github.com/TheAlgorithms/Python/pull/12246 |
| Sep 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14016#event-31459717377 |
| https://github.co/hiddenchars |
| https://github.com/TheAlgorithms/Python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14016 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14016 |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14016 |
|
| https://github.com/Mahadev-05 |
|
| https://github.com/cclauss |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |