Transcript
Page 1: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Sandeep Atluri, Data Scientist, AWS Mobile

19th August,2015

Analyze Mobile App Data and Build Predictive Applications

Page 2: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

“If you can’t measure it ,you can’t improve it”-Lord Kelvin

Page 3: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Retrospective reporting to analyze trends and to know what's happening in the business

Predictive applications to anticipate user behavior and to

enhance experience

Inquisitivepattern finding to

discover latent user behavior and to frame strategies accordingly

Three Types of Data Driven Development

Page 4: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

How many users use the app and how often?

What are key user behaviors in the app?

Your Mobile

App

How to predict user behavior and use those predictions to enhance their experience ?

In the Context of a Mobile App

Page 5: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

THREE TYPES OF DATA DRIVEN DEVELOPMENT

Retrospective reporting to analyze trends and to know what's happening in the business

Predictive applications to anticipate user behavior and to

enhance experience

Inquisitivepattern finding to

discover latent user behavior and to frame strategies accordingly

Page 6: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Let’s just say you have built a music app Music App

Page 7: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Let’s just say you have built a music app

What are some of the questions that would help you analyze trends in the app?

Music App

Page 8: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Engagement

How many users use the app daily to listen music ?

How many times users open the app to listen music in a day?

How many new users have been acquired to the app ?

Monetization How many paying users does the app have ?

How much does a average paying user pay ?

Retention

How many people returned to listen music in the first 7 days after they have installed the app ?

Behavioral

How many users shared or liked a particular artist ?

Few Key Questions to Analyze Trends in the App

Page 9: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug 65,450,000

65,500,000

65,550,000

65,600,000

65,650,000

65,700,000

Time spent in the app (total session length)

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug 3,000,000 3,050,000 3,100,000 3,150,000 3,200,000 3,250,000 3,300,000 3,350,000

Number of app opens (Sessions)

Push notification Marketing campaign

Push notification Marketing campaign

Music App

Engagement

Page 10: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Marketing campaign did successfully improve app opens but did not result in users spending more time in the app

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug 65,450,000

65,500,000

65,550,000

65,600,000

65,650,000

65,700,000

Time spent in the app (total session length)

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug 3,000,000 3,050,000 3,100,000 3,150,000 3,200,000 3,250,000 3,300,000 3,350,000

Number of app opens (Sessions)

Push notification Marketing campaign

Push notification Marketing campaign

Engagement

Music App

Page 11: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug $1,000

$2,000

$3,000

$4,000

$5,000

$6,000

Revenue

Promotion in app store

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug0

20

40

60

80

100

Number of paying users

Promotion in app store

Monetization

Music App

Page 12: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug $1,000

$2,000

$3,000

$4,000

$5,000

$6,000

Revenue

Promotion in app store

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug0

20

40

60

80

100

Number of paying users

Promotion in the app store increased the over all revenue and more importantly the number of paying users as well

Promotion in app store

Music App

Monetization

Page 13: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug50%

55%

60%

65%

70%

75%

80%

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug36%

40%

44%

48%

52%

Introduction of demo video

Week 1 Retention

Introduction of demo video

Day 1 Retention

Music App

Retention

Page 14: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug50%

55%

60%

65%

70%

75%

80%

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug36%

40%

44%

48%

52%

Introduction of demo video

Week 1 Retention

Introduction of demo video

Day 1 Retention

Changing the first time experience in the app has significantly improved retention in the app

Music App

Retention

Page 15: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug0

5000100001500020000250003000035000

Number of purchases of a music track

Promoting the track in the gallery

Number of likes/shares for an Artist

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug0

1000200030004000500060007000 Promoting the track in the gallery

Music App

Behavioral

Page 16: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug0

5000100001500020000250003000035000

Number of purchases of a music track

Promoting the track in the gallery

Number of likes/shares for an Artist

1-Aug

3-Aug

5-Aug

7-Aug

9-Aug

11-A

ug

13-A

ug

15-A

ug0

1000200030004000500060007000 Promoting the track in the gallery

Promoting the track has not only increased purchases for the track but has also increased the number of shares for the artist

Music App

Behavioral

Page 17: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Is there a easy way to track all these metrics automatically as soon as users start to use your app ?

Page 18: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Amazon Mobile Analytics“Collect, visualize and export your app usage data at scale”

Scalable and Generous Free Tier

Scale to billions of events per day from

millions of users.

Own Your Data

Data collected are not shared, aggregated, or

reused

Focus on metrics that matter. Usage reports

available within 60 minutes of receiving data

from an app

Fast

Page 19: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Key Business Metrics

1. Monthly Active Users (MAU) 2. Daily Active Users (DAU) 3. New Users, 4. Daily Sessions5. Sticky Factor 6. 1-Day Retention7. Avg. Revenue per DAU 8. Daily Paying Users9. Avg. Paying DAU

Get Metrics Important for Your App in a Single View

Page 20: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Get a Detailed View of Each Business Metric

