SlideShare a Scribd company logo
1 of 16
Download to read offline
Team Number 1 | ShutApp – A mood prediction app based on phone activity detection
Madhumita Mallick | Amrith Krishna | Samiksha Meena | A. N. Rajitha
ShutApp
For those who do not
know when to shut up
1 Collect user specific data
- App history, web history, call logs, emails
- Sensor data
- Phone keyboard usage patterns & speed
2 Real time mood prediction model, based on collected data.
Sentiment analysis on collected emails & text data to label
the training data
No explicit user feedback required
Team Number 1 | ShutApp – A mood prediction app based on phone activity detection
Madhumita Mallick | Amrith Krishna | Samiksha Meena | A. N. Rajitha
ShutApp
For those who do not
know when to shut up
1 Collect user specific data
- App history, web history, call logs, emails
- Sensor data
- Phone keyboard usage patterns & speed
2 Real time mood prediction model, based on collected data.
Sentiment analysis on collected emails & text data to label
the training data
No explicit user feedback required
Keystrokes (with
timestamp)
Periodical Web History,
Call Logs
APP Category
& time spent
Every App run,
Sensor information for
first 2 minutes
• keystrokes
• Typing speed and other characteristics
• Backspaces, contiguous backspaces
Unobtrusive Emotion
recognition, CCNC 2012
• Web History, call logs
• App history
• App & Web categories
MoodScope, MobiSys
2013
• Automated Labelling with sentiWordnet
• Sensor Information (But not related to moods)iSelf, INFOCOM 2015
Background & Progress
Implementation Details
Background Process
• Alarm Manager
 Periodically runs after every k
hours
• Collect Webhistory, Call logs
IME - Keyboard
Collect keystrokes with timestamp.
Accessibility Manager
• Enable Accessibility service.
• Even trigger occurs, whenever there is
an app switch.
Collect Gmail
• Gmail API for read permissions.
• Periodically store in a server.
1
2
3
4
Completely unobtrusive after
the setup
One time setup for the user
• Change language and setting.
• Change accessibility setting.
• Sign in gmail account.
3 step process :
UI : Initial Setup
The regular page/(last page after initial setup) which
will be shown whenever user opens app,(here he can
disable the permissions which he granted)
Even though the device shuts down or restarts, the
services will come out again and run.
UI : Single Step Pause/Resume
For changing language and input settings,we used the input manager
class. A new prompt will open for changing the default keyboard.
Similarly for changing accessibility to a service, we used system
class, which will redirect the user to the accessibility page.
For giving gmail access, we used a webviewer which will open a site
hosted by us.
UI : Development
Once user opens the url
"www.cnergres.iitkgp.ac.in/~shutApp/quicker.html" user is requested for
gmail access.
Upon receiving access, a token is stored in the server,periodically a
python script checks for newly stored tokens and polls the gmail server
by gmail api for the mail-content.
Gmail api: user.get.message, user.list.message.
Gmail API
Demo Time
APP Demo Video
Ground Truth Collection
Collected gmail sent mails from the user for the tracking period
Sentiwordnet – A sentiment tagged Wordnet derivate.
1
2
3
P: 0.375 O: 0.5 N: 0.125
Every word is represented in 3 dimensions – Positive, Negative, Objective
Adds to 1
Document is represented as the tf-idf weighted sum of the sentiwordnet scores
Document is Positive if P > 0.5, Negative if N > 0.5, else it is tagged Objective
User Mood
Detection
1) Top 3 Websites
2) Top 3 Apps
3) App & Website
categories
4) Time spent (in 1,2,3)
5) Acc. Avg in Apps.
Phone Usage
Call Details
1. Top 5 callers
2. Time Spent
Keyboard Usage
1. Speed
2. Backspace
3. Contiguous
backspace
4. Max. session
5. length
Model
• SVM
• Naïve Bayes
1. From Gmail
sent mail
2. Labels –
P,N,O
Label
Naive Bayes
N P O TP
N 19 2 0 0.90
P 9 13 3 0.52
O 2 0 15 0.88
Acc 0.77
N P O TP
N 18 3 0 0.86
P 2 21 2 0.84
O 0 1 16 0.94
Acc 0.88
Naive Bayes : SFS (19)
N P O
N 20 1 0 0.95
P 2 22 1 0.88
O 1 0 16 0.94
Acc. 0.92
SVM
Classifier U1 Accuracy
63 Data Points
U2 Accuracy
29 Data Points
U3 Accuracy
25 Data Points
SVM – 4 fold 92.09 (68.27) 66.67 60
NB – 4 Fold 76.90 61.13 60
NB FS – 4 Fold 87.94 70 66
Classifier Accuracy
Data Point
percentage
Accuracy
U1
20 42
30 62.5
40 62
50 68.27
60 71.41
70 81.43
80 83.33
90 90.3
100 92.09
Training Accuracy Vs. Training Data Size
44
45
46
47
48
App1 time spent Contigous
backspace
Single Feature Acc. (%)
User Feature
Subset
U1 19
U2 5
U3 5
Feature U1 U2 U3
Backspace
Max Contigous Count
App1
App1 time spent
App3 Acc. Average
Feature Subset selection
• The objective is to reduce the dimensionality of feature space and
select a subset of best features.
• We search the feature space and take those features which
maximizes the accuracy.
• We use Linear Forward selection.
Conclusion
1 • Phone activity reflects user mood.
• Unobtrusive ground truth collection.
• Time spent in an app is a key feature.
2 • Designed Personalised models.
• Shown with sufficient data points, model.
can give high accuracy.
• Features were designed to capture mostl
Negative emotions (backspace etc.)
T
A
H N K O
Y
U
Surjya Ghosh
Rohit Verma
Special Thanks

