HTM for IT

I have a question about the prediction ( using SDR Classifier). In NUPIC Algorithm quickstart they wrote:

Execute Temporal Memory algorithm over active mini-columns.

  tm.compute(activeColumnIndices, learn=True)

activeCells = tm.getActiveCells()

  # Get the bucket info for this input value for classification.
  bucketIdx = scalarEncoder.getBucketIndices(consumption)[0]

Run classifier to translate active cells back to scalar value.

  classifierResult = classifier.compute(
    recordNum=count,
    patternNZ=activeCells,
    classification={
      "bucketIdx": bucketIdx,
      "actValue": consumption
    },
    learn=True,
    infer=True
  )

I doubt this code " patternNZ=activeCells" . Why don’t use " patternNZ= tm.getPredictiveCells() " .

Because we want to prediction so we have to do on Predictive cells ??

Thank you very much.