Permalink
Browse files

Merge remote-tracking branch 'upstream/master'

  • Loading branch information...
2 parents 1876c70 + f8ddfde commit 3d8b77eddbece879eb70961579f44b75c06fde12 Yuwei Cui committed Dec 21, 2016
Showing with 459 additions and 728 deletions.
  1. +0 −1 .githooks/pre-commit
  2. +0 −1 ci/travis/deploy-wheel-to-s3.py
  3. +2 −2 ci/travis/script-run-tests.sh
  4. +0 −1 examples/bindings/sparse_matrix_how_to.py
  5. +1 −2 examples/network/core_encoders_demo.py
  6. +0 −1 examples/network/custom_region_demo.py
  7. +1 −2 examples/network/hierarchy_network_demo.py
  8. +1 −2 examples/network/network_api_demo.py
  9. +0 −1 examples/network/temporal_anomaly_network_demo.py
  10. +0 −1 examples/opf/clients/cpu/cpu.py
  11. +0 −1 examples/opf/clients/hotgym/anomaly/hotgym_anomaly.py
  12. +4 −1 examples/opf/clients/hotgym/anomaly/model_params.py
  13. +1 −1 examples/opf/clients/hotgym/anomaly/one_gym/model_params/rec_center_hourly_model_params.py
  14. +1 −2 examples/opf/clients/hotgym/anomaly/one_gym/remove_tuesdays.py
  15. +0 −1 examples/opf/clients/hotgym/anomaly/one_gym/run.py
  16. +0 −1 examples/opf/clients/hotgym/prediction/one_gym/cleanup.py
  17. +0 −1 examples/opf/clients/hotgym/prediction/one_gym/run.py
  18. +0 −1 examples/opf/clients/hotgym/prediction/one_gym/swarm.py
  19. +0 −1 examples/opf/clients/hotgym/simple/hotgym.py
  20. +1 −1 examples/opf/clients/nyctaxi/model_params.py
  21. +0 −1 examples/opf/clients/nyctaxi/nyctaxi_anomaly.py
  22. +6 −1 examples/opf/experiments/anomaly/temporal/simple/description.py
  23. +5 −0 examples/opf/experiments/classification/base_category/description.py
  24. +5 −0 examples/opf/experiments/classification/base_scalar/description.py
  25. +0 −1 examples/opf/experiments/classification/makeDatasets.py
  26. +5 −0 examples/opf/experiments/missing_record/base/description.py
  27. +0 −1 examples/opf/experiments/missing_record/make_datasets.py
  28. +5 −0 examples/opf/experiments/multistep/base/description.py
  29. +0 −1 examples/opf/experiments/multistep/base/permutations_simple_3.py
  30. +165 −165 examples/opf/experiments/multistep/datasets/first_order_0.csv
  31. +5 −0 examples/opf/experiments/multistep/hotgym/description.py
  32. +0 −1 examples/opf/experiments/multistep/hotgym/permutations_sp.py
  33. +0 −1 examples/opf/experiments/multistep/make_datasets.py
  34. +0 −1 examples/opf/experiments/params/test_all.py
  35. +0 −1 examples/opf/experiments/spatial_classification/auto_generated/searchDef.py
  36. +0 −1 examples/opf/experiments/spatial_classification/make_datasets.py
  37. +0 −1 examples/opf/experiments/spatial_classification/run_exp_generator.py
  38. +0 −1 examples/opf/simple_server/demo.py
  39. +0 −1 examples/opf/tools/data_generator.pyw
  40. +0 −1 examples/opf/tools/sp_plotter.py
  41. +0 −1 examples/prediction/category_prediction/clean.py
  42. +0 −1 examples/prediction/category_prediction/run.py
  43. +0 −1 examples/prediction/experiments/confidenceTest/base/permutations_firstOrder.py
  44. +0 −1 examples/prediction/experiments/confidenceTest/base/permutations_quick.py
  45. +0 −1 examples/prediction/experiments/confidenceTest/base/permutations_secondOrder0.py
  46. +0 −1 examples/prediction/experiments/dutyCycle/base/permutations.py
  47. +0 −1 examples/prediction/experiments/dutyCycle/base/permutationsActiveCount.py
  48. +0 −1 examples/prediction/experiments/dutyCycle/base/permutationsData.py
  49. +0 −1 examples/prediction/experiments/dutyCycle/base/permutationsEncoder.py
  50. +0 −1 examples/sp/sp_tutorial.py
  51. +0 −1 examples/swarm/test_db.py
  52. +0 −1 examples/tp/hello_tm.py
  53. +0 −1 examples/tp/tm_high_order.py
  54. +0 −1 examples/tp/tp_constant_test.py
  55. +0 −1 examples/tp/tp_overlapping_sequences.py
  56. +0 −1 examples/tp/tp_segment_learning.py
  57. +0 −1 examples/tp/tp_test.py
  58. +0 −1 external/common/bin/pylint
  59. +0 −1 external/linux32/lib/python2.6/site-packages/matplotlib/dates.py
  60. +0 −1 external/linux32/lib/python2.6/site-packages/pytz/tzfile.py
  61. +1 −1 requirements.txt
  62. +0 −1 scripts/profiling/enc_profile.py
  63. +0 −1 scripts/profiling/profile_opf_memory.py
  64. +1 −3 scripts/profiling/sp_profile.py
  65. +0 −1 scripts/profiling/tp_profile.py
  66. +0 −1 scripts/run_experiment_classifier_diff.py
  67. +0 −1 scripts/run_nupic_tests.py
  68. +0 −1 scripts/run_opf_experiment.py
  69. +0 −1 scripts/run_swarm.py
  70. +0 −1 scripts/temporal_memory_performance_benchmark.py
  71. +9 −1 setup.py
  72. +0 −1 src/nupic/algorithms/KNNClassifier.py
  73. +0 −1 src/nupic/data/CategoryFilter.py
  74. +0 −1 src/nupic/data/aggregator.py
  75. +0 −1 src/nupic/data/filters.py
  76. +0 −1 src/nupic/data/generators/anomalyzer.py
  77. +0 −1 src/nupic/data/joiner.py
  78. +0 −1 src/nupic/data/sorter.py
  79. +0 −1 src/nupic/data/stream_reader.py
  80. +0 −1 src/nupic/database/ClientJobsDAO.py
  81. +0 −1 src/nupic/datafiles/extra/firstOrder/raw/makeDataset.py
  82. +0 −1 src/nupic/datafiles/extra/generated/GenerateSampleData.py
  83. +0 −1 src/nupic/datafiles/extra/hotgym/raw/makeDataset.py
  84. +0 −1 src/nupic/datafiles/extra/regression/makeDataset.py
  85. +0 −1 src/nupic/datafiles/extra/secondOrder/makeDataset.py
  86. +0 −1 src/nupic/engine/__init__.py
  87. +1 −2 src/nupic/engine/common_networks/__init__.py
  88. +1 −1 ...eworks/opf/common_models/anomaly_params_random_encoder/best_single_metric_anomaly_params_cpp.json
  89. +1 −1 ...rks/opf/common_models/anomaly_params_random_encoder/best_single_metric_anomaly_params_tm_cpp.json
  90. +1 −0 src/nupic/frameworks/opf/expdescriptionapi.py
  91. +0 −1 src/nupic/regions/CLAClassifierRegion.py
  92. +0 −1 src/nupic/regions/KNNClassifierRegion.py
  93. +0 −1 src/nupic/regions/RecordSensor.py
  94. +0 −1 src/nupic/regions/SDRClassifierRegion.py
  95. +0 −1 src/nupic/regions/SVMClassifierNode.py
  96. +0 −1 src/nupic/regions/Spec.py
  97. +0 −1 src/nupic/regions/__init__.py
  98. +0 −1 src/nupic/regions/extra/__init__.py
  99. +0 −1 src/nupic/research/TP10X2.py
  100. +97 −113 src/nupic/research/spatial_pooler.py
  101. +0 −1 src/nupic/simple_server.py
  102. +0 −1 src/nupic/support/feature_groups.py
  103. +0 −1 src/nupic/support/features.py
  104. +0 −1 src/nupic/support/features_list.py
  105. +0 −1 src/nupic/support/loophelpers.py
  106. +0 −1 src/nupic/support/serializationutils.py
  107. +2 −6 src/nupic/support/unittesthelpers/algorithm_test_helpers.py
  108. +0 −1 src/nupic/support/unittesthelpers/test_framework_helpers.py
  109. +0 −1 src/nupic/swarming/HypersearchWorker.py
  110. +0 −1 src/nupic/swarming/exp_generator/ExpGenerator.py
  111. +3 −2 src/nupic/swarming/exp_generator/claDescriptionTemplate.tpl
  112. +0 −1 src/nupic/swarming/exp_generator/permutationsTemplateV1.tpl
  113. +0 −1 tests/external/asteval_test.py
  114. +0 −1 tests/external/testfixture_test.py
  115. +0 −1 tests/integration/__init__.py
  116. +0 −1 tests/integration/nupic/__init__.py
  117. +0 −1 tests/integration/nupic/algorithms/extensive_tm_cpp_test.py
  118. +0 −1 tests/integration/nupic/algorithms/extensive_tm_py_test.py
  119. +0 −1 tests/integration/nupic/algorithms/extensive_tm_test_base.py
  120. +0 −1 tests/integration/nupic/algorithms/knn_classifier_test/categories_test.py
  121. +0 −1 tests/integration/nupic/algorithms/knn_classifier_test/classifier_test.py
  122. +0 −1 tests/integration/nupic/algorithms/monitor_mixin/temporal_memory_monitor_mixin_test.py
  123. +0 −1 tests/integration/nupic/algorithms/tp_likelihood_test.py
  124. +0 −1 tests/integration/nupic/algorithms/tp_overlapping_sequences_test.py
  125. +0 −1 tests/integration/nupic/algorithms/tp_segment_learning.py
  126. +0 −1 tests/integration/nupic/algorithms/tp_test.py
  127. +0 −1 tests/integration/nupic/algorithms/tutorial_temporal_memory_test.py
  128. +0 −1 tests/integration/nupic/data/aggregation_test.py
  129. +0 −1 tests/integration/nupic/engine/network_checkpoint_test.py
  130. +1 −2 tests/integration/nupic/engine/network_creation_common.py
  131. +0 −1 tests/integration/nupic/engine/network_testnode_interchangeability.py
  132. +0 −1 tests/integration/nupic/engine/network_twonode_test.py
  133. +0 −1 tests/integration/nupic/engine/temporal_memory_compatibility_test.py
  134. +0 −1 tests/integration/nupic/engine/vector_file_sensor_test.py
  135. +0 −1 tests/integration/nupic/opf/expgenerator_test.py
  136. +1 −1 tests/integration/nupic/opf/hotgym_regression_test.py
  137. +0 −1 tests/integration/nupic/opf/opf_checkpoint_stress_test.py
  138. +2 −1 tests/integration/nupic/opf/opf_checkpoint_test/opf_checkpoint_test.py
  139. +0 −1 tests/integration/nupic/opf/opf_description_template_test/opf_description_template_test.py
  140. +7 −7 tests/integration/nupic/opf/opf_experiment_results_test.py
  141. +0 −1 tests/integration/nupic/opf/opf_experiments_test.py
  142. +0 −1 tests/integration/nupic/opf/opf_region_test.py
  143. +0 −1 tests/integration/nupic/opf/prediction_metrics_manager_test.py
  144. +0 −1 tests/integration/nupic/regions/multiclass_knn_test.py
  145. +0 −1 tests/integration/nupic/regions/single_step_sdr_classifier_test.py
  146. +0 −1 tests/regression/run_opf_benchmarks_test.py
  147. +0 −1 tests/swarming/__init__.py
  148. +0 −1 tests/swarming/nupic/__init__.py
  149. +0 −1 tests/swarming/nupic/swarming/__init__.py
  150. +0 −1 tests/swarming/nupic/swarming/swarming_test.py
  151. +0 −1 tests/unit/nupic/algorithms/anomaly_likelihood_jeff_test.py
  152. +0 −1 tests/unit/nupic/algorithms/anomaly_likelihood_test.py
  153. +0 −1 tests/unit/nupic/algorithms/anomaly_test.py
  154. +0 −1 tests/unit/nupic/algorithms/cells4_test.py
  155. +0 −1 tests/unit/nupic/algorithms/cla_classifier_diff_test.py
  156. +0 −1 tests/unit/nupic/algorithms/cla_classifier_test.py
  157. +0 −1 tests/unit/nupic/algorithms/fast_cla_classifier_test.py
  158. +0 −1 tests/unit/nupic/algorithms/knn_classifier_test.py
  159. +1 −1 tests/unit/nupic/algorithms/sp_overlap_test.py
  160. +0 −1 tests/unit/nupic/algorithms/svm_test.py
  161. +0 −1 tests/unit/nupic/algorithms/tp10x2_test.py
  162. +0 −1 tests/unit/nupic/data/aggregator_test.py
  163. +0 −1 tests/unit/nupic/data/dictutils_test.py
  164. +0 −1 tests/unit/nupic/data/fieldmeta_test.py
  165. +0 −1 tests/unit/nupic/data/file_record_stream_test.py
  166. +0 −1 tests/unit/nupic/data/filters_test.py
  167. +0 −1 tests/unit/nupic/data/functionsource_test.py
  168. +0 −1 tests/unit/nupic/data/generators/anomalyzer_test.py
  169. +0 −1 tests/unit/nupic/data/generators/pattern_machine_test.py
  170. +0 −1 tests/unit/nupic/data/generators/sequence_machine_test.py
  171. +0 −1 tests/unit/nupic/data/inference_shifter_test.py
  172. +0 −1 tests/unit/nupic/data/record_stream_test.py
  173. +0 −1 tests/unit/nupic/data/utils_test.py
  174. +0 −1 tests/unit/nupic/encoders/adaptivescalar_test.py
  175. +0 −1 tests/unit/nupic/encoders/category_test.py
  176. +0 −1 tests/unit/nupic/encoders/coordinate_test.py
  177. +0 −1 tests/unit/nupic/encoders/date_test.py
  178. +0 −1 tests/unit/nupic/encoders/delta_test.py
  179. +0 −1 tests/unit/nupic/encoders/geospatial_coordinate_test.py
  180. +0 −1 tests/unit/nupic/encoders/logenc_test.py
  181. +0 −1 tests/unit/nupic/encoders/multi_test.py
  182. +0 −1 tests/unit/nupic/encoders/pass_through_encoder_test.py
  183. +0 −1 tests/unit/nupic/encoders/random_distributed_scalar_test.py
  184. +0 −1 tests/unit/nupic/encoders/scalar_test.py
  185. +0 −1 tests/unit/nupic/encoders/scalarspace_test.py
  186. +0 −1 tests/unit/nupic/encoders/sdrcategory_test.py
  187. +0 −1 tests/unit/nupic/encoders/sparse_pass_through_encoder_test.py
  188. +0 −1 tests/unit/nupic/engine/network_test.py
  189. +0 −1 tests/unit/nupic/engine/syntactic_sugar_test.py
  190. +0 −1 tests/unit/nupic/engine/unified_py_parameter_test.py
  191. +0 −1 tests/unit/nupic/frameworks/opf/clamodel_classifier_helper_test.py
  192. +1 −2 tests/unit/nupic/frameworks/opf/clamodel_test.py
  193. +0 −1 tests/unit/nupic/frameworks/opf/common_models/cluster_params_test.py
  194. +0 −1 tests/unit/nupic/frameworks/opf/opf_metrics_test.py
  195. +0 −1 tests/unit/nupic/frameworks/opf/previous_value_model_test.py
  196. +0 −1 tests/unit/nupic/frameworks/opf/safe_interpreter_test.py
  197. +0 −1 tests/unit/nupic/frameworks/opf/two_gram_model_test.py
  198. +0 −1 tests/unit/nupic/math/lgamma_test.py
  199. +0 −1 tests/unit/nupic/math/topology_test.py
  200. +0 −1 tests/unit/nupic/regions/anomaly_likelihood_region_test.py
  201. +0 −1 tests/unit/nupic/regions/anomaly_region_test.py
  202. +0 −1 tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py
  203. +0 −1 tests/unit/nupic/regions/record_sensor_region_test.py
  204. +0 −1 tests/unit/nupic/regions/regions_spec_test.py
  205. +0 −1 tests/unit/nupic/research/connections_test.py
  206. +0 −1 tests/unit/nupic/research/inhibition_object_test.py
  207. +0 −1 tests/unit/nupic/research/monitor_mixin/metric_test.py
  208. +0 −1 tests/unit/nupic/research/monitor_mixin/trace_test.py
  209. +0 −1 tests/unit/nupic/research/sp_learn_inference_test.py
  210. +56 −98 tests/unit/nupic/research/spatial_pooler_boost_test.py
  211. +29 −35 tests/unit/nupic/research/spatial_pooler_compatability_test.py
  212. +0 −1 tests/unit/nupic/research/spatial_pooler_compute_test.py
  213. +0 −1 tests/unit/nupic/research/spatial_pooler_cpp_api_test.py
  214. +0 −1 tests/unit/nupic/research/spatial_pooler_cpp_unit_test.py
  215. +4 −24 tests/unit/nupic/research/spatial_pooler_py_api_test.py
  216. +32 −57 tests/unit/nupic/research/spatial_pooler_unit_test.py
  217. +0 −1 tests/unit/nupic/research/temporal_memory_test.py
  218. +0 −1 tests/unit/nupic/research/tp10x2_test.py
  219. +0 −1 tests/unit/nupic/research/tp_constant_test.py
  220. +0 −1 tests/unit/nupic/research/tp_test.py
  221. +0 −1 tests/unit/nupic/support/configuration_test.py
  222. +0 −1 tests/unit/nupic/support/consoleprinter_test/consoleprinter_test.py
  223. +0 −1 tests/unit/nupic/support/custom_configuration_test.py
  224. +0 −1 tests/unit/nupic/support/decorators_test.py
  225. +0 −1 tests/unit/nupic/support/object_json_test.py
  226. +0 −1 tests/unit/nupic/utils_test.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -25,11 +25,11 @@ echo Running script-run-tests.sh...