More Related Content

Similar to ShutApp - Mood prediction app using phone activity detection

webservertrafficanalysis
webservertrafficanalysiswebservertrafficanalysis
webservertrafficanalysisnitesh kanojiya
 
Sumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - FundamentalsSumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - FundamentalsSumo Logic
 
Pratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développementPratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développementParis Salesforce Developer Group
 
Welcome Webinar Slides
Welcome Webinar SlidesWelcome Webinar Slides
Welcome Webinar SlidesSumo Logic
 
Sumo Logic Quickstart - Jan 2017
Sumo Logic Quickstart - Jan 2017Sumo Logic Quickstart - Jan 2017
Sumo Logic Quickstart - Jan 2017Sumo Logic
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic
 
How to not fail at security data analytics (by CxOSidekick)
How to not fail at security data analytics (by CxOSidekick)How to not fail at security data analytics (by CxOSidekick)
How to not fail at security data analytics (by CxOSidekick)Dinis Cruz
 
Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016Sumo Logic
 
Level 2 Certification: Using Sumo Logic - Oct 2018
Level 2 Certification: Using Sumo Logic - Oct 2018Level 2 Certification: Using Sumo Logic - Oct 2018
Level 2 Certification: Using Sumo Logic - Oct 2018Sumo Logic
 
Adventures in Observability: How in-house ClickHouse deployment enabled Inst...
 Adventures in Observability: How in-house ClickHouse deployment enabled Inst... Adventures in Observability: How in-house ClickHouse deployment enabled Inst...
Adventures in Observability: How in-house ClickHouse deployment enabled Inst...Altinity Ltd
 
Adventures in Observability - Clickhouse and Instana
Adventures in Observability - Clickhouse and InstanaAdventures in Observability - Clickhouse and Instana
Adventures in Observability - Clickhouse and InstanaMarcel Birkner
 
IRJET- Voice based E-mail system
IRJET- Voice based E-mail systemIRJET- Voice based E-mail system
IRJET- Voice based E-mail systemIRJET Journal
 
Mobile apps that win
Mobile apps that winMobile apps that win
Mobile apps that winDellFoglight
 
Online-Voting-System.doc
Online-Voting-System.docOnline-Voting-System.doc
Online-Voting-System.docShangaviS2
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic
 
Conducting Remote Unmoderated Usability Testing: Part 2
Conducting Remote Unmoderated Usability Testing: Part 2Conducting Remote Unmoderated Usability Testing: Part 2
Conducting Remote Unmoderated Usability Testing: Part 2UserZoom
 
