###name: Age Classification CNN
caffemodel: age_net.caffemodel
caffemodel_url: https://dl.dropboxusercontent.com/u/38822310/age_net.caffemodel
| from bs4 import BeautifulSoup | |
| import requests | |
| import pandas as pd | |
| """ | |
| This script prints the URL of the S1 Document given the company name and the path of the cik lookup, more to be added | |
| make sure the dependencies are installed. Runs on python 2.7. |
###name: Age Classification CNN
caffemodel: age_net.caffemodel
caffemodel_url: https://dl.dropboxusercontent.com/u/38822310/age_net.caffemodel
| import json | |
| from src.modules.tweet import Tweet | |
| from src.modules.hashtag_graph import HashtagGraph | |
| import argparse | |
| import logging | |
| logging.basicConfig(level=logging.INFO) | |
| logger = logging.getLogger(__name__) | |
| def get_tweet(json_data): |
| import networkx as nx | |
| import datetime | |
| import logging | |
| logging.basicConfig(level=logging.INFO) | |
| logger = logging.getLogger(__name__) | |
| class HashtagGraph(object): | |
| """ | |
| a class which updates the graph and calculates its average degree | |
| """ |