Skip to content

Commit

Permalink
Transform dataset wis & ate prompts (#6352)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnyama authored Feb 3, 2025
1 parent 8e7ccf0 commit 2180a29
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,14 @@ const updateKernelState = (newKernelState: any) => {
};
const sampleAgentQuestions = [
'I have two dataframes d1, d2. Join them on the column named "date". Name the joined dataframe d3.',
'I have a dataframe d1. Show me the data types by column.',
"I have three dataframes d1, d2, d3. d1 is incident case counts. d2 is incident hospitalization counts. d3 is cumulative death counts. Let's assume that average time to recover is 14 days and average time to exit the hospital is 10 days. Can you convert this data into prevalence data? Ideally please map it to SIRHD. Assume a population of 150 million.",
'Add a new column to the dataframe d1 that indexes the rows from 0, 1, 2 to N.',
'Download geojson of US counties from the Plotly GitHub repo using urlopen.',
'I have a geopandas dataframe d1. Use Matplotlib to create a chloropleth map using the column R0. Use the cividis colormap. Add a colorbar.'
'I have two dataframes d1, d2. Join them on the column named "date". Name the joined dataframe d3',
'I have a dataframe d1. Show me the data types by column',
"I have three dataframes d1, d2, d3. d1 is incident case counts. d2 is incident hospitalization counts. d3 is cumulative death counts. Let's assume that average time to recover is 14 days and average time to exit the hospital is 10 days. Can you convert this data into prevalence data? Ideally please map it to SIRHD. Assume a population of 150 million",
'Add a new column to the dataframe d1 that indexes the rows from 0, 1, 2 to N',
'Download geojson of US counties from the Plotly GitHub repo using urlopen',
'I have a geopandas dataframe d1. Use Matplotlib to create a chloropleth map using the column R0. Use the cividis colormap. Add a colorbar',
'Calculate the average treatment effect (ATE) on the outcome "I_state" (number of infected persons) between the simulated forecast dataset with treatment (d1) and the baseline one without treatment (d2)',
'Calculate the weighted interval score (WIS) on the outcome "I_state" (number of infected persons) between the forecast simulation dataset (d1) and the observed ground truth dataset (d2). Use the quantiles required by the CDC COVID-19 Forecast Hub'
];
const notebookSession = ref(<NotebookSession | undefined>undefined);
Expand Down

0 comments on commit 2180a29

Please sign in to comment.