Mercurial > hg > jslab
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/samer/models/notyet/ModelGraph.java Tue Jan 17 17:50:20 2012 +0000 @@ -0,0 +1,37 @@ +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 + */ +} \ No newline at end of file