Skip to content

Commit

Permalink
Revert "TMP use slide-window"
Browse files Browse the repository at this point in the history
This reverts commit be71384.
  • Loading branch information
breznak committed May 23, 2014
1 parent be71384 commit d7e635f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py/nupic/frameworks/opf/clamodel.py
Expand Up @@ -209,7 +209,7 @@ def __init__(self,
# Initialize Temporal Anomaly detection parameters
if self.getInferenceType() == InferenceType.TemporalAnomaly:
self._getTPRegion().setParameter('anomalyMode', True)
self._anomalyInst = AnomalyImpl(useTP=self._getTPRegion(), slidingWindowSize=1000)
self._anomalyInst = AnomalyImpl(useTP=self._getTPRegion())
else:
self._anomalyInst = AnomalyImpl()

Expand Down
2 changes: 1 addition & 1 deletion py/regions/KNNAnomalyClassifierRegion.py
Expand Up @@ -222,7 +222,7 @@ def __init__(self,
self._version = KNNAnomalyClassifierRegion.__VERSION__

# anomaly
self._anomaly = AnomalyImpl(slidingWindowSize=1000)
self._anomaly = AnomalyImpl()

def initialize(self, dims, splitterMaps):
assert tuple(dims) == (1,) * len(dims)
Expand Down

0 comments on commit d7e635f

Please sign in to comment.