View source: R/data_simulation.R
simulate_shapes | R Documentation |
generates images of rectangles and ellipsoids
simulate_shapes(n, size, channels = 1)
n |
number of images |
size |
size of the (quadratic) images |
channels |
number of channels the generated data has (in each channel a new rectangle/ellipsoid is created) |
This function generates simple data to demonstrate the usage of cnn(). The generated images are of centered rectangles and ellipsoids with random widths and heights.
array of dimension (n, 1, size, size)
Armin Schenk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.