-
Notifications
You must be signed in to change notification settings - Fork 1
Description
(cf. #32)
To generate simulated responses and export them I execute:
space = daptics.get_experimental_space()
design = daptics.design
experiments = daptics.random_experiments_with_responses(space, design)
expsim = daptics.simulate_experiment_responses(experiments)
daptics.export_csv(csv_experiments_file, expsim, True)
This works to the extent that csv_experiments_file has the right simulated results
But then when I request next gen design with
newgen = daptics.put_experiments_csv(
DapticsExperimentsType.DESIGNED_WITH_OPTIONAL_EXTRAS,
csv_experiments_file)
I get error
Task failed with error(s)! Messages are:
[0] category: execution
[0] fatalError: None
[0] message: Experiments in Experiments1.csv do not match those of generation 1
[0] systemError: None
My diagnosis is that the call daptics.random_experiments_with_responses installs the random experiments in Experiments1.csv, and then there is a skew between those and the simulated response experiments in csv_experiments_file.
Proposed solution: dispense with current daptics.simulate_experiment_responses, create new daptics.simulated_experiments_with_responses that is exactly like daptics.random_experiments_with_responses (including installation of Experiments1.csv on backend), except using simulated responses instead of random.
Actually better names would be:
daptics.experiments_with_random_responses
daptics.experiments_with_simulated_responses
I will work on this in new branch...