The MB Affinity tool takes "transaction" data and constructs a matrix where each row is a transaction and the columns are the set of "items" that could appear in the transaction. If an item was present in a transaction, it has a value of 1 in the matrix, and 0 if it did not. The matrix is then used to construct a matrix of affinity measures between different items with respect to their likelihood of being in the same transaction. As a result, if there are 500 items, the resulting matrix will have 500 rows and columns.
This tool scales with the number of transactions records, but is limited in the number of unique items it can handle. Using common laptop and desktop configurations, the limit is likely to be between 3,000 and 5,000 unique items.
This tool uses the R programming language. Go to Options > Download Predictive Tools to install R and the packages used by the R Tool.
*https://en.wikipedia.org/wiki/Cosine_similarity
©2018 Alteryx, Inc., all rights reserved. Allocate®, Alteryx®, Guzzler®, and Solocast® are registered trademarks of Alteryx, Inc.