RGAN | generative adversarial networks | Machine Learning library
kandi X-RAY | RGAN Summary
kandi X-RAY | RGAN Summary
Idea: Use generative adversarial networks (GANs) to generate real-valued time series, for medical purposes. As the title suggests. The GAN is RGAN because it uses recurrent neural networks for both encoder and decoder (specifically LSTMs). We aim to generate time series from ICU patients, using the open-access eICU dataset. However, we also generate some non-medical time-series, like sine waves and smooth functions sampled from Gaussian Processes, and MNIST digits (imagined as a time series). Sharing medical data is hard, because it comes from real people, and is naturally highly sensitive (not to mention legally protected). One workaround for this difficultly would be to create sufficiently realistic synthetic data. This synthetic data could then be used to reproducibly develop and train machine learning models, enabling better science, and ultimately better models for medicine. We claim in this paper, that synthetic data is useful when it can be used to train a model which can perform well on real data. So, we use the performance of a classifier trained on the synthetic data, then tested on real data as a measure of the quality of the data. We call this the "TSTR score". This is a way of evaluating the output of a GAN without relying on human perceptual judgements of individual samples. We also include the case where the GAN is trained in a differentially private manner, to provide stronger privacy guarantees for the training data. We mostly just use the differentially private SGD optimiser and the moments accountant from here (with some minor modifications).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- View marginalized marginal distribution
- Displays the marginal marginal distribution of the data
- Scale the data
- Minimize the loss function
- Sanitize x
- Compute the sanitized gradients
- Compute TSTRU
- Define a tensorflow
- Sample a trained model
- Plot the trace of an experiment
- Run TST on the given epoch
- Get the training errors for a given epoch
- Minimize the loss
- Extract static information from the eICU
- Splits the samples according to the given proportions
- Load samples and labels from data
- Argument parser
- Memorise a TSTR experiment
- Generate synthetic data
- Generates a tensorflow
- Split samples according to the given proportions
- Runs the simulation
- Train an epoch
- Downsampling of a list of patient ids
- Generate toy plot
- Define discriminator
- Save a MNIST plot
- Transformer decoder
RGAN Key Features
RGAN Examples and Code Snippets
Community Discussions
Trending Discussions on RGAN
QUESTION
I'm training a model (a generative adversarial network) over an input-set using Tensorflow, and I would like to save model's parameters every 50 epochs.
Let say that I want to train the model for 1000 epochs, and save the model's parameters every 50 epoch, which would end up having 20 different checkpoint files.
By having a Session, and a Saver object, I simply use the following code to do so.
...ANSWER
Answered 2018-Oct-10 at 05:36tf.train.Saver
has a max_to_keep
argument that is set to 5 by default. You can pass 0 to keep all checkpoints:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install RGAN
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page