Create custom populations from arbitrary user data
Parameter | Type | Description |
---|---|---|
name | string | Display name for your population |
description | string | Detailed description or documentation link |
seed_data | file/path | CSV file containing tabular QA pair data |
reality_target | string | Description of the target user profile |
simulation_engine | string | Simulation engine version (typically “answers-1”) |
population_options | object | Tells the API about the data in your seed data file |
run_test | boolean | Whether to automatically test the population after creation |
question_options
key. The value of question_options
should be a valid JSON list containing one object for each question column in the dataset. The sim_id
column does not need to be referenced.
Question options field descriptions:
question_number
: A 1-based index reference to the column in the seed data file these questions options describe. For example, when setting question objects for the 3rd question column in the dataset, which would be the 4th column in the CSV after the sim_id
column, the question_number
should be 3
.
question_type
: An enum describing the question type for that question column. Must be one of: single-choice
, multiple-choice
, open-ended
.
limit
(optional): For multiple-choice
questions only, this sets the maximum number of choices respondents were allowed to select.
question_options
list must contain one object for each question column in the seed data file.question_number
values should be integers corresponding to the 1-based column positions in your CSV file. The order of the question option objects doesn’t matter, but we suggest sequential ordering to avoid confusion.question_type
specified for a column must match the actual data for that column in the CSV.Processing
Processing
while Semilattice processes and stores your data.
Untested
Untested
. At this point:
Testing
Testing
while Semilattice evaluates the population’s prediction accuracy.
Tested
Tested
and the population will have accuracy metrics available for review.
run_test=True
when creating the population:
Processing
→ Untested
→ Testing
→ Tested
Untested
population:
Tested