Skip to content

Commit

Permalink
call private print method correctly; fixes numenta#2101
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Lavin committed May 4, 2015
1 parent 366f0e2 commit 651da8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/tp/tp_segment_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ def _buildSegmentLearningTrainingSet(self, numOnes=10, numRepetitions= 10):

if g_options.verbosity > 1:
print "\nTraining sequences"
self.printAllTrainingSequences(trainingSequences)
self._printAllTrainingSequences(trainingSequences)
print "\nTest sequence"
self.printAllTrainingSequences([testSequence])
self._printAllTrainingSequences([testSequence])

return (trainingSequences, [testSequence])

Expand Down Expand Up @@ -297,9 +297,9 @@ def _buildSL2TrainingSet(self, numOnes=10, numRepetitions= 10):

if g_options.verbosity > 1:
print "\nTraining sequences"
self.printAllTrainingSequences(trainingSequences)
self._printAllTrainingSequences(trainingSequences)
print "\nTest sequences"
self.printAllTrainingSequences(testSequences)
self._printAllTrainingSequences(testSequences)

return (trainingSequences, testSequences)

Expand Down

0 comments on commit 651da8c

Please sign in to comment.