Abstract
Context-aware applications adapt their functionalities based on users contexts. Complementarily, a context history has information about previous contexts visited by a user. Context history enables applications to explore users past behavior. Researchers have studied different ways to analyze these data. This article addresses a specific type of data analysis in contexts histories, which is the discovery and monitoring of sequential patterns. The article proposes a model, called CHSPAM, that allows the discovery of sequential patterns in contexts histories databases and keeps track of these patterns to monitor their evolution over time. There are two main contributions of this work. The first one is the use of a generic representation for stored context information on pattern recognition field, which enables the model to be used for different research domains. The second contribution is the fact that CHSPAM monitors discovered pattern evolution over time. We have build a functional prototype that allowed us to conduct experiments in two different applications. The first experiment used the model to perform pattern analysis and evaluate the prediction based on monitored sequential patterns. Prediction accuracy increased by up to 17% when compared to the use of common sequential patterns. On the second experiment, CHSPAM was used as a component of a learning object recommendation application. The application was able to recommend learning objects related to students interests based on monitored sequential patterns extracted from users session history. Usefulness for recommendations reached 84%.
Similar content being viewed by others
References
Agrawal R, Imieliński T, Swami A (1993) Mining association rules between sets of items in large databases. In: Acm sigmod record, vol 22. ACM, pp 207–216
Barbosa JLV, Martins C, Franco LK, Barbosa DNF (2016) Trailtrade: a model for trail-aware commerce support. Comput Ind 80:43–53
Cardoso IG, Mota B, Victória Barbosa JL, da Rosa Righi R (2016) Vulcanus 2.0: a recommender system for accessibility. CLEI Electron J 19:1–24
Chikhaoui B, Wang S, Xiong T, Pigot H (2014) Pattern-based causal relationships discovery from event sequences for modeling behavioral user profile in ubiquitous environments. Inf Sci 285:204–222
Chodorow K (2013) MongoDB: the definitive guide. O’Reilly Media Inc., Sebastopol
da Rosa JH, Barbosa JL, Ribeiro GD (2016) Oracon: an adaptive model for context prediction. Expert Syst Appl 45:56–70
Dey AK (2001) Understanding and using context. Personal Ubiquitous Comput 5:4–7
Fatima I, Fahim M, Lee YK, Lee S (2013) A unified framework for activity recognition-based behavior analysis and action prediction in smart homes. Sensors 13(2):2682–2699
Hadley M, Sandoz P (2009) Jax-rs: Java\(^{{\rm TM}}\) api for restful web services. In: Java specification request (JSR), p 311
Han J, Pei J, Yin Y (2000) Mining frequent patterns without candidate generation. In: ACM sigmod record, vol 29. ACM, pp 1–12
Hong J, Suh EH, Kim J, Kim S (2009) Context-aware system for proactive personalized service based on context history. Expert Syst Appl 36:7448–7457
Hudak P (1989) Conception, evolution, and application of functional programming languages. ACM Comput Surv 21:359–411
Huynh T, Fritz M, Schiele B (2008) Discovery of activity patterns using topic models. In: Proceedings of the 10th international conference on ubiquitous computing, pp 10–19
Jung H, Chung K (2015) Sequential pattern profiling based bio-detection for smart health service. Clust Comput 18(1):209–219
Lee SC, Paik J, Ok J, Song I, Kim UM (2007) Efficient mining of user behaviors by temporal mobile access patterns. Int J Comput Sci Secur 7:285–291
Meng X, Bradley J, Yuvaz B, Sparks E, Venkataraman S, Liu D, Freeman J, Tsai D, Amde M, Owen S et al (2016) Mllib: machine learning in apache spark. JMLR 17(34):1–7
Moore P, Hu B, Wan J (2009) Intelligent context for personalised mobile learning. In: Caballe S (ed) Architectures for distributed and complex M-learning systems. Applying Intelligent Technologies, New York, pp 236–270
Niu X, Li M, Cui X, Liu J, Liu S, Chowdhury KR (2014) Wtrack: HMM-based walk pattern recognition and indoor pedestrian tracking using phone inertial sensors. Personal Ubiquitous Comput 18:1901–1915
Nurmi P, Martin M, Flanagan JA (2005) Enabling proactiveness through context prediction. In: Workshop on context awareness for proactive systems, p 53
Ordóñez FJ, de Toledo P, Sanchis A (2013) Activity recognition using hybrid generative/discriminative models on home environments using binary sensors. Sensors 13(5):5460–5477
Pei J, Han J, Mortazavi-Asl B, Wang J, Pinto H, Chen Q, Dayal U, Hsu MC (2004) Mining sequential patterns by pattern-growth: the prefixspan approach. IEEE Trans Knowl Data Eng 16(11):1424–1440
Perera C, Zaslavsky A, Christen P, Georgakopoulos D (2014) Context aware computing for the internet of things: a survey. IEEE Commun Surv Tutor 16(1):414–454
Rachuri KK, Musolesi M, Mascolo C, Rentfrow PJ, Longworth C, Aucinas A (2010) Emotionsense: a mobile phones based adaptive platform for experimental social psychology research, pp 281–290
Rosa JH, Barbosa JL, Kich M, Brito L (2015) A multi-temporal context-aware system for competences management. Int J Artif Intell Educ 25:455–492
Satyanarayanan M (2001) Pervasive computing: vision and challenges. IEEE Personal Commun 8:10–17
Weiser M (1991) The computer for the 21st century. Sci Am 265:94–104
Weiser M (1993) Some computer science issues in ubiquitous computing. Commun ACM 36:75–84
White T (2012) Hadoop: the definitive guide. O’Reilly Media Inc., Sebastopol
Wiedmann T, Barbosa JLV, Rigo SJ, Barbosa DNF (2016) Recsim: a model for learning objects recommendation using similarity of sessions. J Univers Comput Sci 22(8):1175–1200
Wood AD, Stankovic JA, Virone G, Selavo L, He Z, Cao Q, Doan T, Wu Y, Fang L, Stoleru R (2008) Context-aware wireless sensor networks for assisted living and residential monitoring. IEEE Netw 22:26–33
Yin J, Tian G, Feng Z, Li J (2014) Human activity recognition based on multiple order temporal information. Comput Electric Eng 40(5):1538–1551
Yürür Ö, Liu CH, Sheng Z, Leung VC, Moreno W, Leung KK (2014) Context-awareness for mobile sensing: a survey and future directions. IEEE Commun Surv Tutor 18(1):68–93
Zhang H, Ji Y, Li J, Ye Y (2015) A triple wing harmonium model for movie recommendation. IEEE Trans Ind Inf 12:231–239
Zhang H, Wang S, Xu X, Chow TWS, Wu QMJ (2018) Tree2vector: learning a vectorial representation for tree-structured data. IEEE Trans Neural Netw Lean Syst 29:5304–5318
Acknowledgements
The authors wish to acknowledge that this work was supported by FAPERGS (Foundation for the Supporting of Research in the State of Rio Grande do Sul - www.fapergs.rs.gov.br), CNPq (National Council for Scientific and Technological Development - www.cnpq.br), and Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001. The authors are also grateful to University of Vale do Rio dos Sinos (UNISINOS - www.unisinos.br) and Mobile Computing Lab (MOBILAB - www.unisinos.br/mobilab) for embracing this research.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Dupont, D., Barbosa, J.L.V. & Alves, B.M. CHSPAM: a multi-domain model for sequential pattern discovery and monitoring in contexts histories. Pattern Anal Applic 23, 725–734 (2020). https://doi.org/10.1007/s10044-019-00829-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10044-019-00829-9