ogmacorp / OgmaNeo

Ogma - OgmaNeo

Home Page:https://ogma.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no bilateral inhibition in version 1.1?

HJLebbink opened this issue · comments

I like to use the old SparseFeatures code (that was used in v1.0) and update it such that it can be used alongside the current Chunk, Delay and STDP code (v1.1). There is however an interesting difference between v1.0 and v1.1: In 1.1, class FeatureHierarchy method simStep, layers are activated with the hidden context, while in the initial version the layers would be activated with the hidden state.

line 62: FeatureHierarchy.cpp v1.1:
inputsUse.push_back(_layers.front()._sf->getHiddenContext());

Could you explain why you choose not to use bilateral inhibition? or did i miss something.

Regards HJ!

Hello,

getHiddenContext was added as a way to customize the recurrent connections for an encoder. It actually defaults to just being getHiddenStates, but it may in future versions be some other form of recurrent information.

Hi Eric,

Sorry, my fault, I incorrectly copied getHiddenContext from SparseFeaturesChunk to SparseFeatures. I still need to think why removing this source of non-linearity (by not taking the k-largest activities) will work well for this chunk encoder.