Improving smart interactive experiences in cultural heritage through pattern recognition techniques