tapas.threat_models.attacker_knowledge.BlackBoxKnowledge
- class tapas.threat_models.attacker_knowledge.BlackBoxKnowledge(generator: Generator, num_synthetic_records: int)
Bases:
tapas.threat_models.attacker_knowledge.AttackerKnowledgeOnGeneratorThe attacker has access to the generator method with access to the generator has an exact black-box. The attacker can call the generator with the same parameters as were used to produce the real dataset.
This is the recommended assumption on attacker knowledge.
Methods
__init__(generator, num_synthetic_records)generate(training_dataset[, training_mode])Generate a synthetic dataset from a given training dataset.
Attributes
A string to represent this knowledge.
- generate(training_dataset: Dataset, training_mode: bool = True)
Generate a synthetic dataset from a given training dataset.
- property label
A string to represent this knowledge.