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

Is there anyway to use arulesViz to visualize itemsets returned by opusminer? #13

Closed
nchelaru opened this issue Jun 4, 2019 · 1 comment
Labels

Comments

@nchelaru
Copy link

nchelaru commented Jun 4, 2019

Hello!

First of all, thank you so much for making arulesViz, it is a great package!

I know that I can use arulesViz to visualize itemsets returned by arules, but I'm wondering if I can make the same visualizations with itemsets returned by the opusminer package? From what I can see, opusminer returns list of itemsets quite similar in format to that returned by generatingItemsets(rules), but without the support parameter for each.

Thank you very much for any help!

@mhahsler
Copy link
Owner

I just looked at opusminer. If the itemsets have no support then you can calculate it from the data using code like:

quality(your_itemsets) <- interestMeasure(your_itemsets, transactions = your_trans)

Now the visualization should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants