commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <>
Subject [jira] [Commented] (MATH-1267) Grid coordinate of "Neuron" that belongs to a "NeuronSquareMesh2D"
Date Tue, 08 Sep 2015 04:11:46 GMT


Ole Ersoy commented on MATH-1267:

I love the concept of the adaptive training procedure.

The Neuron2D would server a `visual` adapter over the Neuron.  All of the 'visual stuff' (row,
column, etc.) goes on the adapter.  If there are additional properties that would be interesting
to display the Neuron2D adapter would house those methods, and if the things come from the
Neuron, Neuron2D serves as a bridge between the 'widget' displaying the graph and the Neuron.

So have we have the computational classes:
- Network
- Neuron

And the corresponding visual classes:
- NeuronSquareMesh2D
- Neuron2D

So for example once the Network is ready, it could be dropped into a NeuronSquareMesh2D constructor.
 The constructor wraps all the Neuron instances in Neuron2D instances, and sets the row and
column of each Neuron2d instance, while at the same time checking to make sure that the Network
id's are valid / unique (As is done in the LocationFinder.

Find a location would work like this:
Neuron2D n2d = NeuronSquareMesh2D.find(id);

The adapter could also observe the Neuron for changes and communicate these to the graph,
in case someone wants to do something interactive.

> Grid coordinate of "Neuron" that belongs to a "NeuronSquareMesh2D"
> ------------------------------------------------------------------
>                 Key: MATH-1267
>                 URL:
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 4.0, 3.6
>         Attachments:
> When the network layout is a 2D grid, it useful to be able to retrieve the grid coordinate
(row, column) of a a neuron.
> I propose to define a new class "LocationFinder" (in package "")
that will provide the functionality through a "getLocation(Neuron n)" method.

This message was sent by Atlassian JIRA

View raw message