This file contains hidden or 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
| """ | |
| Code for training RBMs with contrastive divergence. Tries to be as | |
| quick and memory-efficient as possible while utilizing only pure Python | |
| and NumPy. | |
| """ | |
| # Copyright (c) 2009, David Warde-Farley | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without |
This file contains hidden or 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
| # coding: utf-8 | |
| """Online learning.""" | |
| import numpy as np | |
| from numpy import sign | |
| import itertools as it | |
| from numpy import array as A, zeros as Z | |
| import math |
This file contains hidden or 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
| I got the crazy idea that the project could be released as a Puppy / DSL linux or #! Linux distro | |
| A debian or ubuntu compatible distro would be ideal, a tiny linux is very seductive. | |
| 1) Code Updates could be pushed to the nodes | |
| 2) A compute engine can be installed and used for grid operations (There goes the dream of tiny) | |
| MOsix, OpenMosix, Rocks are all compute engines | |
| SaltStack might be ideal, hacking a new setup with zeromq might be worth the effort. | |
| 3) Volunteers can run the distro in a vm maintaining their own computers and volunteering compute time. | |
| I spent today looking into GIS shapefile utils |
This file contains hidden or 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 is a project to provide police event mapping and statistics for the citizens of San Antonio. | |
| This project is meant to provide citizens with data to enable them to better watch their neighborhoods. | |
| It was created after reading national best places to live rankings for cities. San Antonio was hindered by a nationally high ranking property theft rate. | |
| Project Name Ideas: | |
| * Nicolas | |
| * Means "Victory of the People" | |
| * Refers to: St Nicolas of Myra; protector from theft and more generally protector of the innocent |
This file contains hidden or 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
| # SAPD Neighborhood Watch Db | |
| # Parses San Antonio Police Neighborhood Calls pdfs into json for dbs | |
| # | |
| # | |
| # Dev Env: Ubuntu 12.04 | |
| # Licensed under the GNU General Public License: http://www.gnu.org/licenses/gpl.html | |
| # Requires xpdf utils available at the command line (not a python library (yet)) | |
| # pymongo & Mongodb | |
| # pdfs from http://www.sanantonio.gov/neighborhoodpolicecalls/policecalls.aspx | |
| # |
This file contains hidden or 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
| # JSON IMDbPY class wrapper | |
| # Goal: wraps IMDB class data function to provide fully complaint json | |
| # author: james , rubino <at> gmail , com | |
| # note: contains wrapper and randomized test cases | |
| from random import randint as r | |
| import json | |
| import imdb | |
| ia = imdb.IMDb() |
NewerOlder