Page 21: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Track Unique Behavior to Your App Using Custom Events

Page 22: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Retrospective reporting to analyze trends and to know what's happening in the business

Predictive applications to anticipate user behavior and to

enhance experience

Inquisitivepattern finding to

discover latent user behavior and to frame strategies accordingly

Three Types of Data Driven Development

Page 23: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Going beyond standard metrics will give you more insight in to user behavior

Page 24: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

How does usage pattern vary for users with different demographic profiles?

Who are the most engaged users and what are their usage patterns ?

How does user population distribute across countries and platform ?

How much time does it takes for a user to convert to a paying user ?

Music App

Few Questions that Will Help you Understand your Users Better

Page 25: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15+

23%

8% 7% 6% 6%4% 3% 3% 2% 2% 2% 2% 2% 1%

29%

Highly engaged users opening the app more than 15 times

Users with low engagement

Number of times app was opened in last 7 days

Who are the Most Engaged Users and What are their Usage Patterns?

Page 26: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15+

23%

8% 7% 6% 6%4% 3% 3% 2% 2% 2% 2% 2% 1%

29%

Highly engaged users opening the app more than 15 times

Users with low engagement

Number of times app was opened in last 7 days

Design strategies to influence users with low engagement and convert them to highly engaged users

Who are the Most Engaged Users and What are their Usage Patterns?

Page 27: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

16-2020-2525-3030-3535-4040-4545-5050-5555-6060-70

70+

30 20 10 0 10 20 30Female Male

Time spent in the app(minutes)

Age

How Does Usage Pattern Vary for Users with Different Demographic Profiles?

Page 28: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Understand your core user demographic profile and deliver relevant content to them

16-2020-2525-3030-3535-4040-4545-5050-5555-6060-70

70+

30 20 10 0 10 20 30Female Male

Time spent in the app(minutes)

Age

How Does Usage Pattern Vary for Users with Different Demographic Profiles?

Page 29: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

How Does User Population Distribute Across Countries and Platform?

Page 30: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Formulate new user acquisition plans in countries that the app has low penetration

How Does User Population Distribute Across Countries and Platform?

Page 31: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1 2 3 4 5 6 7 8 9 10 11+

6%

8%

10%

12%

13% 13%12%

10%

8%

5%4%

Number of days before first in app purchase

How Many Days Does it Take for a First Time User to Convert to a Paying User?

Page 32: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

1 2 3 4 5 6 7 8 9 10 11+

6%

8%

10%

12%

13% 13%12%

10%

8%

5%4%

Number of days before first in app purchase

Target users who have spent more than 8 days in the app and are yet to purchase

How Many Days Does it Take for a First Time User to Convert to a Paying User?

Page 33: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Amazon Mobile Analytics

Amazon S3 &Amazon Redshift

Auto Export to Amazon Redshift

Page 34: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Simple & intuitive

Integrate with existing data models

Automatically collect common attributes

Schema for Your App’s Event Data

Page 35: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Mobile Analytics Data Query and Visualize

Amazon Redshift

Augment your data

Sales and Marketing

Now Easy to Query and Visualize

Your Mobile

App

Page 36: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SQL Query

select “app opens”, count(users) as “frequency”

from (select client_cognito_id as “users” ,count(*) as “app opens”From

AWSMA.v_eventWhere

event_type=‘_session.start’ And event_typestamp between

getdate()-7 and getdate()+1Group by client_cognito_id )Group by “app opens”

App opens frequency distribution

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15+

23%

8%7%

6% 6%

4%3% 3%

2% 2% 2% 2% 2%1%

29%

Number of times app was opened in last 7 days

Who are the Most Engaged Users and What are their Usage Patterns?

Page 37: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SQL Query

select a_age as “age” ,a_gender as “gender” ,avg(m_session_length) as “time spent”From

AWSMA.v_eventWhere

event_type=‘a_session.duration’ And event_typestamp between

getdate()-90 and getdate()+1Group by

m_age ,m_gender

16-2020-2525-3030-3535-4040-4545-5050-5555-6060-70

70+

30 20 10 0 10 20 30Female Male

Age

Time spent in the app(minutes)

How Does Usage Pattern Vary for Users with Different Demographic Profiles?

Page 38: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

How Does User Population Distribute Across Countries and Platform?

Page 39: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Retrospective reporting to analyze trends and to know what's happening in the business

Predictive applications to anticipate user behavior and to

enhance experience

Inquisitivepattern finding to

discover latent user behavior and to frame strategies accordingly

Three Types of Data Driven Development

Page 40: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Predicting user behavior will help you deliver personalized

experience for users

Page 41: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Susan has been using the app for more than 6 months now but she hasn’t opened the music app in the last ten days

Predictive Application by Example

Music App

Page 42: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Susan has been using the app for more than 6 months now but she hasn’t opened the music app in the last ten days

What would you do to bring her back to the app again ?

Music App

Predictive Application by Example

Page 43: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

