SlideShare une entreprise Scribd logo
Controlling Home Appliances adopting
Chatbot using Machine Learning Approach
Kazi Mojammel Hossen, Minhazul Arefin , Rakib Hossen and Mohammed Nasir Uddin
ICO-2022: 5th International Conference on Intelligent Computing & Optimization 2022
Date: October 27-28, 2022
Overview
2
1 3 5
6
4
2
Introduction Literature Review
Experimental Analysis /
Result
Problem Statement/
Objective
Methodology Conclusion/
Future Work
Abstract
 In the last decades, home automation becomes popular and rapidly increased artificial intelligence-based controlling systems.
 It involves certain electrical and electronic systems in a building with some degree of computerized or automated control.
 It can control elements of our home environments (e.g. light, fans, electrical devices, and safety systems).
 We propose an approach that fully controlled the home appliances by chatbot technology.
 Our model can control the home appliances from a long distance because we used the wireless fidelity system.
3
1. Introduction
 Automation is a strategy, method, or system for using electronic equipment to operate or control a process while minimizing
human participation ..
 We concentrate on Intelligent Conversational Software Agents or Chatbots with a machine learning approach.
 A natural language-based (English) home automation system that will work through the internet and also enable one to
remotely manage his/her appliances from anywhere, anytime.
 The demand for mobile applications is continuously increasing because of the continuous evolution of the mobile device's
popularity and functionality. Using several forms of connection mechanisms, the smartphone application is utilized to manage
and monitor home appliances.
 This system is useful to help handicapped and aged people that control home appliances.
4
1.2 Problem Statement
 In the last decades, home automation becomes popular and rapidly increased artificial intelligence-based controlling systems.
 It involves certain electrical and electronic systems in a building with some degree of computerized or automated control.
 It can control elements of our home environments (e.g. light, fans, electrical devices, and safety systems).
 We propose an approach that fully controlled the home appliances by chatbot technology.
 Our model can control the home appliances from a long distance because we used the wireless fidelity system.
5
1.3 Objectives
The main objectives of this research is given below:
 To design a system that convert Natural Language commands into hardware commands to operate the IoT device in a house.
 To connect android mobile phone with IoT device
 To user machine learning algorithm in IoT platform.
6
1.4 Contribution
The main objectives of this research is given below:
 Use mobile phone in IoT device
 Use machine learning algorithm in mobile based IoT platform
7
2. IoT System Architecture
 The architecture of an Internet of Things system is a multi-stage
process in which data is delivered from sensors connected to
"things" to a network, then processed, analyzed, and stored in a
corporate data center or the cloud.
 A "thing" in the Internet of Things might be a machine, a
structure, or even a person.
 In order to govern a physical process, processes in the IoT
architecture also transfer data in the form of instructions or
commands, which inform an actuator or other physically linked
device how to accomplish a task.
 An actuator can perform basic tasks such as turning on a light or
more sophisticated tasks such as shutting down a production line
if a problem is discovered.
8
2. IoT System Architecture
 The chatbot algorithm's architectural framework is stored on a
web server.
 The Chatbot's application will be connected to the webserver. The
requests will be received by the client application, which will
process them on the server before delivering them to the
hardware (Raspberry Pi 3) for control.
 The hardware (Raspberry Pi 3) sends an acknowledgment signal
to the server and, as a result, to the client once the job is done.
 As a result, the user gets told when the task is completed
successfully.
 Users can directly communicate with the chatbot by giving it
instructions and receiving responses.
9
2. IoT System Architecture
 Once the task is completed, the hardware(Raspberry Pi 3) sends
an acknowledgment signal back to the server and hence to the
client.
 As a result, the user gets notified that the task is completed
successfully.
 Users can talk to the chatbot directly by doing input some
commands and can get replies from Chatbot.
 After processing the raw text input received by the user, the
system will process the sentence and find the desired action by
the user.
 Using the user input, the system will determine whether or not
turn on or turn off a device.
 If the word is understandable then it will perform what the user
wants.
 Otherwise, it will ask the user again what he/she wants.
