here is a recent attempt at refactoring and optimizing the htm.java code: https://github.com/automenta/htm.java
- this fork functions nearly the same (~3 out of 150 unit tests are broke) - seems to be significantly faster, having changed some data structures and removed some redundancy. there is also a bitset implementation of some of the matrix code which not only should save memory but save time by requiring fewer iterations (uncomfirmed) - working with the api in this feels a bit better than the official htm.java, having renamed a number of classes and methods. these sorts of renaming could be taken even further. - there's a significantly modified parameter API, that could be even better with some more work. - begun some integration with Apache Commons Math 3.3 library, which can provide sparse matrix, vector support, among many other things. basing some of the classes in Commons Math, such as Univariate functions for scalar functions, would expand the available variety of configurations. i'm not sure if or when i'll continue on it but feel free to merge some or all of the changes. unfortunately it may be somewhat infeasible to do a line-by-line comparison between the official branch and this because too many lines have changed so quickly and drastically. i wanted to compare better the other HTM/CLA java implementations for ideas. there are several and i'm sure they are full of good ideas not just in the API design but the GUIs. an OpenCL GPU implementation may be possible. the continuous GPU version here https://github.com/222464/ContinuousHTMGPU seems particularly interesting i am thinking of more ideas for GUI and parameter search methods other than PSO. these apply to different projects, not just nupic, but could provide a way to connect them in experiments at the GUI level. it might be interesting to use a JavaBean encoder to input JMX-like metrics from a running system, even another running HTM. On Thu, Dec 4, 2014 at 8:13 AM, Julian Ricardo <[email protected]> wrote: > Great news, thanks! > Scala + AKA / Spark + HDFS should be next! > > On Wed, Dec 3, 2014 at 10:19 PM, Matthew Taylor <[email protected]> wrote: > >> Hello NuPIC, >> >> David Ray and a handful of contributors have been working on htm.java >> over the past several months, and it is finally "feature complete"! >> >> http://numenta.org/blog/2014/12/03/htm-on-the-jvm.html >> >> Exciting news! Do you know any java developers who'd like to try >> NuPIC? Tell them about https://github.com/numenta/htm.java! >> >> --------- >> Matt Taylor >> OS Community Flag-Bearer >> Numenta >> >> >
