Skip to content

Commit

Permalink
Merge pull request #304 from pegasystems/Conversion_Monitoring
Browse files Browse the repository at this point in the history
Supporting basic IH analysis
  • Loading branch information
operdeck authored Dec 22, 2024
2 parents 39e7e14 + 2e50c51 commit 8438d82
Show file tree
Hide file tree
Showing 4 changed files with 344 additions and 984 deletions.
29 changes: 20 additions & 9 deletions examples/ih/Conversion_Reporting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@
"metadata": {},
"outputs": [],
"source": [
"ih.plots.conversion_overall_gauges(\n",
" experiment_field=\"ExperimentGroup\",\n",
"ih.plots.overall_gauges(\n",
" metric=\"Conversion\",\n",
" condition=\"ExperimentGroup\",\n",
" by=\"Channel\",\n",
" reference_values={\"Web\": 0.055, \"Email\": 0.09},\n",
")"
Expand All @@ -78,7 +79,7 @@
"metadata": {},
"outputs": [],
"source": [
"ih.plots.conversion_success_rates_tree_map()\n"
"ih.plots.success_rates_tree_map(metric=\"Conversion\")\n"
]
},
{
Expand All @@ -96,10 +97,20 @@
"metadata": {},
"outputs": [],
"source": [
"ih.plots.conversion_success_rates_trend_bar(\n",
" experiment_field=\"ExperimentGroup\",\n",
"ih.plots.success_rates_trend_bar(\n",
" metric=\"Conversion\",\n",
" condition=\"ExperimentGroup\",\n",
" every=\"1w\",\n",
")"
")\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"ih.plots.success_rates_trend(metric=\"Conversion\", every=\"1d\")"
]
},
{
Expand All @@ -115,8 +126,8 @@
"metadata": {},
"outputs": [],
"source": [
"ih.plots.egagement_overall_gauges(\n",
" experiment_field=\"ExperimentGroup\",\n",
"ih.plots.overall_gauges(\n",
" condition=\"ExperimentGroup\",\n",
" by=\"Channel\",\n",
" reference_values={\"Web\": 0.20, \"Email\": 0.20},\n",
")"
Expand All @@ -128,7 +139,7 @@
"metadata": {},
"outputs": [],
"source": [
"ih.plots.conversion_success_rates_trend_line(\n",
"ih.plots.success_rates_trend(\n",
" by=\"Channel\"\n",
")"
]
Expand Down
Loading

0 comments on commit 8438d82

Please sign in to comment.