view src/samer/models/notyet/ModelGraph.java @ 0:bf79fb79ee13

Initial Mercurial check in.
author samer
date Tue, 17 Jan 2012 17:50:20 +0000
parents
children
line wrap: on
line source
package samer.models;
import samer.tools.*;


public class ModelGraph extends AnonymousTask {

	public void run() {}
	
	// need models (nodes)
	// and edges

	/*
		Check model input and output ports
		(Models need port descriptors)
		Create buffers if necessary
		setup plumbing:
			setOutputModel
			setInput

		Setting up: read model graph and compile
		appropriate task list.

		do inference
			compute latent variables
				MAP estimates
				posteriors

		for learning:
			compute gradients
			collect stats (Trainer.accumulate)

		subrate update models
			flush trainers
				old model + new stats --> new model
			reset statistics
	*/
}