Next Article in Journal
Determination of a High-Power THz Detector for EA-FEL Radiation Using Optical Sampling of GaAs and ZnTe Crystals
Previous Article in Journal
Mechanical Properties of Parallel TDG Bamboo Laminated Columns with Tough and Grove Joints
Previous Article in Special Issue
Study of Energy Loss for Distributed Power-Flow Assignment in a Smart Home Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Support Vector Machine Binary Classifiers of Home Presence Using Active Power

by
José Varela-Aldás
1,*,
Renato Mauricio Toasa
2 and
Paul Francisco Baldeon Egas
2
1
SISAu Research Group, Facultad de Ingeniería y Tecnologías de la Información y la Comunicación, Universidad Tecnológica Indoamérica, Ambato 180103, Ecuador
2
Departamento de Ciencias de la Ingeniería, Universidad Tecnológica Israel, Quito 170516, Ecuador
*
Author to whom correspondence should be addressed.
Designs 2022, 6(6), 108; https://doi.org/10.3390/designs6060108
Submission received: 14 September 2022 / Revised: 20 October 2022 / Accepted: 25 October 2022 / Published: 1 November 2022
(This article belongs to the Special Issue Smart Home Design)

Abstract

:
The intelligent analysis of electrical parameters has been facilitated by the Internet of Things (IoT), with capabilities to access a lot of data with customized sampling times. On the contrary, binary classifiers using support vector machines (SVM) resolve nonlinear cases through kernel functions. This work presents two binary classifiers of presence in the home using total household active power data obtained from the automated reading of an IoT device. The classifiers consisted of SVM using kernel functions, a linear function, and a nonlinear function. The data was acquired with the Emporia Gen 2 Vue energy monitor for 20 days without interruption, obtaining averaged readings every 15 min. Of these data, 75% was for training the classifiers, and the rest of the data was for validation. Contrary to expectations, the evaluation yielded accuracies of 91.67% for the nonlinear SVM and 92.71% for the linear SVM, concluding that there was similar performance.

1. Introduction

Multiple proposals allow automation of the home, requiring various sensors to determine the states inside and outside the house [1,2]. These intelligent devices facilitate data acquisition and decision-making. Devices that help reduce energy consumption are highly appreciated but have high costs [3]. Additionally, the recent pandemic has led to severe economic problems [4]. Thus, low-cost technologies have emerged to facilitate access to these features through data acquisition and control devices [5]. But even with these benefits, the infrastructure of many homes makes it difficult to implement new technologies. On the other hand, artificial intelligence can potentially reduce the number of devices required to determine states in the home [6].
The Internet of Things (IoT) is a technology in constant growth, generating different commercial and research proposals that allow the automation of various processes to include the best features [7,8,9,10]. However, these services have been criticized for multiple reasons, such as security, privacy, standardization, ethics, scalability, reliability, and quality [8,11,12,13,14,15]. On the other hand, the IoT offers not only automated systems but also offers real-time data availability and the continuous acquisition of information for subsequent analysis. This allows precise decisions to be made that feedback on the operation of the system to adapt to the needs of the environment [16,17,18].
At present, the IoT is widely used in electric power data acquisition and monitoring, and for controlling network statistics for efficient power supply [19,20,21,22]. On the other hand, the smart home is an interconnected home where all kinds of elements interact through the Internet, automating domestic activities. These benefits include the monitoring of electrical energy, which allows decisions to be made to optimize the use of electricity [23,24,25]. Several features of these smart homes include managing lighting, security, and more. Improvements may include the integration of sunlight and efficient management of the running time of electrical appliances [26,27,28]. For these features to work correctly, it is necessary to provide the system with a certain intelligence [29,30]. Some benefits of energy optimization using artificial intelligence are the derivation of comfortable temperature, device-free sleep prediction, and occupancy-based outing prediction.
Machine learning (ML) has been widely used in the modeling and prediction of power systems because it allows the simulation of offline behavior and anticipates failures. This has led to a remarkable increase in the precision, robustness, and ability to generalize the behavior of these systems [31,32,33]. The models obtained with ML allow forecasting of the energy consumption and performance of buildings, and although there are many techniques for determining these models, these all provide reasonable accuracy by providing a large amount of data and optimizing the parameters [6,34,35]. A prediction model based on a support vector machine (SVM) is fast, easy, reliable, and accurate, and in energy, has been used to forecast solar and wind resources [36,37]. Classically, SVMs are linear binary classifiers, but these have been extended to nonlinear cases using kernel functions. Linear SVM is characterized by requiring less training time, but regarding performance, there are discrepancies about which is better, obtaining different results depending on the case [38,39,40].
Regarding similar works, in [41], the authors used machine learning for the nonintrusive detection of absence in the home based on the electrical use of household appliances. Several machine learning algorithms were evaluated, and the results show that detecting home absences using the energy consumption of household appliances is feasible. On the other hand, in [42], the authors developed a home care video monitoring system to detect abnormal and normal events. Specifically, in the decision-making component, the SVM method was applied. The experimental results were obtained using a fall detection dataset to validate the reliability of the proposed method, achieving a high detection rate.
In [43], a new approach for load monitoring was proposed that aimed at activity recognition based on IoT architecture. The primary function of appliance recognition is to tag the sensor data and allow the implementation of different applications for the home. For classification, three proposals are used: forward neural network, short-term memory, and SVM. The characteristics are extracted according to the consumption (watt-hour) and the hours of ignition. In validation, the system was applied to a different house, significantly reducing the accuracy. The results suggest that before having the system fully operational, it might be necessary to retrain the classifier with the new data.
Finally, [44] presented two new incremental SVM methods to improve the performance of SVM classification for the recognition of human activity. Feature extraction was based on the dependency sensor and focused only on the last sensor event. A cluster-based approach and a similarity-based approach were also used to boost the learning performance of incremental SVM algorithms that exploit the relationship between the data chunk and the previous chunk’s support vectors. The results demonstrated the feasibility and improvements in real-time learning and classification performance achieved by these methods. The similarity-based incremental learning was 5 to 9 times faster than other methods, in terms of training performance. And the introduced last-state sensor function method achieved an improvement of at least 5% over the reference SVM classifier.
This manuscript presents two home presence classifiers based on active power data obtained over 20 days in an automated manner using an IoT device. These types of classifiers are useful in the development of sustainable cities. The document has been organized into four sections: Section 1 presents the introduction to the topic; Section 2 describes materials and methods; Section 3 presents the results of the training and evaluation; and, Section 4 contains the conclusions.