Sumo Logic Certification - Level 2 (Using Sumo)
Sumo Logic Certification - Level 2 (Using Sumo)Sumo Logic Certification - Level 2 (Using Sumo)
Sumo Logic Certification - Level 2 (Using Sumo)Sumo Logic
 

Similar to ShutApp - Mood prediction app using phone activity detection (20)

webservertrafficanalysis
webservertrafficanalysiswebservertrafficanalysis
webservertrafficanalysis
 
Sumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - FundamentalsSumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - Fundamentals
 
Pratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développementPratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développement
 
Welcome Webinar Slides
Welcome Webinar SlidesWelcome Webinar Slides
Welcome Webinar Slides
 
Fme 2019
Fme 2019Fme 2019
Fme 2019
 
Sumo Logic Quickstart - Jan 2017
Sumo Logic Quickstart - Jan 2017Sumo Logic Quickstart - Jan 2017
Sumo Logic Quickstart - Jan 2017
 
Software Development
Software DevelopmentSoftware Development
Software Development
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics Mastery
 
How to not fail at security data analytics (by CxOSidekick)
How to not fail at security data analytics (by CxOSidekick)How to not fail at security data analytics (by CxOSidekick)
How to not fail at security data analytics (by CxOSidekick)
 
Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016Sumo Logic Quickstart - Nv 2016
Sumo Logic Quickstart - Nv 2016
 
Level 2 Certification: Using Sumo Logic - Oct 2018
Level 2 Certification: Using Sumo Logic - Oct 2018Level 2 Certification: Using Sumo Logic - Oct 2018
Level 2 Certification: Using Sumo Logic - Oct 2018
 
Adventures in Observability: How in-house ClickHouse deployment enabled Inst...
 Adventures in Observability: How in-house ClickHouse deployment enabled Inst... Adventures in Observability: How in-house ClickHouse deployment enabled Inst...
Adventures in Observability: How in-house ClickHouse deployment enabled Inst...
 
Adventures in Observability - Clickhouse and Instana
Adventures in Observability - Clickhouse and InstanaAdventures in Observability - Clickhouse and Instana
Adventures in Observability - Clickhouse and Instana
 
IRJET- Voice based E-mail system
IRJET- Voice based E-mail systemIRJET- Voice based E-mail system
IRJET- Voice based E-mail system
 
Mobile apps that win
Mobile apps that winMobile apps that win
Mobile apps that win
 
Online-Voting-System.doc
Online-Voting-System.docOnline-Voting-System.doc
Online-Voting-System.doc
 
XMPP Academy #3
XMPP Academy #3XMPP Academy #3
XMPP Academy #3
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics Mastery
 
Conducting Remote Unmoderated Usability Testing: Part 2
Conducting Remote Unmoderated Usability Testing: Part 2Conducting Remote Unmoderated Usability Testing: Part 2
Conducting Remote Unmoderated Usability Testing: Part 2
 
Sumo Logic Certification - Level 2 (Using Sumo)
Sumo Logic Certification - Level 2 (Using Sumo)Sumo Logic Certification - Level 2 (Using Sumo)
Sumo Logic Certification - Level 2 (Using Sumo)
 

More from Amrith Krishna

Unsupervised program synthesis
Unsupervised program synthesisUnsupervised program synthesis
Unsupervised program synthesisAmrith Krishna
 
Analyzing Stack Overflow - Problem
Analyzing Stack Overflow - ProblemAnalyzing Stack Overflow - Problem
Analyzing Stack Overflow - ProblemAmrith Krishna
 
Asterix and the Maagic Potion - Suffix tree problem
Asterix and the Maagic Potion - Suffix tree problemAsterix and the Maagic Potion - Suffix tree problem
Asterix and the Maagic Potion - Suffix tree problemAmrith Krishna
 
Roller Coaster Problem - OS
Roller Coaster Problem  - OSRoller Coaster Problem  - OS
Roller Coaster Problem - OSAmrith Krishna
 
File Watcher - Lab Assignment
File Watcher - Lab AssignmentFile Watcher - Lab Assignment
File Watcher - Lab AssignmentAmrith Krishna
 
