numenta / nupic.core-legacy

Implementation of core NuPIC algorithms in C++ (under construction)
http://numenta.org
GNU Affero General Public License v3.0
272 stars 276 forks source link

NUP-2491: Validate global inhibition parameters #1396

Closed lscheinkman closed 6 years ago

lscheinkman commented 6 years ago

Fixes #1390 This PR Adds an extra validation to SP global inhibition parameters. It will throw an exception if requesting a global sparsity that cannot be calculated using the available columns.