Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed OPF utils PredictionElement #3604

Merged
merged 1 commit into from
May 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions src/nupic/frameworks/opf/opf_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down