R - Eigen vector centrality with product reviews
R - Eigen vector centrality with product reviewsR - Eigen vector centrality with product reviews
R - Eigen vector centrality with product reviewsAmrith Krishna
 
Skipl List implementation - Part 2
Skipl List implementation - Part 2Skipl List implementation - Part 2
Skipl List implementation - Part 2Amrith Krishna
 
Skipl List implementation - Part 1
Skipl List implementation - Part 1Skipl List implementation - Part 1
Skipl List implementation - Part 1Amrith Krishna
 
Maach-Dal-Bhaat Problem
Maach-Dal-Bhaat ProblemMaach-Dal-Bhaat Problem
Maach-Dal-Bhaat ProblemAmrith Krishna
 
Astra word Segmentation
Astra word SegmentationAstra word Segmentation
Astra word SegmentationAmrith Krishna
 

More from Amrith Krishna (13)

Unsupervised program synthesis
Unsupervised program synthesisUnsupervised program synthesis
Unsupervised program synthesis
 
Analyzing Stack Overflow - Problem
Analyzing Stack Overflow - ProblemAnalyzing Stack Overflow - Problem
Analyzing Stack Overflow - Problem
 
Asterix and the Maagic Potion - Suffix tree problem
Asterix and the Maagic Potion - Suffix tree problemAsterix and the Maagic Potion - Suffix tree problem
Asterix and the Maagic Potion - Suffix tree problem
 
Roller Coaster Problem - OS
Roller Coaster Problem  - OSRoller Coaster Problem  - OS
Roller Coaster Problem - OS
 
File Watcher - Lab Assignment
File Watcher - Lab AssignmentFile Watcher - Lab Assignment
File Watcher - Lab Assignment
 
R - Eigen vector centrality with product reviews
R - Eigen vector centrality with product reviewsR - Eigen vector centrality with product reviews
R - Eigen vector centrality with product reviews
 
Skipl List implementation - Part 2
Skipl List implementation - Part 2Skipl List implementation - Part 2
Skipl List implementation - Part 2
 
Skipl List implementation - Part 1
Skipl List implementation - Part 1Skipl List implementation - Part 1
Skipl List implementation - Part 1
 
Maach-Dal-Bhaat Problem
Maach-Dal-Bhaat ProblemMaach-Dal-Bhaat Problem
Maach-Dal-Bhaat Problem
 
QGene Quiz 2016
QGene Quiz 2016QGene Quiz 2016
QGene Quiz 2016
 
Astra word Segmentation
Astra word SegmentationAstra word Segmentation
Astra word Segmentation
 
Taddhita Generation
Taddhita GenerationTaddhita Generation
Taddhita Generation
 
Windows Architecture
Windows ArchitectureWindows Architecture
Windows Architecture
 

Recently uploaded

Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 

Recently uploaded (20)

Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 

