Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

A Bit Stuck!  RSS feed

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm currently studying artificial neural networks and coding a feed forward network in Java. I have coded a lot of it but i'm a bit stuck now as i ain't done java in a long time. I have commented what i need to do as i understand what its doing, just not how to code it. Any ideas - i have highlighted the bit i'm stuck on in bold down near the bottom. Here is the code:



[ April 11, 2007: Message edited by: Steven Gibbs ]
[ April 11, 2007: Message edited by: Steven Gibbs ]
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd say the missing parts are at least 50% of what's needed to implement this network. That may be a bit much to expect someone to get into it and try to figure out what needs to be done. Can you be a bit more specific about how or why you are stuck? Is it the Java syntax, the math, the logic of neural networks, ... ?

You might find some inspiration about this topic in JOONE, particularly the joone-engine 1.2.1. It is an extensible NN implementation, which does everything that you are about to code.
 
Steven Gibbs
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just don't understand how to code the commented parts. We have created all the letters of the alphabet using o's and 1's and this programme will read the letters in, assign weights to them and thats about as much as we understand - our lecturer doesn't actually know how to do java so is of no use what so ever - just really stuck here.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!