10
3. Literature Review
Sl.
No
Paper Title Author Analysis Limitations
1
Text messaging-based
medical diagnosis using
natural language
processing and fuzzy
logic
N. A. Omoregbe, I. O.
Ndaman, S. Misra, O. O.
Abayomi-Alli, and R.
Damaˇseviˇcius
This paper successfully
implemented natural language
processing system for medical
diagnosis
• They use fuzzy logic
• It cannot use audio input
• Final result is confirmed
by human doctor
2
Integrating chatbot
application with Qlik
sense business
intelligence (bi) tool using
natural language
processing
V. Vashisht and P.
Dharia
This paper focuses on answering
diferent types of bussiness
question sucessfully..
• They use fuzzy logic for
group classification
• Accuracy is low due to
using old method
11
4. Proposed System Architecture
12
4.1 Text Preprocessing
 Text preprocessing is traditionally an important step for natural language processing (NLP) tasks.
 It transforms text into a more digestible form so that machine learning algorithms can perform better.
 We use different text preprocessing step:
 Tokenization
 Lower casing
 Stop words removal
13
4.2 Extraction of Device Name
 Extraction of the device name is a particular solution that uses the Jaro-Winkler string matching algorithm to extract
the device name from the input text.
 Jaro-Winkler Distance formula is used to calculate the distance (𝑑𝑗) between the two strings A and S.
𝑑𝑗 =
1
3
𝑛
|𝐴|
+
𝑛
|𝑆|
+
𝑛 − 𝑡
𝑛
× 100%
 where,
▻ n is the same number of letter
▻ |A| is the length of Attribute string
▻ |S| is the length of input string
▻ t is the amount of Transposition
14
4.3 Operation Extraction
 In the operation Extraction part, we use a Naive Bayes algorithm to extract operation from the input text.
 It is a set of categories to which a new observation belongs in machine learning, as determined by a training set of data that
comprises observations (or instances) with known category membership.
 A categorization model attempts to derive conclusions from observed data.
 Given one or more inputs, a classification model will attempt to predict the value of one or more outputs.
15
4.3 Operation Extraction
16
4.3 Operation Extraction
Table: Part of Training Data Set
17
4.3 Operation Extraction
Table: Output for multinomial naive bayes classification
18
4.3 Operation Extraction
19
4.4 Store the data
 If the word is not understandable by any process given on earlier then, the chatbot will ask the user again what he/she wants.
 We use knowledge base technology to store doubtful words.
 By this, the system can learn from the user some new words day by day.
 If the word is not understandable by any process given on earlier then, the chatbot will ask the user again what he/she wants.
 We use knowledge base technology to store doubtful words.
 By this, the system can learn from the user some new words day by day.
20
4.5 Run the operation
 The setup and use phases of the chatbot implementation are basically divided into two sections.
 The user will be asked for the information needed to set up the chatbot during the setup process.
 When the chatbot’s setting is complete, it will know how many appliances are in each area of the house.
 During the use phase, users will be able to ask the chatbot to execute a variety of tasks, such as turning on and off lights and
fans, as well as setting timers for the same.
21
5. Experimental Analysis
 Running the application for the first time after installation in the mobile phone automatically opens a login activity to connect
the user to the online web server.
 It requires only phone number.
 Then the user will get verification code (a six-digit number) known as OTP (One Time Password) in his/her phone.
 After successfully get the OTP verification code, the user needs to type the code in the designated space.
 Once the OTP is entered, it is verified and the user will log in into their account.
22
5. Experimental Analysis
23
5. Experimental Analysis
 To control the home appliance user just need to type their command on the app.
 The system will then process the sentence and find the desired action by the user.
 Using the user input, the system will determine whether or not turn on or turn off a device.
 If the word is understandable then it will perform what the user wants.
 Otherwise, it will ask the user again what actually he/she wants.
24
5. Experimental Analysis
25
6. Result
 The accuracy is calculated using the equation:
