UdayLab / PAMI

PAMI is a Python library containing 100+ algorithms to discover useful patterns in various databases across multiple computing platforms. (Active)
https://udaylab.github.io/PAMI/
GNU General Public License v3.0
242 stars 195 forks source link

Help #21

Closed tcdangg closed 1 year ago

udayRage commented 1 year ago

Dear Dangg,

Good day!

 savePatterns() function was replaced with save() function.

Please refer to https://github.com/udayRage/PAMI/blob/main/sampleManuals/frequentPattern/basic/FPGrowth/fpGrowth_basic.md
udayRage commented 1 year ago

Dear tcdangg,

Good day!

 savePatterns() function was replaced with save() function.

Please refer to

https://github.com/udayRage/PAMI/blob/main/sampleManuals/frequentPattern/basic/FPGrowth/fpGrowth_basic.md

On Thu, 16 Feb 2023 at 11:10, tcdangg @.***> wrote:

Hi!

I am trying to run this code but I keep getting this attribute error. I am a bit newer to coding, please help!

AttributeError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_3984\58717963.py in 3 obj = alg.FPGrowth('score_sampling_for_tina (1).csv',100,'\t') 4 obj.startMine() ----> 5 obj.savePatterns('frequentPatters_100.txt') 6 df = obj.getPatternsAsDataFrame() 7 print('Runtime: ' + str(obj.getRuntime()))

AttributeError: 'FPGrowth' object has no attribute 'savePatterns'

— Reply to this email directly, view it on GitHub https://github.com/udayRage/PAMI/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMN3BXE7MMON4AEQAV2CNS3WXWECXANCNFSM6AAAAAAU5SJIX4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Regards

Prof. Rage Uday Kiran Associate Professor Database Systems Lab Division of Information Systems University of Aizu, Aizu-Wakamatsu, Japan.

Lab number: 145-A

Mobile no. +81 80 4834 0999 Phone no. (Lab) +81 242 37 2541 (Ext) 3115


When people throw stones at you, convert them into milestones.