biolab / biolab/orange3-associate
Basket file is loaded as numeric. How can I make it load as categorical?
- Dominant language
- Python
- Stars
- 68
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
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](http://orange.biolab.si/docs/latest/reference/rst/Orange.associate.html).
[![categorical Data][1]][1]
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
[![numeric Data][2]][2]
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.
[1]: https://i.stack.imgur.com/YDhxg.png
[2]: https://i.stack.imgur.com/djU3N.png
- 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
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Reproduce the examples in Orange 3.27.1 with the Orange3-Associate add-on, then trace how the basket file's values are inferred as numeric or categorical. Done means the reported input loads as categorical, or the supported way to force categorical loading is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100