I hereby claim:
- I am aaronstevenwhite on github.
- I am aaronstevenwhite (https://keybase.io/aaronstevenwhite) on keybase.
- I have a public key ASAVQkWOvjnGK_FPi0MNfUP9ZVatI-ehF-2v3KQ5E-ET_Ao
To claim this, I am signing this object:
import numpy as np | |
import pandas as pd | |
from random import shuffle, choice | |
from scipy.stats import dirichlet | |
from scipy.misc import logsumexp | |
from nltk.tree import Tree | |
class UnsupervisedPCFG(object): | |
'''unsupervised pcfg induction with EM |
I hereby claim:
To claim this, I am signing this object:
import torch | |
from torch.nn.modules.rnn import RNNBase | |
import torch.nn.functional as F | |
from torch.autograd import Variable | |
from torch.nn.modules.dropout import Dropout | |
import sys | |
if sys.version_info.major == 3: | |
from functools import lru_cache |