Skip to content

Instantly share code, notes, and snippets.

View BoltzmannBrain's full-sized avatar

Alexander Lavin BoltzmannBrain

View GitHub Profile
#-------------------------------------------------------------------------------
# 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
#-------------------------------------------------------------------------------
@BoltzmannBrain
BoltzmannBrain / nab_anomaly_detection.R
Created October 20, 2015 00:08
R script to run the Twitter AnomalyDetection algorithms on the NAB dataset.
################################################################################
# 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.
################################################################################
@BoltzmannBrain
BoltzmannBrain / QuickTest.py
Last active July 22, 2016 00:34 — forked from cogmission/QuickTest.py
Example Use of Raw HTM Algorithms
'''
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