{"id":19381120,"url":"https://github.com/j2kun/svd","last_synced_at":"2025-04-23T20:31:52.401Z","repository":{"id":71944856,"uuid":"41609151","full_name":"j2kun/svd","owner":"j2kun","description":"Python code implementing the power method for Singular Value Decomposition","archived":false,"fork":false,"pushed_at":"2023-07-04T02:04:01.000Z","size":5930,"stargazers_count":104,"open_issues_count":4,"forks_count":38,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-02T19:46:52.195Z","etag":null,"topics":["algorithm","linear-algebra","optimization","programming","python","svd"],"latest_commit_sha":null,"homepage":"https://jeremykun.com/2016/05/16/singular-value-decomposition-part-2-theorem-proof-algorithm/","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/j2kun.png","metadata":{"files":{"readme":"README.md","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":"2015-08-29T22:23:13.000Z","updated_at":"2025-04-02T08:24:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"94cc2019-cb64-4e6b-8fe4-ed862d9ecb54","html_url":"https://github.com/j2kun/svd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fsvd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fsvd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fsvd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fsvd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j2kun","download_url":"https://codeload.github.com/j2kun/svd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509680,"owners_count":21442476,"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":["algorithm","linear-algebra","optimization","programming","python","svd"],"created_at":"2024-11-10T09:15:55.884Z","updated_at":"2025-04-23T20:31:50.098Z","avatar_url":"https://github.com/j2kun.png","language":"Python","readme":"# SVD\n\nAn implementation of the greedy algorithm for SVD, using the power method for the 1-dimensional case.\n\nFor the post [Singular Value Decomposition Part 2: Theorem, Proof, Algorithm](http://jeremykun.com/2016/05/16/singular-value-decomposition-part-2-theorem-proof-algorithm/)\n\nAnd the first (motivational) post in the series: [Singular Value Decomposition Part 1: Perspectives on Linear Algebra](https://jeremykun.com/2016/04/18/singular-value-decomposition-part-1-perspectives-on-linear-algebra/)\n\n# Setup\n\nRun the following to set up all the requirements needed to run the code in this repository.\n\n```\n$ virtualenv venv\n$ source venv/bin/activate\n$ pip install -r requirements.txt\n$ bash setup.sh   # downloads relevant NLP corpora from nltk\n```\n\nThen run `python3 topicmodel.py` for the main topic-model routine, `svd.py` for the core svd algorithm, and `demo.py` for the numpy examples from the post.\n\nWhen finished, run `$ deactivate` to exit the virtual environment.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj2kun%2Fsvd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj2kun%2Fsvd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj2kun%2Fsvd/lists"}