摘要:The purpose of this study is to investigate and compare the popularity of common grocery apps in Hungary as well as Iran. The data were gathered from Iranian and Hungarian users who had at least one online purchase experience using a grocery app. A Gaussian mixture model (GMM) and multi-layer perceptron (MLP) are used as supervised and unsupervised machine learning algorithms with Python programming to cluster customers and predict consumer behavior. The results revealed that Wolt in Hungary and Snappfood in Iran are the most popular grocery apps. Users in Iran are divided into three groups of users of app services and the type of full covariance has higher accuracy compared to the other three types (96%). Meanwhile, we found that the five apps used in Hungary have provided 95% accuracy from the users’ point of view based on the diagonal covariance. The MSE value (overfitting and cross-validation) is less than 0.1 in the MLP algorithm, which shows an acceptable amount of error. The results of overfitting indicate the proper fit of the MLP model. The findings of this study could be important for managers of online businesses. In the clustering section, the accuracy and value of consumer demographic information have been emphasized. Additionally, in the classification and prediction section, a kind of “customization” has been performed with an emphasis on market segmentation. This research used GMM and MLP machine learning algorithms as a creative way to cluster and classify consumers.