Cartesian product merge using key-less merge by key

Preparing data for analysis requires a wide range of different operations, because each different kind of analysis requires the data to be in the appropriate form for that analysis. In some examples, two or more lists of items must be joined together in such a way that the result is every possible combination of items, one from each of the lists. This is called a Cartesian product, and in Modeler this is performed using a merge by key operations where no key is specified.

Getting ready

This recipe requires no datafile because the example data is generated by user input source nodes and the stream file required is Cartesian_Product.str

How to do it...

To perform a Cartesian product merge where no ...

Get IBM SPSS Modeler Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.