Andy Lau commited on
Commit
9d9aab3
1 Parent(s): 044bbf5
Files changed (3) hide show
  1. app.py +20 -0
  2. figures/IO.png +0 -0
  3. requirements.txt +0 -0
app.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import numpy as np
3
+ import pandas as pd
4
+ import PIL
5
+
6
+ # ---- Title Screen -----------
7
+ st.title('Image Optimization: Email Industry')
8
+
9
+ # image = Image.Open('figures/ModelIO.png')
10
+
11
+ img = PIL.Image.open('figures/IO.png')
12
+ st.image(img)
13
+
14
+ st.markdown('Adding an image to an email campaign that will provide optimal engagement metrics can be challenging. How do you know which image to upload to your HTML, that will make an impact or significantly move the needle? And why would this image garner the best engagement? This model seeks to help campaign engineers understand which images affect their user engagement rate the most. The specific model is implemented using ResNet 18 and ResNet 34 for image embeddings extraction, and then we used these image embeddings as further inputs into a Gradient Boosted Tree model to generate probabilities on a user-specified target variable. The base model was adapted to car images and accurately predicted the user engagement rates with 91% accuracy. This model is adaptable for any large-scale marketing campaign using images. This model will identify the best images for optimal engagement for an email marketing campaign and serve engagement metrics prior to campaign launch. The model serves up several different images in milliseconds, so the campaign engineer understands which image to select in the campaign for optimized engagement.')
15
+
16
+
17
+
18
+
19
+
20
+ #
figures/IO.png ADDED
requirements.txt ADDED
File without changes