Package tuffy.learn

Provides weight learning in Tuffy.

See:
          Description

Class Summary
DNLearner Learner instance using diagonal Newton with dynamic step size.
Learner The abstract class of learning a weight of MLN.
Main A class for calling Learner.
NaiveDNLearner Deprecated.
NaiveGDLearner DO NOT USE THIS CLASS! USE DNLearner.
 

Package tuffy.learn Description

Provides weight learning in Tuffy.

This package provide frameworks for weight learning. You can write your own learner by materializing several functions of the abstract class Learner. An example in this package is DNLearner, which implements a Diagonal Newton optimizer. This materialized class only need to tell the learner how to update the weight according to the gradient and Hessian.

This package deals with in memory MRF directly, and has nothing to do with DBMS. The flow of learning involves repetitive invocations of MCSAT (see package infer), which will update the expectation of clause violation/satisfaction under current weight settings.