Git Product home page Git Product logo

htm-2d-object-modeling's People

Contributors

breznak avatar codeallthethingz avatar dependabot[bot] avatar rhyolight avatar zbysekz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

htm-2d-object-modeling's Issues

Create 2D GCM encoding mechanism

Given an XY location in the environment, this layer should represent this space in many Grid Cell Modules, which work together to resolve the object.

Create 3 Layer HTM Network for one sensor

Object Pool

Proximal input: sensory layer
Distal input: neighboring object pool layers
Represents: current object

Sensory Layer

Proximal input: sensory feature
Distal input: location from Location Layer / temporal context
Represents: feature at a location in object space

This layer needs to receive distal input in two ways: from itself as in the typical SP/TM operation defined in HTM School, and from the Location Layer. These distal inputs must be mixed.

Location Layer

Proximal input: displacement representing movement
Represents: location in 2D envrionment

When new proximal input representing movement is applied, GCM bumps move from current location to predicted location.

one sensor network

Implement Location Layer

Create a layer that represents an XY location in the 2D grid with Grid Cell Modules. Every location must have a unique representation.

Cannot run the sample

Trying to run the Python sample that fails with

No module named 'htm.bindings

image

Using Python38 and also tried with 3.6.

Have already imported htm and all requirements as described.

Thanks in advance

Create 2D GCM encoding mechanism

Given an XY location in the environment, this layer should represent this space in many Grid Cell Modules, which work together to resolve the object. This is not an encoder (like the HTM School videos imply). This layer must run GCMs that will respond to displacement vectors appropriately.

The only property these SDRs in this layer must have is consistent displacements between them, which will enable movements through the space to have meaning no matter where they originate.

To test this, let's assume an XY space that is 10 units square.
The SDR for location 2,2 is A, and the SDR for location 2,3 is B. The displacement A-B is d1.
The SDR for location 3,2 is C, and the SDR for location 3,3 is D. The displacement C-D is d2.

assert d1 == d2

Something like that. I need to review the Columns+ paper to provide more details.

Is there a Quickstart somewhere?

Hi,

Trying to get the example made by @Zbysekz working but juts cant start the main.py:

(ri_venv) rdaneel (master *) python $ python main.py
Traceback (most recent call last):
File "main.py", line 14, in
from htm.bindings.algorithms import SpatialPooler
ImportError: No module named htm.bindings.algorithms

I tried to install and compile the nupic.cpp but ran into an issue: htm-community/htm.core#702

Any ideas? Suggestions?

Spec out a 2D experiment space for testing

I think we should start simple with a small space like MNIST. So imagine something like 28*28 and a total of 784 input units, but topological.

Each location in this space:

  • has a unique location representation
  • may have a feature

We can put off specifying the feature type etc. until processing time.

If we do it this way, we can also use MNIST as a test set for object classification when we are ready, and we'll have the flexibility to decide what "features" are within each experiment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.