ShutApp - Mood prediction app using phone activity detection

  • 1. Team Number 1 | ShutApp – A mood prediction app based on phone activity detection Madhumita Mallick | Amrith Krishna | Samiksha Meena | A. N. Rajitha ShutApp For those who do not know when to shut up 1 Collect user specific data - App history, web history, call logs, emails - Sensor data - Phone keyboard usage patterns & speed 2 Real time mood prediction model, based on collected data. Sentiment analysis on collected emails & text data to label the training data No explicit user feedback required
  • 2. Team Number 1 | ShutApp – A mood prediction app based on phone activity detection Madhumita Mallick | Amrith Krishna | Samiksha Meena | A. N. Rajitha ShutApp For those who do not know when to shut up 1 Collect user specific data - App history, web history, call logs, emails - Sensor data - Phone keyboard usage patterns & speed 2 Real time mood prediction model, based on collected data. Sentiment analysis on collected emails & text data to label the training data No explicit user feedback required
  • 3. Keystrokes (with timestamp) Periodical Web History, Call Logs APP Category & time spent Every App run, Sensor information for first 2 minutes • keystrokes • Typing speed and other characteristics • Backspaces, contiguous backspaces Unobtrusive Emotion recognition, CCNC 2012 • Web History, call logs • App history • App & Web categories MoodScope, MobiSys 2013 • Automated Labelling with sentiWordnet • Sensor Information (But not related to moods)iSelf, INFOCOM 2015 Background & Progress
  • 4. Implementation Details Background Process • Alarm Manager  Periodically runs after every k hours • Collect Webhistory, Call logs IME - Keyboard Collect keystrokes with timestamp. Accessibility Manager • Enable Accessibility service. • Even trigger occurs, whenever there is an app switch. Collect Gmail • Gmail API for read permissions. • Periodically store in a server. 1 2 3 4 Completely unobtrusive after the setup One time setup for the user
  • 5. • Change language and setting. • Change accessibility setting. • Sign in gmail account. 3 step process : UI : Initial Setup
  • 6. The regular page/(last page after initial setup) which will be shown whenever user opens app,(here he can disable the permissions which he granted) Even though the device shuts down or restarts, the services will come out again and run. UI : Single Step Pause/Resume
  • 7. For changing language and input settings,we used the input manager class. A new prompt will open for changing the default keyboard. Similarly for changing accessibility to a service, we used system class, which will redirect the user to the accessibility page. For giving gmail access, we used a webviewer which will open a site hosted by us. UI : Development
  • 8. Once user opens the url "www.cnergres.iitkgp.ac.in/~shutApp/quicker.html" user is requested for gmail access. Upon receiving access, a token is stored in the server,periodically a python script checks for newly stored tokens and polls the gmail server by gmail api for the mail-content. Gmail api: user.get.message, user.list.message. Gmail API
  • 10. Ground Truth Collection Collected gmail sent mails from the user for the tracking period Sentiwordnet – A sentiment tagged Wordnet derivate. 1 2 3 P: 0.375 O: 0.5 N: 0.125 Every word is represented in 3 dimensions – Positive, Negative, Objective Adds to 1 Document is represented as the tf-idf weighted sum of the sentiwordnet scores Document is Positive if P > 0.5, Negative if N > 0.5, else it is tagged Objective
  • 11. User Mood Detection 1) Top 3 Websites 2) Top 3 Apps 3) App & Website categories 4) Time spent (in 1,2,3) 5) Acc. Avg in Apps. Phone Usage Call Details 1. Top 5 callers 2. Time Spent Keyboard Usage 1. Speed 2. Backspace 3. Contiguous backspace 4. Max. session 5. length Model • SVM • Naïve Bayes 1. From Gmail sent mail 2. Labels – P,N,O Label
  • 12. Naive Bayes N P O TP N 19 2 0 0.90 P 9 13 3 0.52 O 2 0 15 0.88 Acc 0.77 N P O TP N 18 3 0 0.86 P 2 21 2 0.84 O 0 1 16 0.94 Acc 0.88 Naive Bayes : SFS (19) N P O N 20 1 0 0.95 P 2 22 1 0.88 O 1 0 16 0.94 Acc. 0.92 SVM Classifier U1 Accuracy 63 Data Points U2 Accuracy 29 Data Points U3 Accuracy 25 Data Points SVM – 4 fold 92.09 (68.27) 66.67 60 NB – 4 Fold 76.90 61.13 60 NB FS – 4 Fold 87.94 70 66 Classifier Accuracy
  • 13. Data Point percentage Accuracy U1 20 42 30 62.5 40 62 50 68.27 60 71.41 70 81.43 80 83.33 90 90.3 100 92.09 Training Accuracy Vs. Training Data Size 44 45 46 47 48 App1 time spent Contigous backspace Single Feature Acc. (%)
  • 14. User Feature Subset U1 19 U2 5 U3 5 Feature U1 U2 U3 Backspace Max Contigous Count App1 App1 time spent App3 Acc. Average Feature Subset selection • The objective is to reduce the dimensionality of feature space and select a subset of best features. • We search the feature space and take those features which maximizes the accuracy. • We use Linear Forward selection.
  • 15. Conclusion 1 • Phone activity reflects user mood. • Unobtrusive ground truth collection. • Time spent in an app is a key feature. 2 • Designed Personalised models. • Shown with sufficient data points, model. can give high accuracy. • Features were designed to capture mostl Negative emotions (backspace etc.)
  • 16. T A H N K O Y U Surjya Ghosh Rohit Verma Special Thanks