On Nov 13, 9:12 am, "Eric Schulte" <schulte.e...@gmail.com> wrote: > Albert Cardona <sapri...@gmail.com> writes: > > > Your neural network DSL looks great. One minor comment: why use lists > > instead of sets? ... > > I used lists because I want to be able to specify a network in which (at > least initially) all neurons in a hidden layer are identical e.g. the > list example athttp://cs.unm.edu/~eschulte/src/neural-net/.
You might want to consider maps. For some NN models all you care about is that each neuron has a unique identity (in which case using an index value as a key is as good a solution as any). However, for other NNs you may care about the topological organisation of the neurons in a 1-D, 2-D, or 3-D space in order to do things like connecting corresponding neurons in different layers or having the probability of a connection be a function of the separation of the neurons. In this case, you might use a data structure representing the coordinates of each neuron as its key. Ross -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en