view src/samer/models/notyet/ModelGraph.java @ 5:b67a33c44de7

Remove some crap, etc
author samer
date Fri, 05 Apr 2019 21:34:25 +0100
parents bf79fb79ee13
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
	*/
}