𝐴𝑐𝑐𝑢𝑢𝑟𝑎𝑐𝑦 =
𝑖=0
𝑛
𝑃𝑟𝑒𝑑𝑖𝑐𝑡𝑖𝑜𝑛𝑐𝑜𝑟𝑟𝑒𝑐𝑡
𝑃𝑟𝑒𝑑𝑖𝑐𝑡𝑖𝑜𝑛𝑡𝑜𝑡𝑎𝑙
× 100%
 The results comparing the proposed method with Naive bayes and Support Vector Machine is shown in the table
bellow:
Algorithms Accuracy (%) Error Rate (%)
Naive Bayes 91.45 8.55
Support Vector Machine 78.76 21.24
26
6. Result
27
7. Conclusion
 Controlling home automation technology remotely is likely to change day to day lifestyle of a user.
 In our proposed system users can control and monitor the home environment by using an android application.
 The android based home application communicates with the Raspberry Pi 3 via the internet.
 Any android supported device can be used to install the smart home application.
 It improves the certain system which supports the lifestyle of the individuals.
28
7. Future Work
 In the future, different sensor-based control can be added with Chatbot.
 Self-automation will make this system more user-friendly.
 Besides home appliances, this system can be used for other gadgets controlling like vehicles.
 Home security like access control, alarm, etc. can be an extension of this system.
29
30
THANKS!

Contenu connexe

Similaire à Controlling Home Appliances adopting Chatbot using Machine Learning Approach

13. 23763.pdf
13. 23763.pdf13. 23763.pdf
13. 23763.pdf
TELKOMNIKA JOURNAL
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice Assistant
Tezpur University
 
IRJET - Query Processing using NLP
IRJET - Query Processing using NLPIRJET - Query Processing using NLP
IRJET - Query Processing using NLP
IRJET Journal
 
IRJET- Smart Home Automation using IoT and Deep Learning
IRJET-  	  Smart Home Automation using IoT and Deep LearningIRJET-  	  Smart Home Automation using IoT and Deep Learning
IRJET- Smart Home Automation using IoT and Deep Learning
IRJET Journal
 
IRJET- Voice Based Home Automation System using Raspberry Pi
IRJET-  	  Voice Based Home Automation System using Raspberry PiIRJET-  	  Voice Based Home Automation System using Raspberry Pi
IRJET- Voice Based Home Automation System using Raspberry Pi
IRJET Journal
 
Java project titles
Java project titlesJava project titles
Java project titles
Ashly Liza
 
Energy Management with Disaster Intimation and Control using IoT
Energy Management with Disaster Intimation and Control using IoTEnergy Management with Disaster Intimation and Control using IoT
Energy Management with Disaster Intimation and Control using IoT
IJEACS
 
IRJET- Smart Switch Board Compatible with Google Assistance along with Fa...
IRJET-  	  Smart Switch Board Compatible with Google Assistance along with Fa...IRJET-  	  Smart Switch Board Compatible with Google Assistance along with Fa...
IRJET- Smart Switch Board Compatible with Google Assistance along with Fa...
IRJET Journal
 
Home Automation Control System
Home Automation Control SystemHome Automation Control System
Home Automation Control System
IRJET Journal
 
3
33
3
33
IRJET - Gesture Controlled Home Automation using CNN
IRJET -  	  Gesture Controlled Home Automation using CNNIRJET -  	  Gesture Controlled Home Automation using CNN
IRJET - Gesture Controlled Home Automation using CNN
IRJET Journal
 
Formatted Paper_References added
Formatted Paper_References addedFormatted Paper_References added
Formatted Paper_References added
Mark Kurtz
 
An effecient spam detection technique for io t devices using machine learning
An effecient spam detection technique for io t devices using machine learningAn effecient spam detection technique for io t devices using machine learning
An effecient spam detection technique for io t devices using machine learning
Venkat Projects
 
AUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoT
AUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoTAUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoT
AUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoT
IRJET Journal
 
Automated System Using Speech Recognition
Automated System Using Speech RecognitionAutomated System Using Speech Recognition
Automated System Using Speech Recognition
IRJET Journal
 
