tag:blogger.com,1999:blog-7583720.post7747980024229778722..comments2024-03-05T03:17:02.289-08:00Comments on Salmon Run: Search Rules using Mahout's Association Rule MiningSujit Palhttp://www.blogger.com/profile/06835223352394332155noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-7583720.post-4173185709128069272016-06-12T17:29:12.502-07:002016-06-12T17:29:12.502-07:00For writing to a file, maybe you could direct it t...For writing to a file, maybe you could direct it to one, for example, something like mahout seqdumper -i patterns > output. Not sure about the HDFS file, but I suspect that the script copies to HDFS so maybe look inside the script and make it skip the file copy if you already specify the hdfs:// prefix.Sujit Palhttps://www.blogger.com/profile/06835223352394332155noreply@blogger.comtag:blogger.com,1999:blog-7583720.post-11342131660080649462016-06-03T18:03:29.897-07:002016-06-03T18:03:29.897-07:00Hi,
Nevermind I created a new fpg.props file and t...Hi,<br />Nevermind I created a new fpg.props file and tried running like this :<br />bin/mahout fpg -i path/to/input -o patterns<br />bin/mahout seqdumper -i patterns<br />It displays the results in the commandline but how can I view them in the saved file ? and the first command doesnt work if I specify a file that is in the HDFS, I used one that's in my desktop, any idea why ?<br />Thanks Anonymoushttps://www.blogger.com/profile/00762682056776686248noreply@blogger.comtag:blogger.com,1999:blog-7583720.post-34606658578461147062016-06-03T00:30:55.785-07:002016-06-03T00:30:55.785-07:00I see what you mean, but I don't have the maho...I see what you mean, but I don't have the mahout-0.7 distribution anymore either. But you can <a href="https://archive.apache.org/dist/mahout/0.7/" rel="nofollow">download the 0.7 version from here</a>, maybe you will be able to find the fpg.props file in there.Sujit Palhttps://www.blogger.com/profile/06835223352394332155noreply@blogger.comtag:blogger.com,1999:blog-7583720.post-16315177354483269892016-06-02T11:25:47.125-07:002016-06-02T11:25:47.125-07:00Hi Sujit,
Thanks for replying :)
I am using Mahout...Hi Sujit,<br />Thanks for replying :)<br />I am using Mahout's PFP Growth so I think we have the same code, in order to run it we must use this command: bin/mahout fpg -i input -o output ......etc<br />the fpg refers to a fpg.props file you can find under /mahout-distribution-0.7/distribution/target/mahout-distribution-0.7-src/mahout-distribution-0.7/src/conf or /mahout-distribution-0.7/src/Anonymoushttps://www.blogger.com/profile/00762682056776686248noreply@blogger.comtag:blogger.com,1999:blog-7583720.post-19933431193939298972016-05-13T07:35:28.031-07:002016-05-13T07:35:28.031-07:00Hi Meriem, I don't believe I used a fpg.props ...Hi Meriem, I don't believe I used a fpg.props file, but its been a while so I could be mistaken. Maybe take a look at the code to see if there is something in there that can help?Sujit Palhttps://www.blogger.com/profile/06835223352394332155noreply@blogger.comtag:blogger.com,1999:blog-7583720.post-36953967274046931062016-05-13T04:13:27.207-07:002016-05-13T04:13:27.207-07:00Hi,
I'm working on PFP Growth myself and I'...Hi,<br />I'm working on PFP Growth myself and I'd like to run Mahout's, but it's been removed. Could you please pass me the fpg.props file, if you still have it?<br />Thanks a lot.Anonymoushttps://www.blogger.com/profile/00762682056776686248noreply@blogger.com