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

Phyton Performance #120

Open
pajo79 opened this issue Jan 5, 2021 · 1 comment
Open

Phyton Performance #120

pajo79 opened this issue Jan 5, 2021 · 1 comment
Labels
usage exception Exception during a SSE function call from Qlik

Comments

@pajo79
Copy link

pajo79 commented Jan 5, 2021

Hi Nabeel,

Thanks for a great Project. The combination Qlik & Phyton really is powerful.

I'm specifically using the PyTools.Association_Rules. I experience very poor performance though on the Phyton Side. I'm on MS Windows 2019 Server 2,3 Ghz (8 Core Xeon), 56 GB RAM.

Even when using a data-set of < 1 000 000 transactions, computation takes >4 hours. Is there any tips on how to increase performance?

Thanks in advance,
br
Paul

@pajo79 pajo79 added the usage exception Exception during a SSE function call from Qlik label Jan 5, 2021
@pajo79 pajo79 changed the title Performance Phyton Performance Jan 5, 2021
@nabeel-oz
Copy link
Owner

Hi @pajo79 , apologies for the really late reply. The apriori algorithm used for association rules mining is quite processing intensive. The key parameter you can adjust is the min_support which sets the minimum frequency at which the antecedent and consequent items must appear together in the dataset to be considered for an association rule. You can try setting this above the default value of 0.5 to avoid calculations for items that appear together infrequently in the dataset.

The syntax to define additional parameters is described here: https://github.com/nabeel-oz/qlik-py-tools/blob/master/docs/Association-Rules.md#association-rules-analysis-with-efficient-apriori

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage exception Exception during a SSE function call from Qlik
Projects
None yet
Development

No branches or pull requests

2 participants