Skip to contents

Summarize a synthetic dataset as one metadata row

Usage

# S3 method for class 'synthetic_dataset'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

A synthetic_dataset.

row.names

Optional row names.

optional

Ignored.

...

Ignored.

Value

A one-row data frame.

Examples

x <- materialize.synthetic(synthetic.registry.spec("G1"), n = 20L, seed = 1L)
as.data.frame(x)
#>                                                                                                                       dataset.id
#> 1 g1.ambient.polynomial.v1__spec7c7a6177e1f65b4ad3cca9692c7e467d63efbe5d5394e8dc8d4306caace59b10__n20__seed1__rngnamed.stream.v1
#>                  recipe.id registry.tag  n intrinsic.dim ambient.dim
#> 1 g1.ambient.polynomial.v1           G1 20             2           2
#>   truth.scope      rng.policy
#> 1  population named.stream.v1
#>                                                           checksum
#> 1 69cf70bb5fd5012c7cef1382fc22c76c9096702e74a78a5fe26aba433a8366a5