Centralized Ingredients based on Food Pairing DATA OF FIVE ETHNIC GROUPS


Lab Reports, Networks
Question: Which ethnic groups have ample and varying ingredients?
Answer: East Asian got a larger amount of food pairing of ingredients.
The pink nodes indicated ingredients shared by all five ethnic groups.

NODES

Size By Betweenness Centrality:

Least coast path gets the larger value of size and the most coast path gets the smaller value of size.
Color By Eccentricity:

– pink (All the continents use the ingredients)
– blue (Continents)
– beige (two-four of continents use the ingredients)

EDGES


Thickness By Weights:

popular ingredient gets the maximum value of weights and
lower connection out of all ingredients gets the minimum value of weights.
Color: use node color

INTRODUCTION

Flavor network and the principles of food pairing
“The six most authentic ingredients and ingredient pairs used in specific regional cuisine. Node color represents cuisine and the link weight reflects the relative prevalence 
 of the ingredient pair.(Ahn, Ahnert, Bagrow & Barabási, 2011)”

Even though the world shares similar ingredients and foods, each continent has own recipes and tastes which made me curious to figure them out. Do people prefer specific ingredients or they use just general ingredients, such as pepper, olive oil, or chicken? Which ingredients are mostly used out of all?

These questions led many people to create a concept for food pairing. Food pairing is a method for identifying which foods go well together from a flavor standpoint. me to make six of networks that contained each ethnic groups’ ingredients based on food pairing database.

TOOLS & METHODS

1. Data Collection 

Tools: Supplementary Information Supplementary Dataset 2

Row data contained the seven ethnic groups

An article, Flavor network and the principles of food pairing, is one of the most prominent and popular thesis in food pairing or bridging, especially, their datasets are commonly used by other researchers.
There are most commonly used ingredients among seven ethnic groups by the principles of food pairing. Since Northern America was not able to clean from RStudio due to the reason for the super big size, I decided to exclude these two groups, northern American and Southern American. 

2. Data Cleaning

Tools: Introduction to Data Science with R Data Analysis Part 1

Copy & Past by Permuting network data in R.. (Thank you so much Sula)

It was RStudio which I had to use for the cleaning the data and it was my first experience. Although I’d liked to understand the meaning of the comments, a few hours later, I concluded to memorize them not to understand which I was not able to fully understand. Also, another problem occurred and it was after saving the file from RStudio which was “x”. I supposed to rename the final column to “weight” not “x”.

“x” needed to be “weight”

3. Pre-Design Research

Tools: Gephi Tutorial: How to use Gephi for Network Analysis

The video helps me to get overall understanding of Gephi, especially on Statistics parts, I found that for my data needed at least Network Diameter to analyze how much they are centralized. Average Degree is also good to have which contains average connection out of all nodes so it could see at a glance.

Tools: Getting Started With Gephi Network Visualisation App

It was very worth to see the above article that it tells me “eccentricity” measurement. “It captures the distance between a node and the node that is furthest from it; so a high eccentricity means that the furthest away node in the network is a long way away, and a low eccentricity means that the furthest away node is actually quite close(Hirst, 2010).” I used the eccentricity into the size of nodes.

Tools: Gephi Tutorial: Filtering Networks

To make less cluster, I used filters of “Giant Component”

Five ethnic groups are all in the center so after I made the node to be scared by node size, they are all placed together. After watching the video, I was able to make less cluster than before.

4. Visualization creation

Food paring in African ingredients

NODES
Size By Betweenness Centrality
Color By Eccentricity

EDGES
Color: use node color
Food pairing in Eastern European

NODES
Size By Betweenness Centrality
Color By Eccentricity

EDGES
Color: use node color
Food pairing in Northern European

NODES
Size By Betweenness Centrality
Color By Eccentricity

EDGES
Color: use node color
Food paring in East Asian

* I used the same size to all of the networks but only East Asian and Middle Eastern were super huge that png image didn’t capture them all. 
It’s because of their amount of commonly used ingredients are huge.

NODES
Size By Betweenness Centrality
Color By Eccentricity

EDGES
Color: use node color

Food pairing in Middle Eastern

* I used the same size to all of the networks but only East Asian and Middle Eastern were super huge that png image didn’t capture them all. 
It’s because of their amount of commonly used ingredients are huge.

NODES
Size By Betweenness Centrality
Color By Eccentricity

EDGES
Color: use node color

REFLECTION

ddd