[
https://issues.apache.org/jira/browse/MATH-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738184#comment-14738184
]
Ole Ersoy commented on MATH-1267:
---------------------------------
I'm just going to take a step back for a sec. If we have the LocationFinder
API return a `Coordinate` for the row and column, then we end up with classes:
- Coordinate
- LocationFinder
- NeuronSquareMesh2D
On the other hand, if we replace Coordinate with Neuron2D and use Neuron2D in
instances where we need both the Coordinate and the Neuron, then we don't need
the LocationFinder. We also get the benefit of explicit methods that return a
row and column, and we gain a usability factor from having both the Coordinate
and the Neuron available instantly. To me this feels more straightforward, but
I could be missing something.
> Grid coordinate of "Neuron" that belongs to a "NeuronSquareMesh2D"
> ------------------------------------------------------------------
>
> Key: MATH-1267
> URL: https://issues.apache.org/jira/browse/MATH-1267
> Project: Commons Math
> Issue Type: Wish
> Reporter: Gilles
> Assignee: Gilles
> Priority: Minor
> Fix For: 4.0, 3.6
>
> Attachments: LocationFinder.java
>
>
> 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
> "o.a.c.m.ml.neuralnet.twod.util") that will provide the functionality through
> a "getLocation(Neuron n)" method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)