Sample Realistic Data
Create realistic synthetic data data that follows the same format and mathematical properties as the real data.
Use this function to create synthetic data that mimics the real data
synthetic_data = synthesizer.sample(
num_sequences: An integer >0 describing the number of sequences to sample
sequence_length: An integer >0 describing the length of each sequence. If you provide
None, the synthesizer will determine the lengths algorithmically, and the length may be different for each sequence. Defaults to
Use this function to reset any randomization in sampling. After calling this, your synthesizer will generate the same data as before. For example in the code below,
synthetic_data2are the same.
synthetic_data1 = synthesizer.sample(num_sequences=1000)
synthetic_data2 = synthesizer.sample(num_sequences=1000)
Returns None. Resets the synthesizer.