2. Materials and Methods

This research was developed according to the scheme in Figure 1. Initially, the total household active power data was continuously acquired for a period of time. This was done through a commercial device with IoT features; in this way, the data of the mobile application were accessed to export later. At the same time, the presence of the inhabitants in the home was recorded to generate the supervised learning labels. A part of the data was used in the training of two SVM models, a nonlinear model and a linear model. In the evaluation, the rest of the data was used to determine the performance of each classification model and compare the results.

2.1. Data

The data was obtained with an Emporia Gen 2 Vue energy monitor [45]; this device has a wireless internet connection via WiFi. In addition, it includes clamp sensors to measure electrical current of up to 200 amps without contact. Figure 2 shows the connections made for monitoring electricity in the home for data acquisition (L.—Line, N.—Neutral). The voltage was obtained by connecting the live and the neutral directly to the energy monitor and the current using the clamps for each cable. The meter was installed after the protection breaker. On the other hand, the states of the household are obtained manually, registering the labels of state 1 for presence and state −1 for non-presence (absence). In the study home, there were four people with different work schedules, and sleep hours were recorded as non-presence.
The sensor has a sampling frequency of up to 1Hz and an accuracy of 2%. Table 1 presents more information about the sensor.

2.2. Classifiers

For this work, two binary classifier models were used; the objective was to determine the presence in the home, and the classifiers were based on [46]. The general SVM model is expressed according to Equation (1), where b is the bias and αi are the coefficients of the model, depending on the number of support vectors. This model was based on a kernel function K(x1,x2) dependent on the study variables; in this case, x1 represented 24 h a day, and x2 represented active power measurements in units of watts [W]. That is, it was about predicting the presence in the home according to the time of day and active power measurements.
f(x) = b + Σi(αi K(x1,x2))
For this investigation, two SVM models were obtained, a nonlinear model according to the Gaussian kernel function (2) and a linear model according to the linear kernel function (3), to discern the best model between two different options.
K(x1,x2) = exp(−‖x1x2)‖2)
K(x1,x2) = x1Tx2

3. Results

