SlideShare a Scribd company logo
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

webservertrafficanalysis
webservertrafficanalysiswebservertrafficanalysis
webservertrafficanalysis
nitesh kanojiya
 
Sumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - FundamentalsSumo Logic Cert Jam - Fundamentals
Sumo Logic Cert Jam - Fundamentals
Sumo 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éveloppement
Paris Salesforce Developer Group
 
Welcome Webinar Slides
Welcome Webinar SlidesWelcome Webinar Slides
Welcome Webinar Slides
Sumo Logic
 
Fme 2019
Fme 2019Fme 2019
Fme 2019
Consortech
 
Sumo Logic Quickstart - Jan 2017
Sumo Logic Quickstart - Jan 2017Sumo Logic Quickstart - Jan 2017
Sumo Logic Quickstart - Jan 2017
Sumo Logic
 
Software Development
Software DevelopmentSoftware Development
Software Development
Kamaluddin Panhwar
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics Mastery
Sumo 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 2016
Sumo 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 2018
Sumo 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 Instana
Marcel Birkner
 
IRJET- Voice based E-mail system
IRJET- Voice based E-mail systemIRJET- Voice based E-mail system
IRJET- Voice based E-mail system
IRJET Journal
 
Mobile apps that win
Mobile apps that winMobile apps that win
Mobile apps that win
DellFoglight
 
Online-Voting-System.doc
Online-Voting-System.docOnline-Voting-System.doc
Online-Voting-System.doc
ShangaviS2
 
XMPP Academy #3
XMPP Academy #3XMPP Academy #3
XMPP Academy #3
Mickaël Rémond
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics MasterySumo Logic Cert Jam - Metrics Mastery
Sumo Logic Cert Jam - Metrics Mastery
Sumo 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 2
UserZoom
 
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 (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 synthesis
Amrith Krishna
 
Analyzing Stack Overflow - Problem
Analyzing Stack Overflow - ProblemAnalyzing Stack Overflow - Problem
Analyzing Stack Overflow - Problem
Amrith 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 problem
Amrith Krishna
 
Roller Coaster Problem - OS
Roller Coaster Problem  - OSRoller Coaster Problem  - OS
Roller Coaster Problem - OS
Amrith Krishna
 
File Watcher - Lab Assignment
File Watcher - Lab AssignmentFile Watcher - Lab Assignment
File Watcher - Lab Assignment
Amrith 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 reviews
Amrith Krishna
 
Skipl List implementation - Part 2
Skipl List implementation - Part 2Skipl List implementation - Part 2
Skipl List implementation - Part 2
Amrith Krishna
 
Skipl List implementation - Part 1
Skipl List implementation - Part 1Skipl List implementation - Part 1
Skipl List implementation - Part 1
Amrith Krishna
 
Maach-Dal-Bhaat Problem
Maach-Dal-Bhaat ProblemMaach-Dal-Bhaat Problem
Maach-Dal-Bhaat Problem
Amrith Krishna
 
QGene Quiz 2016
QGene Quiz 2016QGene Quiz 2016
QGene Quiz 2016
Amrith Krishna
 
Astra word Segmentation
Astra word SegmentationAstra word Segmentation
Astra word Segmentation
Amrith Krishna
 
Taddhita Generation
Taddhita GenerationTaddhita Generation
Taddhita Generation
Amrith Krishna
 
Windows Architecture
Windows ArchitectureWindows Architecture
Windows Architecture
Amrith 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

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 

Recently uploaded (20)

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 

ShutApp

  • 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