From: Christian S. <st...@Ma...> - 2005-05-10 19:21:35
|
Hello Fabien, I'll try to make a GUI-Tool out of it till the weekend. Unfortunately the Tools are in the middle of some sort of refactoring at the moment (see also mail 'No Subject' [sic!] from this list), which makes this a little tricky. We'll need a development branch in cvs before starting to fix this. As I have not reached the peak in cvs' learning curve yet, any hint on this i= s appreciated. regards Christian Stamm Fabien Moutarde said: > Hello. > > First of all, it seems that U*-matrix are not yet implemented in the > current version > of the package, so I can only make a version working on U-matrix... > > Also, another problem is that the current version of U*F clustering is > still not *fully* > automated: it is rather conceived as an interactive system where you > display > the U*-matrix (or U-matrix), and then click with the mouse on one point > "inside" > each of what "looks to be a separate region on the map" (with even > sometimes > the need for manual tuning of the threshold parameter, when the > semi-automated > version chooses too big a threshold so that 2 "would-be regions" get > flooded together > as only one region). > > Anyway, I nevertheless worked out a version fitted to the Cluster.java > skeleton > you sent me, but it is not very convenient : > one has to run the program several times to iteratively add segmented > regions into the classmask file ; also, the (x,y) starting point of > region-growing has > to be set manually (through options -x and -y), which is *definitely* > NOT convenient ; > the category ID also has to be specified this way (with the -g option), > but is less a hassle > than for x,y. > > The ideal would thus be if there was some way to integrate the > segmentation > tool in the GUI displaying the U-matrix (and U*-matrix when you shall h= ave > added it), so that clicking on the matrix display is possible, as well > as having > some buttons (such as "new category", "erase category", ...), plus a > slider > and textfield (for cases when manual tuning of threshold has to be > done)... > > Also, I am currently doing some experiments on an approach for automati= ng > the choice of starting points (and when to stop trying to grow new > regions) which > could allow a fully automated segmentation of the U*-matrix (or > U-matrix), that > would be more adapted to your Cluster.java skeleton. But it is still to= o > preliminary, > and not really operational... > > > Regards, > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Fabien MOUTARDE > Ecole Nationale Superieure des Mines de Paris (ENSMP) > 60 Bd Saint-Michel, 75272 PARIS Cedex 06, FRANCE > Tel : 33 - (0) 1.40.51.92.92 Fax : 33 - (0) 1.40.51.93.01 > E-mail : Fab...@en... Web : http://www.ensmp.fr/~moutarde > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Fabian M=F6rchen wrote: > >> Dear Fabien Moutarde, >> >> i have implemented an interface for automatic clustering algorithms in >> the ESOM tools to aid your plans of implementing U*F. >> >> as a start you should check out the latest sources from sourceforge >> [1] and follow the description for compiling [2]. >> >> the file src/java/databionics/esom/Cluster.java is a simple >> demonstration for clustering the neurons of a trained ESOM. the >> weights (*.wts) and U-Matrix and P-Matrix (both *.umx) as well as the >> training data (*.lrn) are loaded according to the command line >> parameters given. the clustering simply creates four clusters >> according to the quadrants of the coordinates on the map. this way you >> can already see how to access the map with spatial coordinates. >> >> the skript to start the program is called esomclust[.bat], "esomclust >> -h" will list the syntax. the saved class mask (*.cls with one entry >> per neuron) can be loaded from within the GUI and displayed on top of >> the ESOM. later we will provide a mechanism to call the cluster tool >> via the menu and have the result automatically loaded. >> >> you can plug in your algorithm in the Cluster.java file, if you wish. >> later we can put it in a different class and offer several algorithms >> from within the Cluster class. >> >> if you have any problems getting this to work or further questions on >> how to access certain data structres needed in your algorithm, don't >> hesitate to ask. the developer mailing [3] list would be a good place >> for this, since your questions and my (of my student's) answers will >> be available to future contributors as well. >> >> Regards, >> Fabian M=F6rchen >> >> [1] http://databionic-esom.sourceforge.net/cvs-usage.html >> [2] http://databionic-esom.sourceforge.net/devel.html >> [3] http://databionic-esom.sourceforge.net/mail-lists.html > > > |