a0eecf18eb5dab870144c2739b402a50c30981e8,nab/detectors/numenta/numenta_detector.py,NumentaDetector,initialize,#NumentaDetector#,113

Before Change



    if self.useLikelihood:
      // Initialize the anomaly likelihood object
      numentaLearningPeriod = math.floor(self.probationaryPeriod / 2.0)
      self.anomalyLikelihood = anomaly_likelihood.AnomalyLikelihood(
        claLearningPeriod=numentaLearningPeriod,
        estimationSamples=self.probationaryPeriod-numentaLearningPeriod,
        reestimationPeriod=100

After Change



    if self.useLikelihood:
      // Initialize the anomaly likelihood object
      numentaLearningPeriod = int(math.floor(self.probationaryPeriod / 2.0))
      self.anomalyLikelihood = anomaly_likelihood.AnomalyLikelihood(
        claLearningPeriod=numentaLearningPeriod,
        estimationSamples=self.probationaryPeriod-numentaLearningPeriod,
        reestimationPeriod=100
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: numenta/NAB
Commit Name: a0eecf18eb5dab870144c2739b402a50c30981e8
Time: 2017-06-12
Author: matt@numenta.org
File Name: nab/detectors/numenta/numenta_detector.py
Class Name: NumentaDetector
Method Name: initialize


Project Name: automl/SMAC3
Commit Name: c02b41e2dcb79778f21838567edf36ed0a73615b
Time: 2020-01-03
Author: feurerm@informatik.uni-freiburg.de
File Name: smac/intensification/successive_halving.py
Class Name: SuccessiveHalving
Method Name: _init_sh_params


Project Name: numenta/NAB
Commit Name: 27b20047828cb02c870a8f0cb718e21efe51cedc
Time: 2018-06-11
Author: lscheinkman@numenta.com
File Name: nab/detectors/htmjava/htmjava_detector.py
Class Name: HtmjavaDetector
Method Name: initialize


Project Name: numenta/NAB
Commit Name: 7f83a6eac7e35e6a031d6c3d777e3194bf33f8c6
Time: 2017-06-12
Author: matt@numenta.org
File Name: nab/detectors/numenta/numentaTM_detector.py
Class Name: NumentaTMDetector
Method Name: initialize