Bringing some update after long delay.
I have used the code from “advanced” section of htm.core (ported from htmresearch), using network API.
Created this Network API scheme:
System firstly learned 5 objects like “cup”, “palmpilot” and “boat”. Then it was able successfully classify them.
In this gif, one can see “narowing” of the unions in L6.
And here are some plots: (inferring starts at iteration 156)