In [2]:
%cd ~/NetBeansProjects/ExpLosion/
from notebooks.common_imports import *
import numpy as np
In [23]:
# bag-of-NPs results
for e in Experiment.objects.filter(expansions__decode_handler='BaseFeatureHandler'):
mean, low, high, _ = get_ci(e.id)
print(e.id, e.document_features_tr, e.document_features_ev, e.labelled, mean, high, low, (high-low)/2)
In [22]:
# random vectors/neighbours
means = []
for r in Experiment.objects.filter(expansions__vectors__algorithm__startswith='random_'):
mean, low, high, _ = get_ci(r.id)
print(r.id, r.labelled, r.expansions.vectors.algorithm, mean, high, low, (high-low)/2)
In [ ]: