This file has been truncated, but you can view the full file.
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
14480 | |
14401 | |
14486 | |
1358 | |
5927 | |
2907 | |
549 | |
2522 | |
13735 | |
13937 |
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
""" | |
sample code for assign4.py | |
load_sst can be used to read the files from sst, which can be downloaded from this link: | |
https://nlp.stanford.edu/sentiment/trainDevTestTrees_PTB.zip | |
load_embeddings can be used to read files in the text format. Here's a link to | |
word2vec - https://drive.google.com/file/d/0B7XkCwpI5KDYNlNUTTlSS21pQmM/edit?usp=sharing |
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
Timestamp | Open | High | Low | Close | Volume (BTC) | Volume (Currency) | Weighted Price | |
---|---|---|---|---|---|---|---|---|
2017-11-25 00:00:00 | 8199.83 | 8737 | 8114.78 | 8717.99 | 11611.67 | 97628924.79 | 8407.83 | |
2017-11-26 00:00:00 | 8718 | 9366.6 | 8538.2 | 9271.06 | 12021.22 | 108525815.45 | 9027.86 | |
2017-11-27 00:00:00 | 9278.99 | 9721.7 | 9267 | 9708.07 | 13272.45 | 126458117.67 | 9527.86 | |
2017-11-28 00:00:00 | 9708.06 | 9968 | 9582.25 | 9868.82 | 11214.93 | 110496755.85 | 9852.65 | |
2017-11-29 00:00:00 | 9877.63 | 11395 | 9250 | 9824.68 | 33432.34 | 346949562.2 | 10377.66 | |
2017-11-30 00:00:00 | 9833.7 | 10618.29 | 9000 | 9947.67 | 25433.46 | 247093850.76 | 9715.31 | |
2017-12-01 00:00:00 | 9927.29 | 10949.89 | 9370.11 | 10840.45 | 16708.03 | 171881760.62 | 10287.37 | |
2017-12-02 00:00:00 | 10840.45 | 11200 | 10637.69 | 10872 | 9267.16 | 101270084.38 | 10927.84 | |
2017-12-03 00:00:00 | 10875.68 | 11800.01 | 10513.16 | 11250 | 14238.53 | 160176290.44 | 11249.5 |
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
# fetch_synset.py | |
import time | |
from textblob.wordnet import Synset | |
from nltk.corpus import wordnet as wn | |
import requests | |
example_syn = "n02486410" | |
animal = Synset("animal.n.01") | |
mammals_file = "mammals_v04_wordnet.csv" |
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
# fetch_synset.py | |
import time | |
from textblob.wordnet import Synset | |
from nltk.corpus import wordnet as wn | |
import requests | |
example_syn = "n02486410" | |
animal = Synset("animal.n.01") | |
mammals_file = "mammals_v04_wordnet.csv" |
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
1. Nove Settimane e Mezzo (9 ½ Weeks) (1986) | |
2. Footloose (Footloose) (1984) | |
3. Rocky III (Rocky III) (1982) | |
4. Footloose (Footloose) (1984) | |
5. Dirty Dancing - Balli Proibiti (Dirty Dancing) (1987) | |
6. Footloose (Footloose) (1984) | |
7. Il Tempo Delle Mele (La Boum) (1980) | |
8. Dirty Dancing - Balli Proibiti (Dirty Dancing) (1987) | |
9. Nightmare II - La Rivincita (A Nightmare on Elm Street Part 2 – Freddy’s Revenge) (1985) | |
10. Shining (The Shining) (1980) |
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
Initiated every day at 10:30am AEST, checkins is a time to share | |
what you are working on or an interesting bit of knowledge if | |
you'd prefer not to talk about your work. |
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
test_labels = [ | |
'caribou', | |
'coati', | |
'dingo', | |
'echidna', | |
'giraffe', | |
'jaguar', | |
'lemur', | |
'raccoon', | |
'rhinoceros', |
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
indomain_labels = [ | |
'baboon', | |
'bat', | |
'bear', | |
'beaver', | |
'bobcat', | |
'camel', | |
'cat', | |
'cheetah', | |
'chimpanzee', |
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
# CPU Only | |
We have caffe installed using docker on Dexter. Docker is a bit tricky, but it makes installation very simple so it is worth it. | |
To start a docker container with caffe, use this command: | |
docker run -v /home/dexter/Developer/caffe-docker/mount:/workspace/mount -ti bvlc/caffe:cpu bash | |
Here is what you need to know: |