Skip to content

Commit

Permalink
some minor change of notation
Browse files Browse the repository at this point in the history
  • Loading branch information
fchamroukhi committed Dec 20, 2018
1 parent 04e5d04 commit fda2328
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion init_MixFHMM.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
% 3. Initialisation de la matrice des transitions
mixFHMM.param.A_k(:,:,k) = mixFHMM_init.trans_mat;
if order_constraint
mixFHMM.mask.mask = mixFHMM_init.mask;
mixFHMM.stats.mask = mixFHMM_init.mask;
end
% 4. Initialisation des moyennes
mixFHMM.param.mu_kr(:,k) = mixFHMM_init.mur;
Expand Down
15 changes: 13 additions & 2 deletions main_MixFHMM.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@
% type = {Ph.D. Thesis},
% url ={https://chamroukhi.com/papers/FChamroukhi-Thesis.pdf}
% }
%
% @article{Chamroukhi-FDA-2018,
% Journal = {Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery},
% Author = {Faicel Chamroukhi and Hien D. Nguyen},
% Note = {DOI: 10.1002/widm.1298.},
% Volume = {},
% Title = {Model-Based Clustering and Classification of Functional Data},
% Year = {2019},
% Month = {to appear},
% url = {https://chamroukhi.com/papers/MBCC-FDA.pdf}
% }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clear
Expand All @@ -42,8 +53,8 @@
R = 3;% number of regimes (HMM states)

% % options
variance_type = 'common';
%variance_type = 'free';
%variance_type = 'common';
variance_type = 'free';
ordered_states = 1;
total_EM_tries = 1;
max_iter_EM = 1000;
Expand Down
1 change: 0 additions & 1 deletion show_mixFHMM_results.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ function show_mixFHMM_results(data,mixFHMM)

colors = {'r','g','b','k','m','y','c','r','g','b','k','m','y','c'};
figure('Position',[scrsz(4) scrsz(4)/2 550 scrsz(4)/2.15]);
%clf(1)

for k=1:K
plot(t,data(mixFHMM.stats.klas==k,:)','color',colors{k})
Expand Down

0 comments on commit fda2328

Please sign in to comment.