{"id":13782209,"url":"https://github.com/ILoveAI2019/OCAN","last_synced_at":"2025-05-11T15:32:22.243Z","repository":{"id":215845304,"uuid":"147039525","full_name":"ILoveAI2019/OCAN","owner":"ILoveAI2019","description":"OCAN: One-Class Adversarial Nets for Fraud Detection","archived":false,"fork":false,"pushed_at":"2018-09-12T21:54:28.000Z","size":16770,"stargazers_count":23,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-17T17:43:05.408Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ILoveAI2019.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-09-01T23:25:19.000Z","updated_at":"2024-08-28T10:00:28.000Z","dependencies_parsed_at":"2024-01-16T03:45:41.585Z","dependency_job_id":"5900b609-a406-492c-8c9d-2f0423a1676b","html_url":"https://github.com/ILoveAI2019/OCAN","commit_stats":null,"previous_names":["iloveai2019/ocan"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAI2019%2FOCAN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAI2019%2FOCAN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAI2019%2FOCAN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAI2019%2FOCAN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ILoveAI2019","download_url":"https://codeload.github.com/ILoveAI2019/OCAN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253588672,"owners_count":21932299,"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-08-03T18:01:34.071Z","updated_at":"2025-05-11T15:32:17.232Z","avatar_url":"https://github.com/ILoveAI2019.png","language":"Python","funding_links":[],"categories":["2019"],"sub_categories":[],"readme":"\n# OCAN: One-Class Adversarial Nets for Fraud Detection\n\nIn this paper, we develop one-class adversarial nets (OCAN) for fraud detection with only benign users as training data. \n\n## Running Environment\n\nThe main packages you need to install are listed as follow\n\n```\n1. python 2.7 \n2. tensorflow 1.3.0\n```\n\n## DateSet\n\nFor experiments, we evaluate **OCAN** on two real-world datasets: wiki and credit-card which have been attached in folder [data/](https://github.com/PanpanZheng/OCAN/tree/master/data).\n\n## Model Evaluation\n\nThe command line for OCAN goes as follow\n\n```\n    python oc_gan.py $1 $2\n```\n**where** $1 refers to different datasets with wiki 1, credit-card(encoding) 2 and credit-card(raw) 3; $2 denotes whether some metrics, such as fm_loss and f1 in training process, are provided, with non-display 0 and display 1.\n\n\n```\n   e.g. python oc_gan.py 1 0 \n```\nThe above command line shows the performance of OCAN on wiki without displaying metrics in the training process.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FILoveAI2019%2FOCAN","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FILoveAI2019%2FOCAN","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FILoveAI2019%2FOCAN/lists"}