Smart Home services-CS.pdf
Smart Home services-CS.pdfSmart Home services-CS.pdf
Smart Home services-CS.pdf
THIMMAIAH BC
 
IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...
IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...
IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...
IRJET Journal
 
Cell phone based automation systems
Cell phone based automation systemsCell phone based automation systems
Cell phone based automation systems
Manpreet Chandhok
 
IRJET- Home Automation using Natural Language Interaction(NLI)
IRJET- Home Automation using Natural Language Interaction(NLI)IRJET- Home Automation using Natural Language Interaction(NLI)
IRJET- Home Automation using Natural Language Interaction(NLI)
IRJET Journal
 

Similaire à Controlling Home Appliances adopting Chatbot using Machine Learning Approach (20)

13. 23763.pdf
13. 23763.pdf13. 23763.pdf
13. 23763.pdf
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice Assistant
 
IRJET - Query Processing using NLP
IRJET - Query Processing using NLPIRJET - Query Processing using NLP
IRJET - Query Processing using NLP
 
IRJET- Smart Home Automation using IoT and Deep Learning
IRJET-  	  Smart Home Automation using IoT and Deep LearningIRJET-  	  Smart Home Automation using IoT and Deep Learning
IRJET- Smart Home Automation using IoT and Deep Learning
 
IRJET- Voice Based Home Automation System using Raspberry Pi
IRJET-  	  Voice Based Home Automation System using Raspberry PiIRJET-  	  Voice Based Home Automation System using Raspberry Pi
IRJET- Voice Based Home Automation System using Raspberry Pi
 
Java project titles
Java project titlesJava project titles
Java project titles
 
Energy Management with Disaster Intimation and Control using IoT
Energy Management with Disaster Intimation and Control using IoTEnergy Management with Disaster Intimation and Control using IoT
Energy Management with Disaster Intimation and Control using IoT
 
IRJET- Smart Switch Board Compatible with Google Assistance along with Fa...
IRJET-  	  Smart Switch Board Compatible with Google Assistance along with Fa...IRJET-  	  Smart Switch Board Compatible with Google Assistance along with Fa...
IRJET- Smart Switch Board Compatible with Google Assistance along with Fa...
 
Home Automation Control System
Home Automation Control SystemHome Automation Control System
Home Automation Control System
 
3
33
3
 
3
33
3
 
IRJET - Gesture Controlled Home Automation using CNN
IRJET -  	  Gesture Controlled Home Automation using CNNIRJET -  	  Gesture Controlled Home Automation using CNN
IRJET - Gesture Controlled Home Automation using CNN
 
Formatted Paper_References added
Formatted Paper_References addedFormatted Paper_References added
Formatted Paper_References added
 
An effecient spam detection technique for io t devices using machine learning
An effecient spam detection technique for io t devices using machine learningAn effecient spam detection technique for io t devices using machine learning
An effecient spam detection technique for io t devices using machine learning
 
AUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoT
AUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoTAUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoT
AUTOMATIC DOOR UNLOCK WITH FACIAL RECOGNITION USING IoT
 
Automated System Using Speech Recognition
Automated System Using Speech RecognitionAutomated System Using Speech Recognition
Automated System Using Speech Recognition
 
Smart Home services-CS.pdf
Smart Home services-CS.pdfSmart Home services-CS.pdf
Smart Home services-CS.pdf
 
IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...
IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...
IRJET - Survey on Smart System for Non Smart Devices using Raspberry PI3b & G...
 
Cell phone based automation systems
Cell phone based automation systemsCell phone based automation systems
Cell phone based automation systems
 
IRJET- Home Automation using Natural Language Interaction(NLI)
IRJET- Home Automation using Natural Language Interaction(NLI)IRJET- Home Automation using Natural Language Interaction(NLI)
IRJET- Home Automation using Natural Language Interaction(NLI)
 

Plus de Minhazul Arefin

