Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~802 People Reached
Favorite Forums
Favorite Tags
Member Avatar for nasnoma

supportData = {('nas','fat'): 0.5, ('nas'): 1.0, ('fat'):0.6, ('van'):0.72, ('jos'):0.55,('van','jos'):0.10} L = [('nas','fat'),('van','jos')] for freqSet in L: H = [''.join(list(i)) for i in freqSet] prunedH = [] #create new list to return for conseq in H: freqsetlist = list(freqSet) freqsetlist.remove(conseq) conf = supportData[freqSet]/supportData[tuple(freqsetlist)[0]] if conf >= 0.5: print freqsetlist,'-->',conseq,'conf:',conf When I …

Member Avatar for Schol-R-LEA
0
188
Member Avatar for nasnoma

My program basically asks the users for a value (s) then calculates and displays the First, Middle, Last, and Final. The users have a choice to enter the value either in integer, real or character. If the user enters it in real or character, it will be converted into integer …

Member Avatar for nasnoma
0
508
Member Avatar for nasnoma

I want someone to help me write a program to read the integer elements of two arrays A and B of different size from the user. And use link list to save this elements instead of arrays. And then do the following to the link lists given: 1. Sort link …

Member Avatar for Ancient Dragon
0
106