DOI: 10.5281/zenodo.7265211
title: Italian gastronomich recipes dataset

description: <strong>USAGE LICENSE</strong><br> Creative Commons Attribution 4.0 International Public License <strong>FILE CONTENTS</strong><br> dataset<br> ├─ foods folder containing files of food dataset (starting data from <em>giallozafferano.it</em>)<br> │ ├─ CSV folder containing files in .csv format<br> │ │ ├─ categories.csv <br> │ │ ├─ foodDataset.xlsx each of other .csv files derived from sheet of this excel file<br> │ │ ├─ ingredients.csv <br> │ │ ├─ ingredientsClasses.csv <br> │ │ ├─ ingredientsMetaclasses.csv <br> │ │ ├─ preparations.csv <br> │ │ └─ recipes.csv <br> │ └─ TXT folder containing files in .txt format<br> │ ├─ scorpored values folder containing values in textData scorpored by type of data<br> │ │ ├─ category-cost-difficulty.txt<br> │ │ ├─ ingredients.txt<br> │ │ ├─ names.txt<br> │ │ ├─ preparations.txt<br> │ │ └─ preparationTime.txt<br> │ └─ textData.txt .txt version of dataset/foods/CSV/foodDataset.xlsx file<br> └─ survey_answers folder containing results of the surveys on food preferences of the dataset<br> │ ├─ sorts folder containing results of the three surveys' questions where users sort foods<br> │ │ ├─ sort1.csv the three csv files contain the survey id, and then the food ordered by the user<br> │ │ ├─ sort2.csv<br> │ │ └─ sort3.csv<br> │ ├─ answers.csv results of the surveys<br> │ ├─ labels.txt labels of the samples in samples.txt <br> │ └─ samples.txt couples of food in <em>pairwise comparison</em> form * extracted from the sorts<br> └─ readme.md * Each sample has the form &lt;IDfood1, IDfood2&gt; and has label 1 if IDfood1 is preferred over IDfood2, -1 if IDfood2 is preferred over IDfood1, 0 if there is indifference relationship over IDfood1 and IDfood2<br> The preference sorts have been translated in two phases: search of inconsistencies among the three sorts in order to get the "certain" preference relationships. search of transitivity of preferences among the "certain" couples, giving indifference relationship to those for which no transitivity has been found. <strong>RECIPES DATASET DESCRIPTION</strong><br> the description refer to <em>dataset/foods/CSV/foodDataset.xlsx</em> Feature name Description Name italian name of the recipe ID ID associated to the recipe Link link of where the food data has been get Category Name name of the category (Starter, Complete Meal, First Course, Second Course, Savoury Cake) Category ID ID associated to the category Cost cost indicator of the food, discrete interval from 1 to 5 Difficulty difficuly indicator of the food, discrete interval from 1 to 4 Preparation Time integer positive number that indicates preparation time of the food expressed in minutes Ingredient english name of an ingredient of the recipe Ingredient ID ID associated to the ingredient Weight weight that the ingredient has in the composition of the interested recipe ... the columns of ingredients repeats for 18 times, leaving empty spaces when the recipe has no ingredients other than Preparation english name of a preparation performed on the recipe Preparation ID ID associated to the preparation Weight weight that the preparation has in the composition of the interested recipe ... the columns of preparations repeats for 18 times, leaving empty spaces when the recipe has no preparations other than in other sheet of the file are reportet all the ingredients, divided in classes and metaclasses, preparations and categories <strong>NOTE</strong>: in <em>dataset/foods/TXT/textData.txt ingredients</em> and preparation has been vectorized as follow: each element of the ingredient vector represent the weight of the ingredient class in the recipe. The weight of an ingredient class in a recipe is collected by sum up the weight of the ingredients owned by that particular ingredient class in the recipe. each element of the preparation vector represent the weight of the preparation in the recipe. <strong>PREFERENCES DATASET DESCRIPTION</strong><br> In the file <em>dataset/survey_answer/samples.txt</em> are reported 54 user's orderings in the form of <em>pairwise comparison</em>. Thus for each row correspond the ordering of a user. The ordering is written in the form of pairwise comparison, so each element of the ordering are paired with all others (avoiding simmetries). <br> For instance, given the recipes as their ID: 1; 2; 3 becomes: 1,2; 1,3; 2,3 The file is written following the <em>.csv</em> format.<br> In the file <em>dataset/survey_answer/lables.txt</em> are written the correspongin labels of the couples.<br> The label has value 1 if the first element of the couple is preferred over the second, -1 if the second element is preferred over the first, 0 if there is uncertainity about which of the element is preferred. <strong>HOW TO CITE</strong><br> <em>D.Fossemò, F.Mignosi, L.Raggioli, M.Spezialetti, F.A.D'Asaro. Using Inductive Logic Programming to globally approximate Neural Networks for preference learning: challenges and preliminary results. BEWARE-22, co-located with AIxIA 2022, November 28-December 2, 2022, University of Udine, Udine, Italy.</em>
description: {"references": ["D.Fossem\u00f2, F.Mignosi, L.Raggioli, M.Spezialetti, F.A.D'Asaro. Using Inductive Logic Programming to globally approximate Neural Networks for preference learning: challenges and preliminary results. BEWARE-22, co-located with AIxIA 2022, November 28-December 2, 2022, University of Udine, Udine, Italy."]}