Re: What is the difference between horizontal and vertical database in pattern mining?
Date: October 07, 2020 09:26PM
Welcome to the forum. The short answer is:
A transaction database has two dimensions: transactions and items
In an horizontal transaction database, each row represents a transaction. Thus, a row contains a set of items purchased by a customer.
In a vertical transaction database, each row represents an item. Thus a row contains the set of transactions where the item was purchased.
An horizontal database can be converted into a vertical database, and the same can be done to convert a vertical database into a horizontal database.