{"id":18612386,"url":"https://github.com/winvector/typicalitycoding","last_synced_at":"2025-08-20T07:11:39.342Z","repository":{"id":189609018,"uuid":"674805696","full_name":"WinVector/TypicalityCoding","owner":"WinVector","description":"Simple example of how to use an embedding plus sphering/whitening transform to measure difference in distribution.","archived":false,"fork":false,"pushed_at":"2023-09-07T01:19:09.000Z","size":1659,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-16T23:35:48.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WinVector.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-04T20:37:25.000Z","updated_at":"2023-08-20T23:46:47.000Z","dependencies_parsed_at":"2024-12-27T02:23:39.730Z","dependency_job_id":null,"html_url":"https://github.com/WinVector/TypicalityCoding","commit_stats":null,"previous_names":["winvector/typicalitycoding"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WinVector/TypicalityCoding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2FTypicalityCoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2FTypicalityCoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2FTypicalityCoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2FTypicalityCoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WinVector","download_url":"https://codeload.github.com/WinVector/TypicalityCoding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2FTypicalityCoding/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270173393,"owners_count":24539590,"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-08-13T02:00:09.904Z","response_time":66,"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":"2024-11-07T03:17:00.317Z","updated_at":"2025-08-13T03:17:08.316Z","avatar_url":"https://github.com/WinVector.png","language":"Jupyter Notebook","readme":"# TypicalityCoding\n\nMaterials to support the blog article [Detecting Data Differences Using the Sphering Transform](https://win-vector.com/2023/08/20/detecting-data-differences-using-the-sphering-transform/).\n\n[Simple example notebook](https://github.com/WinVector/TypicalityCoding/blob/main/example_sphering_transform.ipynb) of how to use an embedding plus sphering/whitening transform to measure difference in distribution.  \n\nFurther Examples:\n* [The sphering transform for anomaly detection on CNC vibration data.](https://github.com/WinVector/TypicalityCoding/blob/main/test_cnc_anomaly.ipynb)\n* [An example of applying the sphering transform to text embeddings: detecting changes in a text corpus.](https://github.com/WinVector/TypicalityCoding/blob/main/text_embedding_example.ipynb)\n\nTo install environment:\n    `conda env create --file=tc_env_def.yaml`\n\nSpecific versions used saved as:\n    `conda list --export \u003e tc_env_list.txt`\n\nTo use environment:\n    `conda activate tc_env`\n\nDownload data from:\n    https://drive.google.com/drive/folders/1sXtDqNF-D0mypORzfevir_eH9FdG2668?usp=sharing\n    and then unzip \n\nTo run tests:\n    `python -m pytest tests`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinvector%2Ftypicalitycoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinvector%2Ftypicalitycoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinvector%2Ftypicalitycoding/lists"}