Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basket file is loaded as numeric. How can I make it load as categorical? #40

Open
glacorSoul opened this issue Jan 9, 2021 · 2 comments

Comments

@glacorSoul
Copy link

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.

categorical Data

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

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.

@ajdapretnar
Copy link
Collaborator

Orange, from what I know, only has rudimentary basket support. But you are right, it should be able to handle such a simple case.

  1. We make Associate Rules and Frequent Itemsets try to read columns as discrete (if ints present).
  2. We introduce better support for basket files.

@janezd janezd self-assigned this Jan 15, 2021
@janezd
Copy link
Contributor

janezd commented Jan 15, 2021

Note from the meeting: basket reader behaves reasonably. We should adapt association rules. Thus I'm transferring this to the corresponding repo.

@janezd janezd transferred this issue from biolab/orange3 Jan 15, 2021
@janezd janezd removed their assignment Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants