Re: [ROOT] ROOT and Self-Organizing Maps

From: Patois Yannick (patois@ganil.fr)
Date: Wed May 09 2001 - 12:43:46 MEST


On Wed, 9 May 2001, Dott.ssa Paola Lecca wrote:

> is there anyone	 that knows SOM_PACK (Self-Organizing Maps Program
> Package) ? I need to know if it is possible to include in the SOM_PACK the
> ROOT library. And in the case of an affirmative replay, I need to
> know the instructions to do this. 
> If I can include the ROOT library, the SOM_PACK can read the files .root.

I had a look on this some month ago because I thought it could help me
to solve some problem I had. I gave up on this direction and only took a
little time to think about encapsulating some_pack routines in a C++
class that would talk easily with ROOT classes.

The conception of the SOM_PACK programm is very nice for shell
interaction (lots of small independant programms) but is a source of
complications when wanting to desing a single API to interact with. I
thought that the fastest (but not the nicest) path would be to keep this
as is, leaving the routines writing a file read by the next one and so
on. So you only have to care about generating the input file from root
and reading the last output one into root (read/write on file is very
slow, but as those routines are very computer intensive, in most cases
it's not the bottleneck). For me, any other approach would requier a lot
of rewriting in the SOM_PACK programm (maybe enough to justify a
reimplementation from scratch). Anyway, I didnt went very far as I didnt
used it at the end, but I would be interested if you did anything in
this direction.

	Yannick



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:44 MET