“Susan, you haven’t listened to your favorite artists in a while. Want to check them out? ”

Push Notification

Predictive Application by Example

Page 44: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

“Susan, you haven’t listened to your favorite artists in a while. Want to check them out? ”

But what’s the best time to send her this push notification ?

Push Notification

Predictive Application by Example

Page 45: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SELECT e.time_stamp

FROM events e

WHERE customer =‘SUSAN’

AND event_type = ‘_push_notification_open’

HAVING e.date> GETDATE() - 30

You can start by looking at all the different time slots she has opened a push notification in the last 30 days

One Way To Do is…

Page 46: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SELECT e.time_stamp

FROM events e

WHERE customer =‘SUSAN’

AND event_type = ‘_push_notification_open’

AND date_part (dow,e.date ) in (6,7)

HAVING e.date> GETDATE() - 30

But her usage pattern changes on weekends.

You can edit the query to filter for weekends only

One Way To Do is…

Page 47: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SELECT e.time_stamp

FROM events e

WHERE customer =‘SUSAN’

AND event_type = ‘_push_notification_open’

AND date_part (dow,e.date ) in (6,7)

HAVING e.date> GETDATE() - 60

Pattern is not clear as she opened in multiple time slots on different days.

You can go back in time to get a more clear pattern

One Way To Do is…

Page 48: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SELECT e.time_stamp

FROM events e

WHERE customer in (‘SUSAN’,’JOE’,’BOB’,…..)

AND event_type = ‘_push_notification_open’

AND date_part (dow,e.date ) in (6,7)

HAVING e.date> GETDATE() - 60

but what about other users ?

tweak the query again

One Way To Do is…

Page 49: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SELECT e.time_stamp

FROM events e

WHERE customer in (‘SUSAN’,’JOE’,’BOB’,…..)

AND event_type = ‘_push_notification_open’

AND date_part (dow,e.date ) in (6,7)

HAVING e.date> GETDATE() - 120

….and again

One Way To Do is…

Page 50: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

SELECT e.time_stamp

FROM events e

WHERE customer in (‘SUSAN’,’JOE’,’BOB’,…..)

AND event_type = ‘_push_notification_open’

AND date_part (dow,e.date ) in (6,7)

HAVING e.date> GETDATE() - 120

Use machine learning technology to learn business rules from your data

Page 51: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Best time to Send

4 PM

9 AM

2 PM

Machine learning automatically finds patterns in your data and uses them to make predictions

Better Way To Do it is…

Page 52: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Machine learning automatically finds patterns in your data and uses them to make predictions

Your data + machine learning = personalization in the app

Best time to Send

4 PM

9 AM

2 PM

Better Way To Do it is…

Page 53: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Building and scaling machine learning technology is hard

Machine learning expertise is rare

Closing the gap between models and applications is time-consuming and expensive

Why Aren’t there More Machine Learning Applications Today?

Page 54: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

What if there were a better way?

Page 55: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Easy to use, managed machine learning service built for developers

Robust, powerful machine learning technology based on Amazon’s internal systems

Create models using your data already stored in the AWS cloud

Deploy models to production in seconds

Amazon Machine Learning

Page 56: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

+

Amazon Mobile Analytics Amazon Machine LearningAmazon Redshift

Leverage Mobile App Data in Amazon Redshift to Build Predictive Applications Using Amazon ML

Page 57: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Trainmodel

Evaluate andoptimize

Retrieve predictions

Building Predictive Applications with Amazon ML

1 2 3

Page 58: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Evaluate andoptimize

Retrieve predictions

Trainmodel

- Create a Datasource object pointing to your mobile app data - Explore and understand your data- Transform data and train your model

Building Predictive Applications with Amazon ML

1 2 3

Page 59: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Create a Datasource Object

Page 60: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Explore and Understand Your Data

Page 61: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Train Your Model

Page 62: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Trainmodel

Evaluate andoptimize

Retrieve predictions

- Understand model quality- Adjust model interpretation

1 2 3

Building Predictive Applications with Amazon ML

Page 63: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Explore Model Quality

Page 64: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Trainmodel

Evaluate andoptimize

Retrieve predictions

- Batch predictions- Real-time predictions

1 2 3

Building Predictive Applications with Amazon ML

Page 65: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Amazon Mobile Analytics

Amazon Redshift

App events

Data SourceStrategies

Predictions

Mobile app developer

Amazon Machine Learning

+

Now Build Predictive Applications Using Your Mobile App Data Easily

Your Mobile App

Page 66: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Predict users with low probability to purchase in the app and send discount coupon via in-app notification

Predict users with high probability to churn from the app and send push them notification to re-engage

Identify users with high probability to share the app and reach out to them to do the same

Recommend relevant content to users based on similar user’s behavioral patterns

Few Strategies that can be Used Effectively via Machine Learning

Page 67: AWS August Webinar Series - Analyze Mobile App Data and Build Predictive Applications - 08192015

Thank you !For further questions please email us at [email protected]


Recommended