We started this chapter by explaining our problem and dataset and conducted product categorization using network/graph theory. We introduced the R package, igraph, to create and manipulate graphs. We set out discovering some of the properties of the graph and also a little bit about the graphs and random walks. We used the arules package to find frequent pairs of items and finally applied the graph clustering algorithm to our data to discover product categories. We were also able to identify important vertices performing the role of the core and connectors.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia