Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Rename maxBoost to boostStrength #3423

Merged
merged 42 commits into from
Dec 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
bf02bfe
modified SP boosting rule
Sep 16, 2016
b4c135e
resolve merge conflict
Sep 16, 2016
51b006f
fix bug in setPotential
Sep 16, 2016
cdcde1c
Merge branch 'master' into boostingRes
Sep 22, 2016
0a7bbcf
Merge branch '3358' into boostingRes
Sep 23, 2016
0bb1353
Merge branch 'master' into boostingRes
Sep 26, 2016
15a333d
update boosting rules for spatial pooler
Oct 19, 2016
95a154d
remove unused code
Oct 19, 2016
13bd6f3
Merge branch 'master' into boostingRes
Nov 18, 2016
17ae94e
update doc and simply logic of boosting
Nov 20, 2016
a01f8c9
update unit test of SP
Nov 20, 2016
02daec6
update new boost test
Nov 21, 2016
32eb2e1
update docs for spatial_pooler_boost_test
Nov 21, 2016
d0791f3
add docs to spatial_pooler.py
Nov 23, 2016
ba968d2
update spatial pooler boost test
Nov 23, 2016
d9987be
Merge branch 'master' into boostingRes
Nov 28, 2016
70a6dbd
run C++ SP in spatial_pooler_boost_tests
Nov 28, 2016
cdbf180
Merge branch 'boostingRes' of https://github.com/ywcui1990/nupic into…
mrcslws Nov 28, 2016
2289c84
Avoid floating point differences with C++ SpatialPooler
mrcslws Nov 29, 2016
8c3affb
Merge pull request #1 from mrcslws/ywcui1990-boostingRes
ywcui1990 Nov 29, 2016
f0fe0d8
Implement update boost factors local and global
Nov 30, 2016
5917639
slight simplification of boostFactor calculation
Nov 30, 2016
2e5c0cb
add docstrings for updateBoostFactorsLocal and Global
Dec 1, 2016
3853f5d
update nupic binding version to 0.4.14
Dec 5, 2016
5ff9c03
update sp_overlap_test to use global inhibition
Dec 6, 2016
e1a8516
set maxBoost in experiment descriptions
Dec 6, 2016
20dc80c
modify the expected result for hotgym example
Dec 6, 2016
54828b0
set maxBoost in expdescriptionapi
Dec 6, 2016
ccae4f5
modify expected results in opf integration tests
Dec 6, 2016
71387d5
update expected result for category_hub_TP_0
Dec 6, 2016
642fedb
update doc for simple_1_f2
Dec 6, 2016
12888b9
Empty commit
Dec 6, 2016
9c0032c
update nupic.bindings version to 0.4.15
Dec 8, 2016
4d57164
Empty commit to start new build
Dec 8, 2016
21652f6
Stop trying to get identical boost factors between py and cpp
mrcslws Dec 8, 2016
1e11027
Stop changing the overlaps to do tie-breaking
mrcslws Dec 8, 2016
008a7bc
Rename maxBoost to BoostStrength
Dec 8, 2016
fbe75f9
Merge pull request #2 from mrcslws/ywcui1990-boostingRes
ywcui1990 Dec 10, 2016
f48901a
eliminate minPctActiveDutyCycle from spatial pooler
Dec 10, 2016
a48b234
resolve merge conflict in spatial_pooler.py
Dec 10, 2016
9185750
update expected result in hotgym, result change due to different roun…
Dec 10, 2016
d41be18
remove minPctActiveDutyCycle parameter form SP compatability test
Dec 10, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/network/core_encoders_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def createNetwork():
"synPermConnected": 0.1,
"synPermActiveInc": 0.0001,
"synPermInactiveDec": 0.0005,
"maxBoost": 1.0,
"boostStrength": 0.0,
}))

