Skip to content

Commit

Permalink
RES-562: Update NAB to use nupic 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lscheinkman committed Jul 7, 2017
1 parent 6719606 commit 757b586
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nab/detectors/htmjava/htmjava_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def initialize(self):
# Initialize the anomaly likelihood object
numentaLearningPeriod = math.floor(self.probationaryPeriod / 2.0)
self.anomalyLikelihood = anomaly_likelihood.AnomalyLikelihood(
claLearningPeriod=numentaLearningPeriod,
learningPeriod=numentaLearningPeriod,
estimationSamples=self.probationaryPeriod-numentaLearningPeriod,
reestimationPeriod=100
)
Expand Down
2 changes: 1 addition & 1 deletion nab/detectors/numenta/numentaTM_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def initialize(self):
# Initialize the anomaly likelihood object
numentaLearningPeriod = int(math.floor(self.probationaryPeriod / 2.0))
self.anomalyLikelihood = anomaly_likelihood.AnomalyLikelihood(
claLearningPeriod=numentaLearningPeriod,
learningPeriod=numentaLearningPeriod,
estimationSamples=self.probationaryPeriod-numentaLearningPeriod,
reestimationPeriod=100
)
2 changes: 1 addition & 1 deletion nab/detectors/numenta/numenta_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def initialize(self):
# Initialize the anomaly likelihood object
numentaLearningPeriod = int(math.floor(self.probationaryPeriod / 2.0))
self.anomalyLikelihood = anomaly_likelihood.AnomalyLikelihood(
claLearningPeriod=numentaLearningPeriod,
learningPeriod=numentaLearningPeriod,
estimationSamples=self.probationaryPeriod-numentaLearningPeriod,
reestimationPeriod=100
)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nupic==0.5.6
nupic==1.0.0
pandas
simplejson

0 comments on commit 757b586

Please sign in to comment.