Hi Weisi, The cluster solution file is the output that Cluto creates, and the error message you are seeing suggests that this is not being created. But, it looks like the real problem is that Cluto (vcluster) is having a segmentation fault, and that's why the Cluto output is not being created. So the question really becomes, why is Cluto not able to process your data? ...the last message you are seeing from format_cluster.pl is that it can't find the Cluto output, but I think that's just because Cluto itself has segment faulted...
I would be particularly concerned about the input for Cluto...does that file exist, and does it contain valid information? Cluto will often segment fault if it gets invalid data as input, so I would suggest looking at user_ana.vectors especially hard... If that exists and looks valid, try running vcluster like this.... vcluster user_ana.vectors 2 ...without all the other options, and see if that works....if it does, then the problem is in the options that are being used...if that doesn't work, then the problem is in user_ana.vectors, which might mean that you aren't getting enough features, and might want to adjust your feature selection parameters. How many contexts are in your input data? If the number is fairly small, you might not be finding too many features...a --remove 5 is fairly aggressive cutoff, so you might want to lower that if you have a modest number of contexts. I hope this helps. Let us know how things work out. Thanks, Ted On Sat, Aug 30, 2008 at 8:17 PM, Weisi Duan <[EMAIL PROTECTED]> wrote: > Hi, Professor, > > I have been trying to automate running the package on my > local machine and I think I have installed the package > correctly. I first configured all the setting on the web > interface and got the command as a result: > > discriminate.pl "user-test.xml" --format f16.06 -- > token "token.regex" --target "target.regex" --feature bi -- > remove 5 --context o2 --clusters 2 --space vector --clmethod > rb --crfun i2 --sim cos --label_remove 5 --label_stat ll -- > label_rank 10 --prefix "user" > > I modified the user-test.xml to ana_sval2.txt which is my > data and token.regex to my token files, I also removed -- > target option. But when I run it, it gave me a error as below: > > sh: vcluster: command not found > ERROR(format_clusters.pl): > Cluster solution file <ana.cluster_solution> > does not exist. > Error while formatting clusters. > > At first the error was as above that the vcluster can not be > found. I installed the SenseClusters package > under /usr/home/xxx/usr/local and I found the vcluster file > in that directory and I added the path to PATH so shell can > find the vcluster file, but when I ran the program a new > error occured as below: > > sh: line 1: 16698 Segmentation fault vcluster -- > rlabelfile user_ana.rlabel --clmethod rb --crfun i2 --sim > cos --showfeatures --nfeatures 10 --rowmodel none --colmodel > none --clustfile user_ana.cluster_solution --showtree -- > plotclusters user_ana.dendogram.ps --plotformat ps > user_ana.vectors 2 >user_ana.cluster_output > ERROR(format_clusters.pl): > Cluster solution file > <user_ana.cluster_solution> does not exist. > Error while formatting clusters. > > I do not know what the problems is. A more confusing thing is > that when I ran the command above a few days ago it worked > without any errors and I got the complete correct result... > > Thanks a lot, > Weisi > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > senseclusters-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/senseclusters-users > -- Ted Pedersen http://www.d.umn.edu/~tpederse ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ senseclusters-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/senseclusters-users