Object Detection on Dental X-ray Images using R-CNN
Object Detection on Dental X-ray Images using R-CNNObject Detection on Dental X-ray Images using R-CNN
Object Detection on Dental X-ray Images using R-CNN
Minhazul Arefin
 
Natural Language Query to SQL conversion using Machine Learning Approach
Natural Language Query to SQL conversion using Machine Learning ApproachNatural Language Query to SQL conversion using Machine Learning Approach
Natural Language Query to SQL conversion using Machine Learning Approach
Minhazul Arefin
 
Efficient estimation of word representations in vector space (2013)
Efficient estimation of word representations in vector space (2013)Efficient estimation of word representations in vector space (2013)
Efficient estimation of word representations in vector space (2013)
Minhazul Arefin
 
Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)
Minhazul Arefin
 
Recurrent neural networks (rnn) and long short term memory networks (lstm)
Recurrent neural networks (rnn) and long short term memory networks (lstm)Recurrent neural networks (rnn) and long short term memory networks (lstm)
Recurrent neural networks (rnn) and long short term memory networks (lstm)
Minhazul Arefin
 
SPoC: search-based pseudocode to code
SPoC: search-based pseudocode to codeSPoC: search-based pseudocode to code
SPoC: search-based pseudocode to code
Minhazul Arefin
 
The rise of “Big Data” on cloud computing
The rise of “Big Data” on cloud computingThe rise of “Big Data” on cloud computing
The rise of “Big Data” on cloud computing
Minhazul Arefin
 

Plus de Minhazul Arefin (7)

Object Detection on Dental X-ray Images using R-CNN
Object Detection on Dental X-ray Images using R-CNNObject Detection on Dental X-ray Images using R-CNN
Object Detection on Dental X-ray Images using R-CNN
 
Natural Language Query to SQL conversion using Machine Learning Approach
Natural Language Query to SQL conversion using Machine Learning ApproachNatural Language Query to SQL conversion using Machine Learning Approach
Natural Language Query to SQL conversion using Machine Learning Approach
 
Efficient estimation of word representations in vector space (2013)
Efficient estimation of word representations in vector space (2013)Efficient estimation of word representations in vector space (2013)
Efficient estimation of word representations in vector space (2013)
 
Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)Semantic scaffolds for pseudocode to-code generation (2020)
Semantic scaffolds for pseudocode to-code generation (2020)
 
Recurrent neural networks (rnn) and long short term memory networks (lstm)
Recurrent neural networks (rnn) and long short term memory networks (lstm)Recurrent neural networks (rnn) and long short term memory networks (lstm)
Recurrent neural networks (rnn) and long short term memory networks (lstm)
 
SPoC: search-based pseudocode to code
SPoC: search-based pseudocode to codeSPoC: search-based pseudocode to code
SPoC: search-based pseudocode to code
 
The rise of “Big Data” on cloud computing
The rise of “Big Data” on cloud computingThe rise of “Big Data” on cloud computing
The rise of “Big Data” on cloud computing
 

Dernier

Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 

Dernier (20)

Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 

