Skip to main content

Table 4 Prediction accuracy results for the number of ratings and number of comments based on user and recipe feature sets within one week and within one month after a recipe (Main dish or all categories of recipes) was published, for Allrecipes.com and Kochbar.de. The ‘All’ feature set refers to when all 7 feature sets (Recipe Nutrition, Healthiness, Complexity, Presentation, Seasonality, Innovation and User Activity & Context) are combined, ‘Top-10’ denotes the best 10 features selected via InfoGain and the ‘Top-20’ categories refer to the categories in the dataset to which the most recipes have been uploaded. Note that the number of ratings and comments are identical in Allrecipes.com and thus the results are not mirrored again for the number of comments

From: On the predictability of the popularity of online recipes

Feature Set Accuracy
Allrecipes.com Kochbar.de Num.Feat.
Within one Week Within one Month Within one Week Within one Month
RF LOG NB RF LOG NB RF LOG NB RF LOG NB
Main dishes
Num. Ratings Class size: 1653 Class size: 2772 Class size: 38,573 Class size: 37,789  
Recipe Nutrition 51.90% 54.43% 52.90% 50.23% 52.04% 51.70% 51.34% 50.77% 51.02% 50.75% 50.57% 50.87% 4
Recipe Healthiness 48.28% 48.73% 47.74% 50.87% 50.83% 51.05% 49.91% 50.18% 49.90% 49.79% 49.68% 49.94% 1
Recipe Complexity 52.18% 53.70% 48.10% 51.82% 49.68% 53.01% 62.71% 62.89% 64.30% 62.76% 62.73% 64.44% 5
Recipe Presentation 55.70% 52.89% 53.71% 55.01% 56.78% 55.77% 71.10% 61.94% 71.92% 71.54% 61.94% 72.26% 21
Recipe Seasonality 53.44% 53.89% 50.90% 52.85% 53.72% 53.07% 62.68% 53.57% 54.44% 61.59% 53.36% 54.23% 4
Recipe Innovation 56.69% 61.39% 58.13% 57.47% 58.62% 58.66% 64.62% 64.92% 57.59% 63.45% 64.11% 57.08% 6
User Activity & Context 55.34% 56.24% 49.55% 56.82% 48.85% 49.80% 89.95% 82.56% 80.66% 89.44% 81.91% 79.79% 16 (12)
All 59.22% 58.14% 51.54% 60.23% 59.09% 54.36% 88.45% 84.51% 80.50% 88.09% 83.91% 80.00% 57 (53)
Top-10 Features 56.69% 59.49% 57.32% 59.90% 58.01% 52.22% 89.32% 82.60% 82.75% 88.88% 81.96% 82.12% 10
Num. Comments    Class size: 35483 Class size: 37800  
Recipe Nutrition Same as ratings 51.15% 51.06% 51.27% 51.08% 51.19% 51.37% 4
Recipe Healthiness 50.31% 50.34% 50.21% 50.11% 50.22% 49.76% 1
Recipe Complexity 61.67% 62.32% 63.57% 61.33% 61.63% 62.56% 5
Recipe Presentation 69.43% 62.08% 70.16% 69.07% 61.58% 69.86% 21
Recipe Seasonality 55.26% 51.87% 52.66% 54.79% 51.47% 52.31% 4
Recipe Innovation 57.30% 59.09% 52.62% 56.09% 57.83% 55.23% 6
User Activity & Context 86.04% 79.67% 80.21% 85.04% 78.40% 78.74% 16 (12)
All        85.50% 80.60% 79.15% 84.23% 79.36% 80.70% 57 (53)
Top-10 Features        86.15% 79.63% 81.12% 84.89% 78.42% 79.72% 10
All kinds of dishes (all categories)
Num. Ratings Class size: 7948 Class size: 12583 Class size: 144428 Class size: 142,011  
Recipe Nutrition 50.58% 52.13% 51.50% 51.33% 52.91% 52.79% 51.83% 50.56% 51.74% 51.72% 50.75% 51.71% 4
Recipe Healthiness 49.84% 50.26% 49.75% 49.97% 50.27% 49.90% 49.99% 50.09% 50.04% 49.99% 50.13% 50.08% 1
Recipe Complexity 51.79% 52.85% 53.14% 53.00% 53.45% 51.22% 63.99% 62.56% 58.57% 63.49% 62.32% 59.91% 5
Recipe Presentation 53.49% 54.65% 55.16% 55.12% 56.49% 56.65% 69.94% 62.11% 70.75% 70.15% 61.93% 70.96% 21
Recipe Seasonality 52.66% 52.77% 53.03% 53.16% 54.16% 53.95% 67.61% 53.35% 53.81% 66.26% 52.76% 53.35% 4
Recipe Innovation 55.20% 56.73% 56.50% 56.47% 57.96% 58.09% 68.77% 68.01% 62.63% 67.05% 66.74% 62.23% 6
User Activity & Context 55.20% 53.46% 52.19% 58.12% 53.80% 54.33% 89.24% 81.13% 78.59% 88.62% 80.51% 77.77% 16 (12)
All 57.77% 58.61% 53.24% 60.78% 60.57% 62.29% 87.87% 83.57% 78.42% 87.17% 82.67% 78.75% 57 (53)
Top-10 Features 56.42% 54.76% 53.43% 59.37% 56.88% 59.90% 88.39% 81.17% 80.35% 87.76% 80.52% 79.87% 10
Top-20 Categories 52.94% 53.21% 51.84% 54.22% 54.20% 50.02% 58.77% 58.10% 50.03% 58.61% 57.89% 50.03% 20
Num. Comments    Class size: 127005 Class size: 138,568  
Recipe Nutrition Same as ratings 51.40% 51.28% 52.07% 51.51% 51.21% 52.03% 4
Recipe Healthiness 50.00% 49.88% 50.05% 50.17% 49.90% 50.14% 1
Recipe Complexity 61.29% 60.84% 55.75% 60.44% 60.11% 58.54% 5
Recipe Presentation 67.68% 61.67% 68.51% 67.17% 60.99% 66.62% 21
Recipe Seasonality 57.07% 52.45% 52.54% 55.88% 52.47% 52.55% 4
Recipe Innovation 58.15% 59.51% 57.71% 56.42% 57.74% 56.21% 6
User Activity & Context 83.89% 76.15% 78.14% 82.73% 74.77% 76.51% 16 (12)
All        83.30% 77.61% 76.61% 81.87% 76.01% 79.21% 57 (53)
Top-10 Features        83.92% 76.21% 79.53% 82.46% 74.80% 77.77% 10
Top-20 Categories        57.26% 56.84% 50.23% 56.61% 56.28% 50.20% 20
  1. Note: RF = Random Forrest, LOG = Logistic Regression, NB = Naive Bayes. The highest accuracy values in each set are underlined, whereas the second and third highest are bolded.