Skip to content

Commit

Permalink
updated docs for left
Browse files Browse the repository at this point in the history
  • Loading branch information
sth4nth committed Feb 21, 2016
1 parent 0260b34 commit f87cc1d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ chapter07: rvm seq bug
modify linPred to use Sigma instead of U and modify related regression functions
chapter13: refine ldsRnd, refine lds demos
chapter10/12: prediction functions for VB
common/other: refine doc
extract demos

chapter05: MLP
Expand Down
10 changes: 9 additions & 1 deletion chapter13/HMM/hmmRnd.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
function [x, model] = hmmRnd(d, k, n)
% Generate a data sequence from a hidden Markov model
% Generate a data sequence from a hidden Markov model.
% Input:
% d: dimension of data
% k: dimension of latent variable
% n: number of data
% Output:
% X: d x n data matrix
% model: model structure
% Written by Mo Chen ([email protected]).
A = normalize(rand(k,k),2);
E = normalize(rand(k,d),2);
s = normalize(rand(k,1),1);
Expand Down
2 changes: 1 addition & 1 deletion chapter13/LDS/ldsRnd.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function [X, model] = ldsRnd(d, k, n)
% Generate a data sequence from linear dynamic system.
% Generate a data sequence from linear dynamic system.
% Input:
% d: dimension of data
% k: dimension of latent variable
Expand Down

0 comments on commit f87cc1d

Please sign in to comment.