{"id":16553467,"url":"https://github.com/jeanjerome/semisupervised_timeseries_infogan","last_synced_at":"2025-10-28T19:30:29.318Z","repository":{"id":188905205,"uuid":"153948385","full_name":"jeanjerome/semisupervised_timeseries_infogan","owner":"jeanjerome","description":"A tensorflow implementation of informative generative adversarial network (InfoGAN ) to one dimensional ( 1D ) time series data with a supervised loss function. So it's called semisupervised Info GAN.","archived":false,"fork":false,"pushed_at":"2018-10-21T09:08:36.000Z","size":3406,"stargazers_count":29,"open_issues_count":3,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T17:35:12.865Z","etag":null,"topics":["data-augmentation","gan","python","tensorflow","time-series"],"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/jeanjerome.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":"2018-10-20T21:07:02.000Z","updated_at":"2024-12-22T11:29:44.000Z","dependencies_parsed_at":"2023-08-17T12:28:00.228Z","dependency_job_id":null,"html_url":"https://github.com/jeanjerome/semisupervised_timeseries_infogan","commit_stats":null,"previous_names":["jeanjerome/semisupervised_timeseries_infogan"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeanjerome%2Fsemisupervised_timeseries_infogan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeanjerome%2Fsemisupervised_timeseries_infogan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeanjerome%2Fsemisupervised_timeseries_infogan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeanjerome%2Fsemisupervised_timeseries_infogan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeanjerome","download_url":"https://codeload.github.com/jeanjerome/semisupervised_timeseries_infogan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238700875,"owners_count":19516017,"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":["data-augmentation","gan","python","tensorflow","time-series"],"created_at":"2024-10-11T19:48:22.343Z","updated_at":"2025-10-28T19:30:28.813Z","avatar_url":"https://github.com/jeanjerome.png","language":"Python","funding_links":[],"categories":["Related Codebase"],"sub_categories":["Time-Series"],"readme":"# semisupervised_timeseries_infogan\n\nA tensorflow implementation of Informative Generative Adversarial Network (**InfoGAN** ) to one dimensional ( **1D** ) time series data with a **supervised loss** function.\nSo it's called semisupervised Info GAN. \n\nRefer to\n1. InfoGAN ([https://arxiv.org/abs/1606.03657](https://arxiv.org/abs/1606.03657) ) \n1. AC-GAN ( Auxiliary Classifier GAN )([https://arxiv.org/abs/1610.09585](https://arxiv.org/abs/1610.09585))\n\nThis work is intended to be useful for **time series data augmentation**.\n\n\n## Dependencies\n\n1. tensorflow = 1.0.1 \n1. [sugartensor](https://github.com/buriburisuri/sugartensor) = 1.0.0.2\n1. matplotlib = 2.2.3\n\n## Sample Data\n\nYou can use any csv formatted time series data as following.\n\n\u003cpre\u003e\u003ccode\u003e\ntime,serie,target\n1,11.1,0\n2,12.2,2\n3,13.0,1\n4,14,0,2\n     .\n     .\n     .\n\u003c/code\u003e\u003c/pre\u003e\n\nThis file should be saved at 'asset/data/serie_target.csv' before you train the network. \n\n## Training the network\n\nExecute\n\u003cpre\u003e\u003ccode\u003e\npython train.py\n\u003c/code\u003e\u003c/pre\u003e\nto train the network. You can see the result ckpt files and log files in the 'asset/train' directory.\nLaunch tensorboard --logdir asset/train/run-MMDD-HHmm to monitor training process.\n\n## Generating sample time series data\n \nExecute\n\u003cpre\u003e\u003ccode\u003e\npython generate.py\n\u003c/code\u003e\u003c/pre\u003e\nto generate sample time series data.  The graph image of generated time series data will be saved in the 'asset/train' directory.\n\n## Generating sample time series data\n \nExecute\n\u003cpre\u003e\u003ccode\u003e\npython generate.py\n\u003c/code\u003e\u003c/pre\u003e\nto generate sample time series data.  The graph image of generated time series data will be saved in the 'asset/train' directory.\n\n## Generated time series data sample\n\nThis graph of time series was generated by InfoGAN network. \nYou may know that it's difficult to discriminate generated time series data from real time series data.\n \n\u003cp align=\"center\"\u003e\n  \u003cp\u003eFake time series data\u003c/p\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/jeanjerome/semisupervised_timeseries_infogan/master/asset/train/fake.png\" width=\"100%\"/\u003e\n\u003c/p\u003e  \n\u003cp align=\"center\"\u003e\n  \u003cp\u003eDecomposed time series data (depending on your data and labels)\u003c/p\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/jeanjerome/semisupervised_timeseries_infogan/master/asset/train/sample.png\" width=\"100%\"/\u003e\n\u003c/p\u003e  \n  \n\n## Based on \n\n1. [timeseries_gan](https://github.com/buriburisuri/timeseries_gan)\n1. [supervised_infogan](https://github.com/buriburisuri/supervised_infogan)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeanjerome%2Fsemisupervised_timeseries_infogan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeanjerome%2Fsemisupervised_timeseries_infogan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeanjerome%2Fsemisupervised_timeseries_infogan/lists"}