list of log probs


class

classify(me,
observation)
Classify an observation into a class. 
source code


dict of values


list of expectations


list of expectations


matrix


matrix of f sharp values.



_iis_solve_delta(N,
feature,
f_sharp,
empirical,
prob_yx,
max_newton_iterations,
newton_converge) 
source code



_train_iis(xs,
classes,
features,
f_sharp,
alphas,
e_empirical,
max_newton_iterations,
newton_converge)
Do one iteration of hill climbing to find better alphas (PRIVATE). 
source code



train(training_set,
results,
feature_fns,
update_fn=None,
max_iis_iterations=10000,
iis_converge=1e05,
max_newton_iterations=100,
newton_converge=1e10)
Train a maximum entropy classifier, returns MaxEntropy object. 
source code

