{"id":31781221,"url":"https://github.com/giuse/jsvq","last_synced_at":"2026-03-12T11:35:06.130Z","repository":{"id":24865713,"uuid":"28281284","full_name":"giuse/jsvq","owner":"giuse","description":"Java code for Sparse Vector Quantization","archived":false,"fork":false,"pushed_at":"2015-01-01T18:25:29.000Z","size":376,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T08:40:51.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-20T22:37:39.000Z","updated_at":"2015-01-01T18:25:30.000Z","dependencies_parsed_at":"2022-08-22T17:40:10.361Z","dependency_job_id":null,"html_url":"https://github.com/giuse/jsvq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/giuse/jsvq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fjsvq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fjsvq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fjsvq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fjsvq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuse","download_url":"https://codeload.github.com/giuse/jsvq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fjsvq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27777206,"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","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-10T08:31:40.304Z","updated_at":"2025-12-17T04:42:47.257Z","avatar_url":"https://github.com/giuse.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java implementation of Sparse Vector Quantization\n\nJust a quick version of VQ in Java tested in isolation, to be imported in another project.\nI want it to use Sparse Code rules to train the centroids and to code inputs.\nThe objective is Compressed Sensing, with online training to retain trace of what passes through the compressor.\n\nStay tuned.\n\n### SVQ Autotrain notes\nUSE CASE: an individual codes images with SVQ. SVQ holds a unique TrainingSet, which in turn differenciates the images coming from different individuals, even in parallel. Each time an image gets coded, the SVQ also tries to add it to the TS. Only the `SVQ.nImgsPerImport` images with poorest reconstruction (lowest best-similarity against the set of centroids) per each individual are kept. When a population evaluation finishes, a call to `flush()` returns all the images added so far by all individuals (i.e. up to `nImgsPerImport*popsize` images per generation), and resets the state of the training set for the next generation. At this point, the SVQ will be trained on these images, and is ready for the next generation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse%2Fjsvq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuse%2Fjsvq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse%2Fjsvq/lists"}