gdGenerate: Generate generative data for a data source

Description Usage Arguments Value Examples

View source: R/gdGenerate.R

Description

Read a data source from a file, generate generative data for the data source in iterative training steps and write generated data to a file in binary format. When a higher number of iterations is used the distribution of generated data gets closer to that of the data source.

Usage

1
2
3
4
5
6
7
gdGenerate(
  dataSourceFileName,
  generativeDataFileName,
  numberOfIterations,
  keepProbability,
  columnIndices
)

Arguments

dataSourceFileName

Name of data source file

generativeDataFileName

Name of generative data file

numberOfIterations

Number of iterations. In this version the limit of number of iterations is set to 50000.

keepProbability

Value in the range of 0 to 1 which is used in training of neural networks to train generalized networks.

columnIndices

Vector of two column indices that are used to plot two-dimensional projections of normalized generated generative data and data source for a training step. Indices refer to indices of active columns of data source.

Value

None

Examples

1
gdGenerate("iris4d.bin", "gd.bin", 2500, 0.95, c(1, 2))

ganGenerativeData documentation built on Oct. 10, 2021, 1:10 a.m.