beckel / nilm-eval

NILM-EVAL: An evaluation framework for non-intrusive load monitoring algorithms
GNU General Public License v2.0
108 stars 50 forks source link

About parameterization and code in Parson Algorithm #6

Open InesSoares opened 7 years ago

InesSoares commented 7 years ago

Hi, Looking at the code in Parson algorithm,

   % calculate diff model params
    init = ones(1, length(state_means)) / length(state_means);
    num_states = length(init);
    idx = repmat(1:num_states,num_states,1);
    emit_mean = state_means(idx) - state_means(idx');
    emit_cov = state_covs(idx) + state_covs(idx');

What is the meaning of emit_mean and emit_cov? For example, for emit_cov we obtain:

            OFF    ON
   OFF   10      45
   ON    45      80

It means that the variance OFF to ON is 45 ?