From 28636afc58f7bff5a63388c2e7738e9edf68c629 Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Wed, 10 May 2017 08:58:52 -0700 Subject: [PATCH] Removed OPF utils PredictionElement --- src/nupic/frameworks/opf/opf_utils.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/nupic/frameworks/opf/opf_utils.py b/src/nupic/frameworks/opf/opf_utils.py index 8f7023de30..64cd5ad046 100644 --- a/src/nupic/frameworks/opf/opf_utils.py +++ b/src/nupic/frameworks/opf/opf_utils.py @@ -268,30 +268,6 @@ def _asdict(self): bucketIndex=self.bucketIndex) -# PredictionElement- represents a predicted record and its asssociated -# bit-string encoding for a network's sensor region and/or -# the classification of that input as produced by -# a classifier. -# -# predictionRow: A sequence of field values where each element is the predicted -# value in the format specified by getDecodedFieldMetaInfo(). -# This is the output of topDownCompute() for each encoder -# -# predictionEncodings: A sequence of numpy arrays, where each element is the -# binary representation of the corresponding predicted field -# in "predictionRow". -# -# classification: The classification category of this input. -# - -PredictionElement = namedtuple("PredictionElement", - ("predictionRow", - "predictionEncodings", - "classification")) - - - - class ModelResult(object): """ A structure that contains the input to a model and the resulting predictions