mhahsler / arulespy

Python interface to arules for association rule mining
https://mhahsler.github.io/arulespy/
GNU General Public License v3.0
9 stars 0 forks source link

Issue with reproducing Create Rules section #2

Closed Mahendra114027 closed 1 year ago

Mahendra114027 commented 1 year ago

Hi,

I am getting this error while trying out the create rules part from the tutorial. Is there something missing which needs to be done for this to work?

AttributeError: module 'arulespy.arules' has no attribute 'set'

Correct me if I am wrong here. I switched the arules.set() call with just maths set() call. Thought it would work as it requires a set there. But now the encode attributes is not accessible/missing.

AttributeError: module 'arulespy.arules' has no attribute 'encode'

Attached is a screenshot for reference.

image

System Details:

mhahsler commented 1 year ago

Hi,

This requires the development version of the package. I will release it as soon as possible.

Regards, -MFH

-- Michael Hahsler Associate Clinical Professor

@.**@.> Department of Computer Science

Bobby B. Lyle School of Engineering

Southern Methodist University

Dallas, TX 75205, USA

Click here for more information (office hours, etc.)https://michael.hahsler.net/


From: Mahendra Singh @.> Sent: Friday, May 19, 2023 10:11 AM To: mhahsler/arulespy @.> Cc: Subscribed @.***> Subject: [mhahsler/arulespy] Issue with reproducing Create Rules section (Issue #2)

[EXTERNAL SENDER]

Hi,

I am getting this error while trying out the create rules part from the tutorialhttps://mhahsler.github.io/arulespy/examples/arulesViz.html#Create-Rules. Is there something missing which needs to be done for this to work?

AttributeError: module 'arulespy.arules' has no attribute 'set'

Correct me if I am wrong here. I switched the arules.set() call with just maths set() call. Thought it would work as it requires a set there. But now the encode attributes is not accessible/missing.

AttributeError: module 'arulespy.arules' has no attribute 'encode'

Attached is a screenshot for reference.

[image]https://user-images.githubusercontent.com/20869926/239567018-6d811e20-6443-4c76-b358-fc43f03a2739.png

— Reply to this email directly, view it on GitHubhttps://github.com/mhahsler/arulespy/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRV244QAEVJYM7WSSHKAYTXG6ER3ANCNFSM6AAAAAAYH5AC4A. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Mahendra114027 commented 1 year ago

Thanks!!

mhahsler commented 1 year ago

Duplicate of #1