GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - numenta/htm.java: Hierarchical Temporal Memory implementation in Java - an official Community-Driven Java port of the Numenta Platform for Intelligent Computing (NuPIC).

BranchesTags
Open more actions menu

Latest commit

 

History

1,508 Commits
1,508 Commits

Folders and files

NameName
Last commit message
Last commit date
gradle/wrapper
gradle/wrapper
 
 
libs
libs
 
 
src
src
 
 
.classpath
.classpath
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.project
.project
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Changelog.txt
Changelog.txt
 
 
Dockerfile
Dockerfile
 
 
EclipseFormatRules.xml
EclipseFormatRules.xml
 
 
INSTALL.txt
INSTALL.txt
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
[ htm.java Integration Test ] BasicTemporalMemoryTest.launch
[ htm.java Integration Test ] BasicTemporalMemoryTest.launch
 
 
[ htm.java Integration Test ] ExtensiveTemporalMemoryTest.launch
[ htm.java Integration Test ] ExtensiveTemporalMemoryTest.launch
 
 
[ htm.java Unit Test ] CoordinateEncoderTest.launch
[ htm.java Unit Test ] CoordinateEncoderTest.launch
 
 
[ htm.java Unit Test ] GeospatialCoordinateEncoderTest.launch
[ htm.java Unit Test ] GeospatialCoordinateEncoderTest.launch
 
 
[ htm.java Unit Test ] OldTemporalMemoryTest.launch
[ htm.java Unit Test ] OldTemporalMemoryTest.launch
 
 
[ htm.java Unit Test ] ScalarEncoderTest.launch
[ htm.java Unit Test ] ScalarEncoderTest.launch
 
 
[ htm.java Unit Test ] SparseObjectMatrixTest.launch
[ htm.java Unit Test ] SparseObjectMatrixTest.launch
 
 
[ htm.java Unit Test ] SpatialPoolerTest.launch
[ htm.java Unit Test ] SpatialPoolerTest.launch
 
 
build.gradle
build.gradle
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
jdoc.sh
jdoc.sh
 
 
pom.xml
pom.xml
 
 
run_build.sh
run_build.sh
 
 
vocabulary.dictionary
vocabulary.dictionary
 
 

Repository files navigation

NuPIC Logo

htm.java


htm.java awesomeness AGI Probability Coolness Factor Build Status Coverage Status Maven Central docs-badge Gitter OpenHub


Official Java™ version of...

Hierarchical Temporal Memory (HTM)

Community-supported & ported from the Numenta Platform for Intelligent Computing (NuPIC) python project.

NOTE: Minimum JavaSE version is 8



For Demos & Examples: see the HTM.java-examples repository



Recent News Items...

  • Updated README.md to reflect new site image source (09/15/2021)
  • Updated Sync Report Table Here in README (06/02/2017)
  • New Hot Fix Release v0.6.13-alpha (05/12/2017)
  • Updated HTM.Java Examples! Now in sync with latest release (v0.6.12-alpha) (See the executable Jars!) (04/06/2017)
  • New Feature Release! v0.6.12-alpha Network API Allows Multi-field inference! (04/04/2017)
  • HTM.Java Release v0.6.11-alpha to tag sync state with NuPIC (10/16/2016)
  • HTM.Java Receives new TemporalMemory - HTM.Java now fully in sync!! (10/13/2016)
  • HTM.Java Receives new SpatialPooler - Fully Updated! (10/06/2016)
  • HTM.Java Reaches 100% NuPIC Compatibility and operation within NAB will be offered (soon)! (09/29/2016)
  • HTM.java Receives New SDRClassifier! (07/26/2016)

News Archives...

  • See a glimpse of htm.java's history and read about significant events in its development.

View the Change Log (Updated! 2017-04-05)

  • Change log itemizes the release history.
  • Contains an "Unreleased" section which lists changes coming in the next release as they're being worked on - (should help users keep in touch with the current evolution of htm.java)

For a more detailed discussion of htm.java see:

  • htm.java Wiki
  • Java Docs

See the Test Coverage Reports - For more information on where you can contribute! Extend the tests and get your name in bright lights!

For answers to more detailed questions, post to the HTM Forum (can be used via email too), or chat with us on Gitter.

Gitter

For more detailed discussions regarding HTM.java specifically, come chat with us here:

Gitter

See the blog: Join the Cogmission

Call to Arms: HTM.java needs you!


Versioning

(Tracked according to core algorithms)

Core Algorithm NuPIC Date HTM.Java Date Latest NuPIC SHA Latest HTM.Java SHA Status
SpatialPooler 2016-12-11 2016-10-07 commit commit *Behind NuPIC Merge #3411
TemporalMemory 2017-06-02 2016-10-13 commit commit *Behind NuPIC Merge #3654