#
Expand Down
2 changes: 1 addition & 1 deletion examples/network/hierarchy_network_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"synPermConnected": 0.1,
"synPermActiveInc": 0.0001,
"synPermInactiveDec": 0.0005,
"maxBoost": 1.0}
"boostStrength": 0.0}

# Parameter dict for TPRegion
TP_PARAMS = {"verbosity": _VERBOSITY,
Expand Down
2 changes: 1 addition & 1 deletion examples/network/network_api_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"synPermConnected": 0.1,
"synPermActiveInc": 0.0001,
"synPermInactiveDec": 0.0005,
"maxBoost": 1.0,
"boostStrength": 0.0,
}

# Config field for TPRegion
Expand Down
5 changes: 4 additions & 1 deletion examples/opf/clients/hotgym/anomaly/model_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@

'synPermInactiveDec': 0.0005,

'maxBoost': 1.0,
# boostStrength controls the strength of boosting. It should be a
# a number greater or equal than 0.0. No boosting is applied if
# boostStrength=0.0. Boosting encourages efficient usage of columns.
'boostStrength': 0.0,
},

# Controls whether TP is enabled or disabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
'spParams': { 'columnCount': 2048,
'globalInhibition': 1,
'inputWidth': 0,
'maxBoost': 2.0,
'boostStrength': 2.0,
'numActiveColumnsPerInhArea': 40,
'potentialPct': 0.8,
'seed': 1956,
Expand Down
2 changes: 1 addition & 1 deletion examples/opf/clients/nyctaxi/model_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"columnCount": 2048,
"globalInhibition": 1,
"inputWidth": 0,
"maxBoost": 1.0,
"boostStrength": 0.0,
"numActiveColumnsPerInhArea": 40,
"seed": 1956,
"spVerbosity": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,18 @@
'synPermActiveInc': 0.05,

'synPermInactiveDec': 0.008,

# boostStrength controls the strength of boosting. It should be a
# a number greater or equal than 0.0. No boosting is applied if
# boostStrength=0.0. Boosting encourages efficient usage of columns.
'boostStrength': 0.0,
},

# Controls whether TP is enabled or disabled;
# TP is necessary for making temporal predictions, such as predicting
# the next inputs. Without TP, the model is only capable of
# reconstructing missing sensor inputs (via SP).
'tpEnable' : True,
'tpEnable': True,

'tpParams': {
# TP diagnostic output verbosity control;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@
'synPermActiveInc': 0.05,

'synPermInactiveDec': 0.008,

# boostStrength controls the strength of boosting. It should be a
# a number greater or equal than 0.0. No boosting is applied if
# boostStrength=0.0. Boosting encourages efficient usage of columns.
'boostStrength': 0.0,
},

# Controls whether TP is enabled or disabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@
'synPermActiveInc': 0.05,

'synPermInactiveDec': 0.008,

# boostStrength controls the strength of boosting. It should be a
# a number greater or equal than 0.0. No boosting is applied if
# boostStrength=0.0. Boosting encourages efficient usage of columns.
'boostStrength': 0.0,
},

# Controls whether TP is enabled or disabled;
Expand Down
5 changes: 5 additions & 0 deletions examples/opf/experiments/missing_record/base/description.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@
'synPermActiveInc': 0.1,

'synPermInactiveDec': 0.01,

# boostStrength controls the strength of boosting. It should be a
# a number greater or equal than 0.0. No boosting is applied if
# boostStrength=0.0. Boosting encourages efficient usage of columns.
'boostStrength': 10.0,
},

# Controls whether TP is enabled or disabled;
Expand Down
5 changes: 5 additions & 0 deletions examples/opf/experiments/multistep/base/description.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@
'synPermActiveInc': 0.1,

'synPermInactiveDec': 0.01,

# boostStrength controls the strength of boosting. It should be a
# a number greater or equal than 0.0. No boosting is applied if
# boostStrength=0.0. Boosting encourages efficient usage of columns.
'boostStrength': 0.0,
},

# Controls whether TP is enabled or disabled;
Expand Down
Loading