Controlling Home Appliances adopting Chatbot using Machine Learning Approach

  • 1. Controlling Home Appliances adopting Chatbot using Machine Learning Approach Kazi Mojammel Hossen, Minhazul Arefin , Rakib Hossen and Mohammed Nasir Uddin ICO-2022: 5th International Conference on Intelligent Computing & Optimization 2022 Date: October 27-28, 2022
  • 2. Overview 2 1 3 5 6 4 2 Introduction Literature Review Experimental Analysis / Result Problem Statement/ Objective Methodology Conclusion/ Future Work
  • 3. Abstract  In the last decades, home automation becomes popular and rapidly increased artificial intelligence-based controlling systems.  It involves certain electrical and electronic systems in a building with some degree of computerized or automated control.  It can control elements of our home environments (e.g. light, fans, electrical devices, and safety systems).  We propose an approach that fully controlled the home appliances by chatbot technology.  Our model can control the home appliances from a long distance because we used the wireless fidelity system. 3
  • 4. 1. Introduction  Automation is a strategy, method, or system for using electronic equipment to operate or control a process while minimizing human participation ..  We concentrate on Intelligent Conversational Software Agents or Chatbots with a machine learning approach.  A natural language-based (English) home automation system that will work through the internet and also enable one to remotely manage his/her appliances from anywhere, anytime.  The demand for mobile applications is continuously increasing because of the continuous evolution of the mobile device's popularity and functionality. Using several forms of connection mechanisms, the smartphone application is utilized to manage and monitor home appliances.  This system is useful to help handicapped and aged people that control home appliances. 4
  • 5. 1.2 Problem Statement  In the last decades, home automation becomes popular and rapidly increased artificial intelligence-based controlling systems.  It involves certain electrical and electronic systems in a building with some degree of computerized or automated control.  It can control elements of our home environments (e.g. light, fans, electrical devices, and safety systems).  We propose an approach that fully controlled the home appliances by chatbot technology.  Our model can control the home appliances from a long distance because we used the wireless fidelity system. 5
  • 6. 1.3 Objectives The main objectives of this research is given below:  To design a system that convert Natural Language commands into hardware commands to operate the IoT device in a house.  To connect android mobile phone with IoT device  To user machine learning algorithm in IoT platform. 6
  • 7. 1.4 Contribution The main objectives of this research is given below:  Use mobile phone in IoT device  Use machine learning algorithm in mobile based IoT platform 7
  • 8. 2. IoT System Architecture  The architecture of an Internet of Things system is a multi-stage process in which data is delivered from sensors connected to "things" to a network, then processed, analyzed, and stored in a corporate data center or the cloud.  A "thing" in the Internet of Things might be a machine, a structure, or even a person.  In order to govern a physical process, processes in the IoT architecture also transfer data in the form of instructions or commands, which inform an actuator or other physically linked device how to accomplish a task.  An actuator can perform basic tasks such as turning on a light or more sophisticated tasks such as shutting down a production line if a problem is discovered. 8
  • 9. 2. IoT System Architecture  The chatbot algorithm's architectural framework is stored on a web server.  The Chatbot's application will be connected to the webserver. The requests will be received by the client application, which will process them on the server before delivering them to the hardware (Raspberry Pi 3) for control.  The hardware (Raspberry Pi 3) sends an acknowledgment signal to the server and, as a result, to the client once the job is done.  As a result, the user gets told when the task is completed successfully.  Users can directly communicate with the chatbot by giving it instructions and receiving responses. 9
  • 10. 2. IoT System Architecture  Once the task is completed, the hardware(Raspberry Pi 3) sends an acknowledgment signal back to the server and hence to the client.  As a result, the user gets notified that the task is completed successfully.  Users can talk to the chatbot directly by doing input some commands and can get replies from Chatbot.  After processing the raw text input received by the user, the system will process the sentence and find the desired action by the user.  Using the user input, the system will determine whether or not turn on or turn off a device.  If the word is understandable then it will perform what the user wants.  Otherwise, it will ask the user again what he/she wants. 10
  • 11. 3. Literature Review Sl. No Paper Title Author Analysis Limitations 1 Text messaging-based medical diagnosis using natural language processing and fuzzy logic N. A. Omoregbe, I. O. Ndaman, S. Misra, O. O. Abayomi-Alli, and R. Damaˇseviˇcius This paper successfully implemented natural language processing system for medical diagnosis • They use fuzzy logic • It cannot use audio input • Final result is confirmed by human doctor 2 Integrating chatbot application with Qlik sense business intelligence (bi) tool using natural language processing V. Vashisht and P. Dharia This paper focuses on answering diferent types of bussiness question sucessfully.. • They use fuzzy logic for group classification • Accuracy is low due to using old method 11
  • 12. 4. Proposed System Architecture 12
  • 13. 4.1 Text Preprocessing  Text preprocessing is traditionally an important step for natural language processing (NLP) tasks.  It transforms text into a more digestible form so that machine learning algorithms can perform better.  We use different text preprocessing step:  Tokenization  Lower casing  Stop words removal 13
  • 14. 4.2 Extraction of Device Name  Extraction of the device name is a particular solution that uses the Jaro-Winkler string matching algorithm to extract the device name from the input text.  Jaro-Winkler Distance formula is used to calculate the distance (𝑑𝑗) between the two strings A and S. 𝑑𝑗 = 1 3 𝑛 |𝐴| + 𝑛 |𝑆| + 𝑛 − 𝑡 𝑛 × 100%  where, ▻ n is the same number of letter ▻ |A| is the length of Attribute string ▻ |S| is the length of input string ▻ t is the amount of Transposition 14
  • 15. 4.3 Operation Extraction  In the operation Extraction part, we use a Naive Bayes algorithm to extract operation from the input text.  It is a set of categories to which a new observation belongs in machine learning, as determined by a training set of data that comprises observations (or instances) with known category membership.  A categorization model attempts to derive conclusions from observed data.  Given one or more inputs, a classification model will attempt to predict the value of one or more outputs. 15
  • 17. 4.3 Operation Extraction Table: Part of Training Data Set 17
  • 18. 4.3 Operation Extraction Table: Output for multinomial naive bayes classification 18
  • 20. 4.4 Store the data  If the word is not understandable by any process given on earlier then, the chatbot will ask the user again what he/she wants.  We use knowledge base technology to store doubtful words.  By this, the system can learn from the user some new words day by day.  If the word is not understandable by any process given on earlier then, the chatbot will ask the user again what he/she wants.  We use knowledge base technology to store doubtful words.  By this, the system can learn from the user some new words day by day. 20
  • 21. 4.5 Run the operation  The setup and use phases of the chatbot implementation are basically divided into two sections.  The user will be asked for the information needed to set up the chatbot during the setup process.  When the chatbot’s setting is complete, it will know how many appliances are in each area of the house.  During the use phase, users will be able to ask the chatbot to execute a variety of tasks, such as turning on and off lights and fans, as well as setting timers for the same. 21
  • 22. 5. Experimental Analysis  Running the application for the first time after installation in the mobile phone automatically opens a login activity to connect the user to the online web server.  It requires only phone number.  Then the user will get verification code (a six-digit number) known as OTP (One Time Password) in his/her phone.  After successfully get the OTP verification code, the user needs to type the code in the designated space.  Once the OTP is entered, it is verified and the user will log in into their account. 22
  • 24. 5. Experimental Analysis  To control the home appliance user just need to type their command on the app.  The system will then process the sentence and find the desired action by the user.  Using the user input, the system will determine whether or not turn on or turn off a device.  If the word is understandable then it will perform what the user wants.  Otherwise, it will ask the user again what actually he/she wants. 24
  • 26. 6. Result  The accuracy is calculated using the equation: 𝐴𝑐𝑐𝑢𝑢𝑟𝑎𝑐𝑦 = 𝑖=0 𝑛 𝑃𝑟𝑒𝑑𝑖𝑐𝑡𝑖𝑜𝑛𝑐𝑜𝑟𝑟𝑒𝑐𝑡 𝑃𝑟𝑒𝑑𝑖𝑐𝑡𝑖𝑜𝑛𝑡𝑜𝑡𝑎𝑙 × 100%  The results comparing the proposed method with Naive bayes and Support Vector Machine is shown in the table bellow: Algorithms Accuracy (%) Error Rate (%) Naive Bayes 91.45 8.55 Support Vector Machine 78.76 21.24 26
  • 28. 7. Conclusion  Controlling home automation technology remotely is likely to change day to day lifestyle of a user.  In our proposed system users can control and monitor the home environment by using an android application.  The android based home application communicates with the Raspberry Pi 3 via the internet.  Any android supported device can be used to install the smart home application.  It improves the certain system which supports the lifestyle of the individuals. 28
  • 29. 7. Future Work  In the future, different sensor-based control can be added with Chatbot.  Self-automation will make this system more user-friendly.  Besides home appliances, this system can be used for other gadgets controlling like vehicles.  Home security like access control, alarm, etc. can be an extension of this system. 29