| CodeJerod Weinman < CompSci < Grinnell | |
|
Notice: If you use any of this software for research that is published, please send an email to me at
; I would be grateful if your paper would kindly acknowledge its use.
The following packages are freely released under the GNU GPL.
MaxEnt for Matlab
@maxent Matlab implementation of a discriminative Maximum Entropy (MaxEnt) classifier (aka multinomial logistic regression), as in [Berger96]. Includes several options for training regularization (Gaussian and Laplacian priors). Requires the L-BFGS optimizer below.
CUDA MaxEnt extensioncudamaxent CUDA implementation of a the training algorithm for the Matlab-based discriminative Maximum Entropy (MaxEnt) classifier. Features up to a 205x speed-up compared to a multicore CPU.Spatial Displacement MaxEnt for Matlab@sdmaxent Matlab implementation of a "spatial displacement" discriminative Maximum Entropy (MaxEnt) classifier (aka multinomial logistic regression), as in [Berger96]. Designed to be trained and applied via convolution over an entire image. Thus, features are not vectors per se, but a stack of feature images and the features passed to the "classifier" are values in all feature images in a window around each pixel.Includes several options for training regularization (Gaussian and Laplacian priors). Requires the L-BFGS optimizer below.L-BFGS for Matlab
lbfgs.m Matlab implementation of L-BFGS, a limited memory second-order (quasi-Newton) optimizer ideal for parameter training in conditional Markov models. Also includes a backtracking line minimizer.
Discrete Factor Graphs for Matlab
@factorgraph Matlab implementation of a factor graph, supported by belief propagation for inference, as in [Kschischang98]. Both sum-product and max-product, synchronous and asynchronous message passing schedules are included, as well as traditional and sparse belief propagation (sparse BP) messages (c.f. [Weinman09]). Supports arbitrary-arity factors and non-homogeneous variable nodes, as well as linear factors whose parameters may be tied and combined with observations to "unroll" into the complete graph.No parameter learning is supported. Bug reports and for-loop eliminating optimizations (e.g., using cellfun and bsxfun) are welcome. Here is a brief overview of the class design.
Structured Lexicon/Word Factor@wordfactor Matlab implementation of the lexical factor used in [Weinman07, Weinman09]. Compactly supports message passing (both dense and sparse) using the factor graph library (above).Coming Soon
(Hopefully coming soon ... prodding interest always helps).
Other Contributions
Contributions that live elsewhere include:
| |