* May be one of: "Sync'd" or "Behind". "Behind" expresses a temporary lapse in synchronization while devs are implementing new changes.

NOTE: "Behind" status does not imply any lack of operational ability. The master branch of HTM.Java will always be fully operational.
Any fully critical feature addition to NuPIC will always be matched (sync'd) ASAP, however due to ongoing updates, the algortithms within NuPIC may reach ahead for a short period of time while the HTM Community is busy porting the difference(s). We are committed to keeping HTM.Java up to date with NuPIC at all times.


Project Goals

The primary goal of this library development is to provide a Java version of NuPIC that has a 1-to-1 correspondence to all systems, functionality and tests provided by Numenta's open source implementation; while observing the tenets, standards and conventions of Java language best practices and development.

By working closely with Numenta and receiving their enthusiastic support and guidance, it is intended that this library be maintained as a viable Java language alternative to Numenta's C++ and Python offerings. However it must be understood that "official" support is (for the time being) currently limited to community resources such as the maintainers of this library and Numenta Forums / Message Lists and IRC:

  • NuPIC Community
  • New HTM Forum

How Do I Get The Code?

  • (A) Instructions for developers who would like to contribute code back to the community. (Fork)
  • (B) Instructions for those who would like to "fiddle around" with the code in thier own github repo. (Clone)
  • (C) How to download Zipped or Tar'd Tagged Releases (Download Zip or Tar)

A. Developers who wish to make contributions are required to Fork the htm.java repo and then clone from their personal "Fork" of htm.java...

your_git_directory% git clone https://github.com/<your_github_username>/htm.java.git

B. Anybody who just wants to "play" with the code...

your_git_directory% git clone https://github.com/numenta/htm.java.git

C. Proceed here to download the latest tagged release (or older if you like)

The instructions on the above link (Fork the htm.java repo) provide detail about how to fork github repos...

In addition: a video is provided that explains Numenta's contributor rules and plenty of helpful tips on using git and other commands.


Does My Code Work?

After download by clone or fork, execute a quick sanity check by running all the tests from within the /<path to git repo>/htm.java

gradle check  # Executes the tests and runs the benchmarks

--or--

gradle -Pskipbench check  # Executes the tests w/o running the benchmarks  (Faster! **Recommended**)

Note: Info on installing gradle can be found on the wiki (look at #3.) here

Linux Gradle Issues? see the wiki here.

A wiki with full build instructions for building HTM.java is available here: Build Instructions


For Developers: Usage & Project Integration

(use this stuff within my own stuff)

NOTE: The Java version of NuPIC requires no installation - just USE it!

  • I Just Want A Simple Build!
  • Using Build Managers

Simple Build: For convenience, the libs directory contains all the dependency jars for those who just want to have a simple build.

...

Build Managers: Binary distributions may be included in your project using Gradle or Maven

Gradle:  

dependencies {
    compile group: 'org.numenta', name: 'htm.java', version:'0.6.12'
}
Maven:  

<dependency>
    <groupId>org.numenta</groupId>
    <artifactId>htm.java</artifactId>
    <version>0.6.12</version>
</dependency>
How to get the latest SNAPSHOT build: (None yet for newest build...)

<dependency>
    <groupId>org.numenta</groupId>
    <artifactId>htm.java</artifactId>
    <version>0.6.13-SNAPSHOT</version>
</dependency>

You also may need to include a repositories entry:

<repository>
    <id>oss-sonatype</id>
    <name>oss-sonatype</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

Coding With htm.java

The easiest way to use the code is to use htm.java's Network API

Please refer to the Network API Quick Start Guide to get an idea of how to quickly and simply create your own network.

...and for more in-depth answers see:

NAPI Overview


Development Environment Installation

The following instructions are for setting up a development environment.

NOTE: For simple intructions see: INSTALL.txt

Eclipse Environment Setup Wiki

An Eclipse IDE .project and .classpath file are provided so that the cloned project can be easily set up inside of Eclipse. For the time being, the Eclipse IDE is the only "pre-made" project configuration.

In addition, there are "launch configurations" for all of the tests and any runnable entities off of the "htm.java" main directory. These may be run directly in Eclipse by right-clicking them and choosing "run".


The "Fancy Stuff" - Clustering and Parallelization

Some NuPIC Community members have created interesting projects which use htm.java's Network API to run Engine-Type clusters of multiple networks using streaming distributed libraries like Akka and Flink. See them here:

  • htm-moclu (Akka)
  • flink-htm (Flink - some say it's a better Spark)

To Follow Our Updates On Twitter

  • #HtmJavaDevUpdates

About

Hierarchical Temporal Memory implementation in Java - an official Community-Driven Java port of the Numenta Platform for Intelligent Computing (NuPIC).

Resources

Readme
AGPL-3.0 license
Activity
Custom properties

Stars

318 stars

Watchers

69 watching

Forks

159 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.