The result obtained from the valence calculation was used to acquire a useful tool for indicating the likely factors that would affect consumers’ perceptions of a place, either positively or negatively. A Naïve Bayes learner node considers the likelihood of obtaining positive or negative reviews (Beisken et al., 2013). For each attribute, the highest positive and lowest negative ratings were 1 and − 1, respectively.