{"id":18620478,"url":"https://github.com/pythonot/snekhorn","last_synced_at":"2025-11-03T12:30:21.050Z","repository":{"id":198727115,"uuid":"700884656","full_name":"PythonOT/SNEkhorn","owner":"PythonOT","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-27T12:47:40.000Z","size":12964,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T04:25:35.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/PythonOT.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,"governance":null}},"created_at":"2023-10-05T13:39:08.000Z","updated_at":"2024-01-30T21:36:01.000Z","dependencies_parsed_at":"2023-10-27T13:33:07.635Z","dependency_job_id":null,"html_url":"https://github.com/PythonOT/SNEkhorn","commit_stats":null,"previous_names":["pythonot/snekhorn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonOT%2FSNEkhorn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonOT%2FSNEkhorn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonOT%2FSNEkhorn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonOT%2FSNEkhorn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonOT","download_url":"https://codeload.github.com/PythonOT/SNEkhorn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239413782,"owners_count":19634307,"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-07T04:06:18.727Z","updated_at":"2025-11-03T12:30:21.004Z","avatar_url":"https://github.com/PythonOT.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SNEkhorn\n\nImplementation of the paper [SNEkhorn: Dimension Reduction with Symmetric Entropic Affinities](https://hal.science/hal-04103326) (NeurIPS 2023). SNEkhorn is a dimension reduction method based on optimal transport and symmetric entropic affinities. \n\n\n\nFeel free to ask if any question.\n\nTo intall the toobox run the following code in a shell:\n```\npip install -e .\n```\n\nThe main class can be imported as\n```\nfrom snekhorn import SNEkhorn\n```\n\nIf you use this toolbox in your research and find it useful, please cite SNEkhorn using the following bibtex reference:\n\n```\n@inproceedings{snekhorn2023,\ntitle={{SNE}khorn: Dimension Reduction with Symmetric Entropic Affinities},\nauthor={Van Assel, Hugues and Vayer, Titouan and Flamary, R{\\'e}mi and Courty, Nicolas},\nbooktitle={Thirty-seventh Conference on Neural Information Processing Systems (NeurIPS)},\nyear={2023},\nurl={https://openreview.net/forum?id=y9U0IJ2uFr}\n}\n```\n\n* Some simple demos are presented in the demo folder:\n\t- [example_affinities.py](/demo/example_affinities.py): illustrates the toolbox for calculating the symmetric entropic affinities.\n\t- [example_simple_snekhorn.py](/demo/example_simple_snekhorn.py): simple example that uses SNEkhorn.\n    - [example_coil.py](/demo/example_coil.py): comparison of tSNE/tSNEkhorn on COIL dataset.\n\t- [example_fig5_paper.py](/demo/example_fig5_paper.py): replicate the Figure 5 of the paper.\n\t\n* You can compare the performances of SNEkhorn on SNAREseq/COIL data by running the files in the expes folder. \n\n### Prerequisites\n\n* Pytorch \n* Matplotlib\n* Pillow\n\n### Authors\n\n* [Hugues Van Assel](https://huguesva.github.io/)\n* [Titouan Vayer](https://tvayer.github.io/)\n* [Rémi Flamary](https://remi.flamary.com/index.fr.html)\n* [Nicolas Courty](https://people.irisa.fr/Nicolas.Courty/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonot%2Fsnekhorn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonot%2Fsnekhorn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonot%2Fsnekhorn/lists"}