commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Commented] (MATH-1268) SOFM: interfaces for 2D map visualization
Date Sun, 06 Sep 2015 08:09:45 GMT


Gilles commented on MATH-1268:

bq. Is there something that's going to implement these interfaces?

For example, the "U-matrix" currently computed by a method in the {{MapUtils}} class should
be defined in its own class.

bq. The class NeuronSquareMesh2D sounds very 'visual'

Indeed, a 2D map is indeed much used due to its straight visualization capacity.
Thus, {{NeuronSquareMesh2D}} is useful in that it specializes the general {{Network}} to provide
methods for easier implementation of visualization tools.
Thanks to those accessors, algorithms that purport to offer some way of looking at the map
need not be defined within the class.
I think that if something can be independently defined, then it should be (separation of concerns).
It is more elegant (IMHO), and more maintainable (2 small classes are better than a big one).
Also, this makes it possible to use a "MapVisualization" in the same way, whether the algo
is defined within CM or not.

> SOFM: interfaces for 2D map visualization
> -----------------------------------------
>                 Key: MATH-1268
>                 URL:
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>              Labels: api
>             Fix For: 4.0, 3.6
>         Attachments:,
> To be implemented by various visualizations of a 2D SOFM, I propose to introduce the
following interfaces (in a new package {{}}).

This message was sent by Atlassian JIRA

View raw message