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
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
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
| # Docker file that installs docker container with rdkit, ipython notebook and matplotlib | |
| # | |
| # rename this file to "Dockerfile" | |
| # build with: "sudo docker build -t rdkit ." | |
| # run with: "sudo docker run -p 127.0.0.1:8889:8888 rdkit " | |
| # NOTE that here port 8888 gets mapped to 8889. | |
| # point your browser to http://127.0.0.1:8889/ | |
| FROM saltstack/ubuntu-13.10 | |
| # Add universe repository |