@@ -97,10 +97,6 @@ public class Parameters implements Persistable {
9797 //////////// Spatial Pooler Parameters ///////////
9898 Map <KEY , Object > defaultSpatialParams = new ParametersMap ();
9999 defaultSpatialParams .put (KEY .INPUT_DIMENSIONS , new int []{64 });
100- /** <b>WARNING:</b> potentialRadius **must** be set to
101- * the inputWidth if using "globalInhibition" and if not
102- * using the Network API (which sets this automatically)
103- */
104100 defaultSpatialParams .put (KEY .POTENTIAL_RADIUS , -1 );
105101 defaultSpatialParams .put (KEY .POTENTIAL_PCT , 0.5 );
106102 defaultSpatialParams .put (KEY .GLOBAL_INHIBITION , false );
@@ -229,6 +225,10 @@ public static enum KEY {
229225
230226 /////////// Spatial Pooler Parameters ///////////
231227 INPUT_DIMENSIONS ("inputDimensions" , int [].class ),
228+ /** <b>WARNING:</b> potentialRadius **must** be set to
229+ * the inputWidth if using "globalInhibition" and if not
230+ * using the Network API (which sets this automatically)
231+ */
232232 POTENTIAL_RADIUS ("potentialRadius" , Integer .class ),
233233 POTENTIAL_PCT ("potentialPct" , Double .class ), //TODO add range here?
234234 GLOBAL_INHIBITION ("globalInhibition" , Boolean .class ),
0 commit comments