echo
# Python unit tests and prep for coveralls reporting
-${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -u --coverage --failfast || exit
+python ${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -u --coverage --failfast || exit
mv ${TRAVIS_BUILD_DIR}/.coverage ${TRAVIS_BUILD_DIR}/.coverage_unit
# Python integration tests and prep for coveralls reporting
-${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -i --coverage --failfast || exit
+python ${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -i --coverage --failfast || exit
mv ${TRAVIS_BUILD_DIR}/.coverage ${TRAVIS_BUILD_DIR}/.coverage_integration
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
@@ -70,7 +69,7 @@ def createNetwork():
"synPermConnected": 0.1,
"synPermActiveInc": 0.0001,
"synPermInactiveDec": 0.0005,
- "maxBoost": 1.0,
+ "boostStrength": 0.0,
}))
#
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
@@ -66,7 +65,7 @@
"synPermConnected": 0.1,
"synPermActiveInc": 0.0001,
"synPermInactiveDec": 0.0005,
- "maxBoost": 1.0}
+ "boostStrength": 0.0}
# Parameter dict for TPRegion
TP_PARAMS = {"verbosity": _VERBOSITY,
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015-2016, Numenta, Inc. Unless you have an agreement
@@ -55,7 +54,7 @@
"synPermConnected": 0.1,
"synPermActiveInc": 0.0001,
"synPermInactiveDec": 0.0005,
- "maxBoost": 1.0,
+ "boostStrength": 0.0,
}
# Config field for TPRegion
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015-2016, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -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;
@@ -52,7 +52,7 @@
'spParams': { 'columnCount': 2048,
'globalInhibition': 1,
'inputWidth': 0,
- 'maxBoost': 2.0,
+ 'boostStrength': 2.0,
'numActiveColumnsPerInhArea': 40,
'potentialPct': 0.8,
'seed': 1956,
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import csv
import shutil
import datetime
@@ -44,4 +43,4 @@ def run():
if __name__ == "__main__":
- run()
+ run()
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -73,7 +73,7 @@
"columnCount": 2048,
"globalInhibition": 1,
"inputWidth": 0,
- "maxBoost": 1.0,
+ "boostStrength": 0.0,
"numActiveColumnsPerInhArea": 40,
"seed": 1956,
"spVerbosity": 0,
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
@@ -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;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -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;
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
@@ -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;
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Oops, something went wrong.

0 comments on commit 3d8b77e

Please sign in to comment.