This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on Feb 8, 2015 | |
@author: David Ray | |
''' | |
import numpy as np | |
from nupic.encoders.scalar import ScalarEncoder as ScalarEncoder | |
from nupic.algorithms.CLAClassifier import CLAClassifier as CLAClassifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# This script runs the Twitter AnomalyDetection algorithms on the NAB data set. | |
# | |
# You must first install the AnomalyDetection package: | |
# https://github.com/twitter/AnomalyDetection#how-to-get-started | |
# | |
# You must also have NAB installed and specify the path at the bottom of this | |
# script. | |
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# Name: Did you mean 'python spell check'? | |
# Purpose: Correct the spelling of an input string. | |
# | |
# Author: Alex Lavin | |
# | |
# Created: 17/08/2014 | |
# Copyright: (c) Lavin 2014 | |
#------------------------------------------------------------------------------- |