def getParameter(self, name, index=-<NUM_LIT:1>):
if name == "<STR_LIT>":<EOL><INDENT>return self._knn._numPatterns<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._getPatternMatrix()<EOL><DEDENT>elif name == "<STR_LIT:k>":<EOL><INDENT>return self._knn.k<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.distanceNorm<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.distanceMethod<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.distThreshold<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.binarizationThreshold<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.doBinarization<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.useSparseMemory<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.sparseThreshold<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.numWinners<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.relativeThreshold<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>v = self._knn.numSVDSamples<EOL>return v if v is not None else <NUM_LIT:0><EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>v = self._knn.numSVDDims<EOL>return v if v is not None else <NUM_LIT:0><EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>v = self._knn.fractionOfMax<EOL>return v if v is not None else <NUM_LIT:0><EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._useAuxiliary<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._justUseAuxiliary<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._doSphering<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self._knn.cellsPerCol<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return self.maxStoredPatterns<EOL><DEDENT>elif name == '<STR_LIT>':<EOL><INDENT>return self._knn._categoryRecencyList<EOL><DEDENT>else:<EOL><INDENT>return PyRegion.getParameter(self, name, index)<EOL><DEDENT>
Overrides :meth:`nupic.bindings.regions.PyRegion.PyRegion.getParameter`.