orange3-associate
orange3-associate copied to clipboard
Basket file is loaded as numeric. How can I make it load as categorical?
I am loading a basket file into orange. This is the content of the file:
beer, milk
bread, butter
bread, butter, jelly
bread=2, butter
beer, bread
If I load this data orange loads the data as categorical as it should. As this is the datatype that allows the usage of associate rules.
If however I change milk to bread the data is no longer loaded as categorical.
beer, bread
bread, butter
bread, butter, jelly
bread=2, butter
beer, bread
Why is this? How can I can I load the data as categorical? Bear in mind that my real dataset has more than 100 columns.
- Operating system: Version 10.0.19042 Build 19042
- Orange version: 3.27.1
- How you installed Orange: https://download.biolab.si/download/files/Orange3-3.27.1-Miniconda-x86_64.exe
- Addons: Orange3-Associate
Orange, from what I know, only has rudimentary basket support. But you are right, it should be able to handle such a simple case.
- We make Associate Rules and Frequent Itemsets try to read columns as discrete (if ints present).
- We introduce better support for basket files.
Note from the meeting: basket reader behaves reasonably. We should adapt association rules. Thus I'm transferring this to the corresponding repo.