tapas.generators.generator.ReprosynGenerator

class tapas.generators.generator.ReprosynGenerator(reprosyn_class, label=None, **kwargs)

Bases: tapas.generators.generator.Generator

A wrapper for reprosyn objects. This is better than the CLI, which fetches theh config JSON file from the GitHub repo (?).

__init__(reprosyn_class, label=None, **kwargs)

Methods

__init__(reprosyn_class[, label])

fit(dataset)

Fitting does nothing, as we don't yet know the output size.

generate(num_samples)

Instantiate a reprosyn model, run it, and return output.

Attributes

label

Cherry on top.

fit(dataset)

Fitting does nothing, as we don’t yet know the output size.

generate(num_samples)

Instantiate a reprosyn model, run it, and return output.

property label

Cherry on top.