Skip to content

Commit 831607c

Browse files
author
cogmission
committed
Removed extraneous warnings
1 parent f23d139 commit 831607c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/main/java/org/numenta/nupic/Connections.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -516,10 +516,6 @@ public void setPotentialRadius(int potentialRadius) {
516516
/**
517517
* Returns the configured potential radius
518518
*
519-
* <b>WARNING:</b> potentialRadius **must** be set to
520-
* the inputWidth if using "globalInhibition" and if not
521-
* using the Network API (which sets this automatically)
522-
*
523519
* @return the configured potential radius
524520
* @see setPotentialRadius
525521
*/

src/main/java/org/numenta/nupic/Parameters.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)