{"id":26055279,"url":"https://github.com/takashiishida/pconf","last_synced_at":"2025-04-11T02:51:34.355Z","repository":{"id":71031442,"uuid":"154929494","full_name":"takashiishida/pconf","owner":"takashiishida","description":"[NeurIPS 2018] Code for the paper \"Binary Classification from Positive-Confidence Data\"","archived":false,"fork":false,"pushed_at":"2024-01-21T09:52:38.000Z","size":5880,"stargazers_count":50,"open_issues_count":0,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T00:40:44.343Z","etag":null,"topics":["deep-learning","machine-learning"],"latest_commit_sha":null,"homepage":"","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/takashiishida.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":"2018-10-27T05:28:47.000Z","updated_at":"2024-12-16T15:48:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8d48a99-6420-44a0-9984-ecb9110973f1","html_url":"https://github.com/takashiishida/pconf","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/takashiishida%2Fpconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takashiishida%2Fpconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takashiishida%2Fpconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takashiishida%2Fpconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takashiishida","download_url":"https://codeload.github.com/takashiishida/pconf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333112,"owners_count":21086193,"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":["deep-learning","machine-learning"],"created_at":"2025-03-08T10:00:57.351Z","updated_at":"2025-04-11T02:51:34.325Z","avatar_url":"https://github.com/takashiishida.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Positive-Confidence (Pconf) Classification\n\nThis repository gives the implementation for Positive-Confidence (Pconf) classification that was proposed in the paper *\"Binary Classification from Positive-Confidence Data\"* (NeurIPS 2018).\n\n## Implementation\nWe use two Gaussian distributions for the positive and negative classes.  For Guassian distributions, we can analytically calculate the positive posterior which we use for the confidence values.  We perform Pconf classification and compare it with several baselines: Naive weighted classification, one-class SVM, and fully-supervised classification.  These classifiers are implemented in `components.py`.\n\nThis code can be used to reproduce the synthetic experiments with true positive-confidence in Section 4.1 of [our paper](https://arxiv.org/abs/1710.07138).\nNote that the synthetic experiments with noisy positive-confidence can be conducted by adding zero-mean Gaussian noise to the true confidence.\n\n### Requirements\n- Python 3.6\n- numpy 1.13\n- Pytorch 0.4\n- matplotlib 2.1.1\n\n### Getting started\n```bash\n$ python visualize.py\n```\n\n### Expected results\n![](synthetics.png)\n\n### References\nFor the details, please see the paper [here](https://arxiv.org/abs/1710.07138).\n```\n@article{pconf,\n\tauthor = {Takashi Ishida and Gang Niu and Masashi Sugiyama},\n\ttitle = {Binary Classification from Positive-Confidence Data},\n\tbooktitle = {NeurIPS},\n\tyear = {2018}\n}\n```\nYou can also see some of our other materials below:\n\n- [**YouTube video**: 3 minute video explaining the main idea of Pconf classification](https://youtu.be/2BpJcOf-1XA)\n- [**Poster**: used for poster presentation at NeurIPS 2018](./poster.pdf)\n- [**Slides**: used for spotlight presentation at NeurIPS 2018](./spotlight_slides.pdf)\n\nIf you have any further questions, please feel free to send an e-mail to ishida at ms.k.u-tokyo.ac.jp.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakashiishida%2Fpconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakashiishida%2Fpconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakashiishida%2Fpconf/lists"}