{"id":14989275,"url":"https://github.com/yoch/svmloader","last_synced_at":"2025-04-12T01:30:40.941Z","repository":{"id":57472580,"uuid":"76306253","full_name":"yoch/svmloader","owner":"yoch","description":"a very fast parser for sparse matrix at libsvm format","archived":false,"fork":false,"pushed_at":"2017-11-13T15:43:53.000Z","size":1032,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T09:03:38.396Z","etag":null,"topics":["fast","libsvm-format","loader","python","scipy","sparse-data"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoch.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":"2016-12-13T00:02:04.000Z","updated_at":"2022-04-18T18:58:06.000Z","dependencies_parsed_at":"2022-09-10T04:13:44.248Z","dependency_job_id":null,"html_url":"https://github.com/yoch/svmloader","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoch%2Fsvmloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoch%2Fsvmloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoch%2Fsvmloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoch%2Fsvmloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoch","download_url":"https://codeload.github.com/yoch/svmloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248504192,"owners_count":21115132,"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":["fast","libsvm-format","loader","python","scipy","sparse-data"],"created_at":"2024-09-24T14:17:58.565Z","updated_at":"2025-04-12T01:30:40.650Z","avatar_url":"https://github.com/yoch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"svmloader\n=========\n\n**svmloader** is a very fast python module (written in cython) \nintended to load sparse data written at libsvm format.\n\nIt is not fully equivalent to `sklearn.datasets.load_svmlight_file`, \nin particular `query_id` are not supported and `dtype` is restricted.\n\nThe types of data and labels are distinguished.\nThe labels types supported are `int` and `float` (default `int`), \nand data can be parsed as `numpy.float64` or `numpy.float32` type (`float64` by default).\n\nCompressed data in .gz or .bz2 format is supported as well.\n\nInstall\n-------\n\nSimply use `pip install svmloader`.\n\nAlternatively, you can clone the repository and run `python setup.py install`.\n\n\nDependencies :\n- numpy\n- scipy\n\n\nDocumentation\n-------------\n\nSee [here](http://svmloader.readthedocs.io/en/latest/).\n\n\nBenchmarks\n----------\n\nBenchmarks on data taken from [libsvm datasets](https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/).\n\n\n| dataset *(shape, nonzeros)*                       | sklearn  | svmloader |\n| :---                                              |     ---: |    ---: |\n| **mnist.scale** (60000x780, 8994156)              | 78.1s    |  1.5s   |\n| **rcv1_test.multiclass** (518571x47236, 33486015) | 1004.3s  |  7.9s   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoch%2Fsvmloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoch%2Fsvmloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoch%2Fsvmloader/lists"}