The data were recorded for 20 days continuously. In total, 480 h of recording were obtained; Figure 3 presents a sample of active power readings obtained in the mobile application of Emporia. This application allowed exporting of data in seconds, minutes, hours, days, weeks, months, or years. Additionally, it can calculate the average of every 15 min of readings, which reduces the volume of information and facilitates model training (https://github.com/josevarela90/DatosCSECity-22 (accessed on 1 September 2022)). A total of 1920 active power samples were obtained during the 20 days of continuous measurements. The mean active power was 331.8 [W], with a minimum of 22.6 [W], a maximum of 2308.9 [W], and a standard deviation of 363.4 [W].

3.1. Training

For the training of both SVM models, 75% of the data obtained was used, that is, the active power record of 15 days. In total, 360 continuous hours of measurements were available, which were 1440 active power readings, as shown in Figure 4.
The training data was organized in the 24 h of the day, including the labels of presence and non-presence in the home. Figure 5 shows the dispersion of active power readings according to the status label. In general, the highest readings correspond to the presence in the home, although there were particular cases with non-presence labels.
The nonlinear SVM model was obtained, identifying 400 support vectors, which was 27.74% of the data used in training. Figure 6 shows the nonlinear binary classifier with the support vectors. Two particular cases of this model are evidenced. Between the 2 and 3 h of the day, there was always non-presence, because everyone was sleeping. And between the 20 and 22 h (GMT-5) of the day, they were always at home.
On the other hand, the linear SVM model was obtained, identifying 341 support vectors, which was 23.65% of the data used in training. Figure 7 shows the linear binary classifier with the support vectors. A line with a slight negative slope is evidenced with the vertical intersection located approximately at 314 [W].

3.2. Validation

For the validation of both SVM models, 25% of the remaining data was used, that is, the active power record of 5 days. In total, 120 continuous hours of measurements were available, which included 480 active power readings, as shown in Figure 8.
In evaluating the nonlinear SVM model, the classification presented in Figure 9 was obtained, observing the classification errors for both labels. In addition, Table 2 shows the confusion matrix, determining an accuracy of 97.4% in the detection of non-presence, and an accuracy of 81.4% in the detection of presence; the results indicate a greater number of false negatives. In summary, the nonlinear SVM classifier had an accuracy of 91.67%.
In evaluating the linear SVM model, the classification presented in Figure 10 was obtained, observing the classification errors for both labels in the same way. In addition, Table 3 shows the confusion matrix, determining an accuracy of 91.75% in the detection of non-presence and an accuracy of 85.47% in the detection of presence. However, false negatives also predominated, and the accuracy improved in the presence prediction. In summary, the linear SVM classifier had an accuracy of 92.71%, a value slightly higher than that obtained in the nonlinear SVM classifier.

4. Discussion

In this investigation, power readings were used to determine presence in the home. For this, SVM classifiers were used, which are widely used due to their speed of training and response. In addition, in this proposal, the data does not include pre-processing to guarantee applicability with minimum computational requirements. The excellent performance of the classifiers confirms this assertion, despite using raw data.
In the literature, few non-invasive studies have determined activity at home, and most of those studies used multiple sensors installed in the home. In [44], the authors used modern classifiers (incremental SVM), but this classification is based on data from various sensors of temperature, movement, and door status. Thus, the results are not comparable, and complex infrastructure is required to implement a similar system.
In the results of [43], the precision was around 80% for the SVM classifier, which is different from our work, where both SVM classifiers exceeded 90% accuracy. Also, in this work, the labels were classified based on the energy consumed, and a non-binary classification was performed. In this context, studies are required for non-binary classifiers with different kernel functions to establish which ones generate better results compared to other SVMs. Another similar study tried to detect absence in the home [41], but did not have a data set that provided energy data and real data on absenteeism in the home. For this, artificial output events were introduced in the data set, which does not guarantee their usefulness with real data.

5. Conclusions

This work presents the training and evaluation of two different binary SVM classifiers from data acquired using the Emporia Gen 2 Vue energy monitor. The nonlinear SVM model, which was based on the Gaussian kernel function, obtained a return of 91.67%, and the linear SVM model, which was based on the linear kernel function, obtained a return of 92.71%. According to the data obtained in this research, both binary classification methods yield similar performances. One option to improve these results would be to include more reading channels to determine the presence in the home.
In future studies, we intend to design, implement, and evaluate a smart home through automated decisions that work with the predictions of one or more binary presence classifiers.

Author Contributions

Conceptualization, J.V.-A. and R.M.T.; methodology, J.V.-A.; software, J.V.-A.; validation, J.V.-A. and R.M.T.; formal analysis, J.V.-A.; investigation, J.V.-A. and R.M.T.; resources, J.V.-A. and P.F.B.E.; data curation, J.V.-A.; writing—original draft preparation, J.V.-A.; writing—review and editing, J.V.-A. and R.M.T.; visualization, J.V.-A.; supervision, J.V.-A. and P.F.B.E.; project administration, J.V.-A. and P.F.B.E.; funding acquisition, J.V.-A. and P.F.B.E. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Universidad Tecnológica Indoamérica with funding code INV-0012-001 and the APC was funded by Universidad Tecnológica Israel.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors would like to thank the SISAu Research Group for the support in this work. The results of this work are part of the project “Optimización de los flujos energéticos en edificaciones” of the 2022 developed by Universidad Tecnológica Indoamérica. This work was supported in part by collaboration with REDTPI4.0 CYTED program.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Taştan, M. A low-cost air quality monitoring system based on Internet of Things for smart homes. J. Ambient Intell. Smart Environ. 2022, 14, 351–374. [Google Scholar] [CrossRef]
  2. Adoghe, A.U.; Owuama, E.C.; Oguntosin, V.; Morawo, B. Design and Implementation of a Low-Cost Cloud-Powered Home Automation System. J. Eng. Sci. Technol. Rev. 2022, 15, 177–192. [Google Scholar] [CrossRef]
  3. Esquicha-Tejada, J.D.; Copa-Pineda, J.C. Low-Cost and Energy-Efficient Alternatives for Home Automation using IoT. Int. J. Interact. Mob. Technol. 2022, 16, 153–168. [Google Scholar] [CrossRef]
  4. Paredes-Torres, M.; Cando-Zumba, A.d.R.; Varela-Aldás, J. Income Tax for Microenterprises in the COVID-19 Pandemic: A Case Study on Ecuador. Sustainability 2022, 14, 2537. [Google Scholar] [CrossRef]
  5. Chioran, D.; Valean, H. Low Cost Autonomous Learning and Advising Smart Home Automation System. Intell. Autom. Soft Comput. 2022, 31, 1939–1952. [Google Scholar] [CrossRef]
  6. Liu, Y.; Liu, Q.; Guan, H.; Li, X.; Bi, D.; Guo, Y.; Sun, H. Optimization Strategy of Configuration and Scheduling for User-Side Energy Storage. Electronics 2021, 11, 120. [Google Scholar] [CrossRef]
  7. Behrendt, F. Cycling the Smart and Sustainable City: Analyzing EC Policy Documents on Internet of Things, Mobility and Transport, and Smart Cities. Sustainability 2019, 11, 763. [Google Scholar] [CrossRef] [Green Version]
  8. Kumar, S.; Tiwari, P.; Zymbler, M. Internet of Things is a revolutionary approach for future technology enhancement: A review. J. Big Data 2019, 6, 111. [Google Scholar] [CrossRef] [Green Version]
  9. Toapanta, J.; Miranda, M.; Andaluz, V.H.; Palacios-Navarro, G.; Varela-Aldás, J. Control of a Security Door Through the Internet of Things. In Communications in Computer and Information Science; Springer: Berlin/Heidelberg, Germany, 2022; pp. 391–397. [Google Scholar]
  10. Zantalis, F.; Koulouras, G.; Karabetsos, S.; Kandris, D. A Review of Machine Learning and IoT in Smart Transportation. Futur. Internet 2019, 11, 94. [Google Scholar] [CrossRef] [Green Version]
  11. Sfar, A.R.; Chtourou, Z.; Challal, Y. A systemic and cognitive vision for IoT security: A case study of military live simulation and security challenges. In Proceedings of the IEEE 2017 International Conference on Smart, Monitored and Controlled Cities (SM2C), Kerkennah-Sfax, Tunisia, 17–19 February 2017; pp. 101–105. [Google Scholar]
  12. Andrade, R.; Ortiz-Garcés, I.; Tintin, X.; Llumiquinga, G. Factors of Risk Analysis for IoT Systems. Risks 2022, 10, 162. [Google Scholar] [CrossRef]
  13. Lin, T.-W. A Privacy-Preserved ID-Based Secure Communication Scheme in 5G-IoT Telemedicine Systems. Sensors 2022, 22, 6838. [Google Scholar] [CrossRef] [PubMed]
  14. Riaz, A.R.; Gilani, S.M.M.; Naseer, S.; Alshmrany, S.; Shafiq, M.; Choi, J.-G. Applying Adaptive Security Techniques for Risk Analysis of Internet of Things (IoT)-Based Smart Agriculture. Sustainability 2022, 14, 10964. [Google Scholar] [CrossRef]
  15. Ullah, I.; Alkhalifah, A.; Khan, M.A.; Mostafa, S.M. Cost-Effective Proxy Signcryption Scheme for Internet of Things. Mob. Inf. Syst. 2021, 2021, 2427434. [Google Scholar] [CrossRef]
  16. Zanella, A.; Bui, N.; Castellani, A.; Vangelista, L.; Zorzi, M. Internet of Things for Smart Cities. IEEE Internet Things J. 2014, 1, 22–32. [Google Scholar] [CrossRef]
  17. Astill, J.; Dara, R.A.; Fraser, E.D.G.; Roberts, B.; Sharif, S. Smart poultry management: Smart sensors, big data, and the internet of things. Comput. Electron. Agric. 2020, 170, 105291. [Google Scholar] [CrossRef]
  18. Alsareii, S.A.; Shaf, A.; Ali, T.; Zafar, M.; Alamri, A.M.; AlAsmari, M.Y.; Irfan, M.; Awais, M. IoT Framework for a Decision-Making System of Obesity and Overweight Extrapolation among Children, Youths, and Adults. Life 2022, 12, 1414. [Google Scholar] [CrossRef]
  19. Khan, F.; Siddiqui, M.A.B.; Rehman, A.U.; Khan, J.; Asad, M.T.S.A.; Asad, A. IoT Based Power Monitoring System for Smart Grid Applications. In Proceedings of the IEEE 2020 International Conference on Engineering and Emerging Technologies (ICEET), Lahore, Pakistan, 22–23 February 2020; pp. 1–5. [Google Scholar]
  20. Jebroni, Z.; Afonso, J.A.; Tidhaf, B. Home Energy Monitoring System Towards Smart Control of Energy Consumption. In Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering; Springer: Berlin/Heidelberg, Germany, 2019; pp. 40–53. [Google Scholar]
  21. Varela-Aldás, J.; Silva, S.; Palacios-Navarro, G. IoT-Based Alternating Current Electrical Parameters Monitoring System. Energies 2022, 15, 6637. [Google Scholar] [CrossRef]
  22. Ahmed, M.M.; Qays, M.O.; Abu-Siada, A.; Muyeen, S.M.; Hossain, M.L. Cost-Effective Design of IoT-Based Smart Household Distribution System. Designs 2021, 5, 55. [Google Scholar] [CrossRef]
  23. Almusaylim, Z.A.; Zaman, N. A review on smart home present state and challenges: Linked to context-awareness internet of things (IoT). Wirel. Netw. 2019, 25, 3193–3204. [Google Scholar] [CrossRef]
  24. Buele, J.; Morales-Sánchez, J.C.; Varela-Aldás, J.; Palacios-Navarro, G.; Ayala-Chauvin, M. Electric Monitoring System for Residential Customers Using Wireless Technology. In Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Springer: Berlin/Heidelberg, Germany, 2022; pp. 560–575. [Google Scholar]
  25. Hussain, H.; Javaid, N.; Iqbal, S.; Hasan, Q.; Aurangzeb, K.; Alhussein, M. An Efficient Demand Side Management System with a New Optimized Home Energy Management Controller in Smart Grid. Energies 2018, 11, 190. [Google Scholar] [CrossRef]
  26. Khan, M.; Silva, B.N.; Han, K. Internet of Things Based Energy Aware Smart Home Control System. IEEE Access 2016, 4, 7556–7566. [Google Scholar] [CrossRef]
  27. Bola, M.H.; Onwuka, E.N.; Zubair, S. An Efficient Energy Management in Buildings Using IoT—A Survey. In Proceedings of the IEEE 2019 15th International Conference on Electronics, Computer and Computation (ICECCO), Abuja, Nigeria, 10–12 December 2019; pp. 1–6. [Google Scholar]
  28. Minh, Q.N.; Nguyen, V.-H.; Quy, V.K.; Ngoc, L.A.; Chehri, A.; Jeon, G. Edge Computing for IoT-Enabled Smart Grid: The Future of Energy. Energies 2022, 15, 6140. [Google Scholar] [CrossRef]
  29. Kwon, K.; Lee, S.; Kim, S. AI-based home energy management system considering energy efficiency and resident satisfaction. IEEE Internet Things J. 2021, 9, 1608–1621. [Google Scholar] [CrossRef]
  30. Sepasgozar, S.; Karimi, R.; Farahzadi, L.; Moezzi, F.; Shirowzhan, S.; Ebrahimzadeh, S.M.; Hui, F.; Aye, L. A Systematic Content Review of Artificial Intelligence and the Internet of Things Applications in Smart Home. Appl. Sci. 2020, 10, 3074. [Google Scholar] [CrossRef]
  31. Mosavi, A.; Salimi, M.; Faizollahzadeh Ardabili, S.; Rabczuk, T.; Shamshirband, S.; Varkonyi-Koczy, A. State of the Art of Machine Learning Models in Energy Systems, a Systematic Review. Energies 2019, 12, 1301. [Google Scholar] [CrossRef] [Green Version]
  32. Burlig, F.; Knittel, C.; Rapson, D.; Reguant, M.; Wolfram, C. Machine Learning from Schools about Energy Efficiency. J. Assoc. Environ. Resour. Econ. 2020, 7, 1181–1217. [Google Scholar] [CrossRef]
  33. Abdel-Razek, S.A.; Marie, H.S.; Alshehri, A.; Elzeki, O.M. Energy Efficiency through the Implementation of an AI Model to Predict Room Occupancy Based on Thermal Comfort Parameters. Sustainability 2022, 14, 7734. [Google Scholar] [CrossRef]
  34. Seyedzadeh, S.; Rahimian, F.P.; Glesk, I.; Roper, M. Machine learning for estimation of building energy consumption and performance: A review. Vis. Eng. 2018, 6, 5. [Google Scholar] [CrossRef]
  35. Jadhav, A.; Mostafa, S.M.M.; Elmannai, H.; Karim, F.K. An Empirical Assessment of Performance of Data Balancing Techniques in Classification Task. Appl. Sci. 2022, 12, 3928. [Google Scholar] [CrossRef]
  36. Zendehboudi, A.; Baseer, M.A.; Saidur, R. Application of support vector machine models for forecasting solar and wind energy resources: A review. J. Clean. Prod. 2018, 199, 272–285. [Google Scholar] [CrossRef]
  37. Muzzammel, R.; Raza, A. A Support Vector Machine Learning-Based Protection Technique for MT-HVDC Systems. Energies 2020, 13, 6668. [Google Scholar] [CrossRef]
  38. Gao, Y.; Sun, S. An empirical evaluation of linear and nonlinear kernels for text classification using Support Vector Machines. In Proceedings of the IEEE 2010 Seventh International Conference on Fuzzy Systems and Knowledge Discovery, Yantai, China, 10–12 August 2010; pp. 1502–1505. [Google Scholar]
  39. Chauhan, V.K.; Dahiya, K.; Sharma, A. Problem formulations and solvers in linear SVM: A review. Artif. Intell. Rev. 2019, 52, 803–855. [Google Scholar] [CrossRef]
  40. Álvarez-Alvarado, J.M.; Ríos-Moreno, J.G.; Obregón-Biosca, S.A.; Ronquillo-Lomelí, G.; Ventura-Ramos, E.; Trejo-Perea, M. Hybrid Techniques to Predict Solar Radiation Using Support Vector Machine and Search Optimization Algorithms: A Review. Appl. Sci. 2021, 11, 1044. [Google Scholar] [CrossRef]
  41. Lentzas, A.; Vrakas, D. Machine learning approaches for non-intrusive home absence detection based on appliance electrical use. Expert Syst. Appl. 2022, 210, 118454. [Google Scholar] [CrossRef]
  42. Htun, S.N.N.; Zin, T.T.; Hama, H. Virtual Grounding Point Concept for Detecting Abnormal and Normal Events in Home Care Monitoring Systems. Appl. Sci. 2020, 10, 3005. [Google Scholar] [CrossRef]
  43. Franco, P.; Martinez, J.M.; Kim, Y.-C.; Ahmed, M.A. IoT Based Approach for Load Monitoring and Activity Recognition in Smart Homes. IEEE Access 2021, 9, 45325–45339. [Google Scholar] [CrossRef]
  44. Nawal, Y.; Oussalah, M.; Fergani, B.; Fleury, A. New incremental SVM algorithms for human activity recognition in smart homes. J. Ambient Intell. Humaniz. Comput. 2022, 13, 1–18. [Google Scholar] [CrossRef]
  45. Emporia Gen 2 Vue Energy Monitor. Available online: https://www.emporiaenergy.com/technical-specs (accessed on 30 September 2022).
  46. Cristianini, N.; Shawe-Taylor, J. An Introduction to Support Vector Machines and Other Kernel-Based Learning Methods; Cambridge University Press: Cambridge, UK, 2000; ISBN 9780521780193. [Google Scholar]
Figure 1. General outline of this investigation.
Figure 1. General outline of this investigation.
Designs 06 00108 g001
Figure 2. Energy monitor connection diagram for data acquisition.
Figure 2. Energy monitor connection diagram for data acquisition.
Designs 06 00108 g002
Figure 3. Active power readings on the mobile application.
Figure 3. Active power readings on the mobile application.
Designs 06 00108 g003
Figure 4. Active power measurements for training SVM models.
Figure 4. Active power measurements for training SVM models.
Designs 06 00108 g004
Figure 5. Data dispersion for model training.
Figure 5. Data dispersion for model training.
Designs 06 00108 g005
Figure 6. Nonlinear binary classifier of home presence.
Figure 6. Nonlinear binary classifier of home presence.
Designs 06 00108 g006
Figure 7. Linear binary classifier of home presence.
Figure 7. Linear binary classifier of home presence.
Designs 06 00108 g007
Figure 8. Active power measurements for evaluation of SVM models.
Figure 8. Active power measurements for evaluation of SVM models.
Designs 06 00108 g008
Figure 9. Evaluation of the nonlinear binary classifier of home presence.
Figure 9. Evaluation of the nonlinear binary classifier of home presence.
Designs 06 00108 g009
Figure 10. Evaluation of the linear binary classifier of home presence.
Figure 10. Evaluation of the linear binary classifier of home presence.
Designs 06 00108 g010
Table 1. Information for Gen 2 Vue Energy Monitor [45].
Table 1. Information for Gen 2 Vue Energy Monitor [45].
FeaturesDetails
Input voltage100–240 [V]
CurrentMax 200 [A]
200A sensor ports3 × 3.5 mm two-pole audio connector
Frequency50–60 [Hz]
Power ConsumptionMax 3 W
Phasesingle-phase up to 240 [V] line-neutral
single, split-phase 120/240 [V]
three-phase up to 415 Y/240 [V] (no Delta)
WiFi2.4 GHz 802.11 b/g/n
CertificationUL/IEC/EN 62368-1
Operating Conditions−40 to +50 [°C] | 0 to 80% RH
Table 2. Nonlinear classifier evaluation confusion matrix.
Table 2. Nonlinear classifier evaluation confusion matrix.
Prediction
Non-PresencePresencePerformance
LabelNon-Presence300897.4%
Presence3214081.4%
Total 91.67%
Table 3. Linear classifier evaluation confusion matrix.
Table 3. Linear classifier evaluation confusion matrix.
Prediction
Non-PresencePresencePerformance
LabelNon-Presence2981096.75%
Presence2514785.47%
Total 92.71%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Varela-Aldás, J.; Toasa, R.M.; Baldeon Egas, P.F. Support Vector Machine Binary Classifiers of Home Presence Using Active Power. Designs 2022, 6, 108. https://doi.org/10.3390/designs6060108

AMA Style

Varela-Aldás J, Toasa RM, Baldeon Egas PF. Support Vector Machine Binary Classifiers of Home Presence Using Active Power. Designs. 2022; 6(6):108. https://doi.org/10.3390/designs6060108

Chicago/Turabian Style

Varela-Aldás, José, Renato Mauricio Toasa, and Paul Francisco Baldeon Egas. 2022. "Support Vector Machine Binary Classifiers of Home Presence Using Active Power" Designs 6, no. 6: 108. https://doi.org/10.3390/designs6060108

Article Metrics

Back to TopTop