0

enter image description here In Python, I am performing Market Basket Analysis/Optimization using the Apriori Algorithm. When I try to set min confidence, this error message appears: apriori() received an unusual keyword argument 'min confidence'. I also attempted to use 'min threshold,' but received the same issue. I have also attached the screenshot for ease. I AM USING Kaggle Note Book

So I was trying to set rules for Apriori. When I am trying to set min_confidence, This error pops out apriori() got an unexpected keyword argument 'min_confidence'.

utkarshx27
  • 21
  • 3
  • Help us to help you - Please improve your question, so that we can reproduce your issue easily. Take a minute to check out [how to create minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example). – Pawel Kam Mar 31 '23 at 19:50

1 Answers1

0

It looks like the parameters are supposed to be named minConfidence and minSupport.

https://pypi.org/project/apriori-python/

btilly
  • 43,296
  • 3
  • 59
  • 88