-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgan.Rd
More file actions
28 lines (22 loc) · 954 Bytes
/
gan.Rd
File metadata and controls
28 lines (22 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gan-fns.R
\name{gan}
\alias{gan}
\title{GAN}
\usage{
gan(data, file = system.file("python/gan.py", package = "rgan"),
epochs = 500, batch_size = 32, model_name = "gan_r",
continue_training = FALSE, trace = 100)
}
\arguments{
\item{data}{Training data in the form of a matrix. Each row is an observation, each column is a time point.}
\item{file}{Location of the python file containing the GAN functions}
\item{epochs}{Number of epochs. Default 500}
\item{batch_size}{Batch size for each training iteration}
\item{model_name}{Name of the model to submit to Python. Default 'gan_r'.}
\item{continue_training}{Logical. If you want to continue to train a model set to TRUE.}
\item{trace}{Frequency at which to write to the log. Convenient to monitor progress. Logs saved at './log/' in package directory}
}
\description{
Runs the GAN in Python and returns the results
}