# coding: utf-8 # In[1]: import Orange raw_data = [“CaptainAmerica, Non-Stop, The Wolf of Wall Street”, “Non-Stop, 300 Rise ofan Empire, THOR”, “Captain America, Frozen”, “Captain America,Non-Stop, 300 Rise of an Empire”, “Captain America, The Wolf ofWall Street, Frozen”, “Non-Stop, The Wolf of Wall Street”] # writedata to the text file: data.basket f = open(‘data.basket’, ‘w’) foritem in raw_data: f.write(item + ‘n’) f.close() # Load data fromthe text file: data.basket data = Orange.data.Table(“data.basket”)# Identify association rules
OR
OR