Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
particles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Archives
particles
Commits
35c3a9fc
Commit
35c3a9fc
authored
6 years ago
by
Frédéric Karamé
Browse files
Options
Downloads
Patches
Plain Diff
Replace the likelihood of the mean by the mean of the likelihoods.
parent
ef22c716
No related branches found
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nonlinear_kalman_filter.m
+3
-1
3 additions, 1 deletion
src/nonlinear_kalman_filter.m
with
3 additions
and
1 deletion
src/nonlinear_kalman_filter.m
+
3
−
1
View file @
35c3a9fc
...
...
@@ -169,7 +169,9 @@ for t=1:sample_size
return
end
end
lik
(
t
)
=
log
(
probability2
(
0
,
PredictedObservedVarianceSquareRoot
,
PredictionError
)
)
;
% lik(t) = log( probability2(0,PredictedObservedVarianceSquareRoot,PredictionError) ) ;
lik
(
t
)
=
log
(
sum
(
probability2
(
Y
(:,
t
),
H_lower_triangular_cholesky
,
tmp
(
mf1
,:))
.*
weights
,
1
)
)
;
% lik(t) = log(sum(probability2(Y(:,t),PredictedObservedVarianceSquareRoot,tmp(mf1,:)).*weights,1) ) ;
end
LIK
=
-
sum
(
lik
(
start
:
end
));
This diff is collapsed.
Click to expand it.
Sébastien Villemot
@sebastien
mentioned in commit
60a1bddc
·
4 years ago
mentioned in commit
60a1bddc
mentioned in commit 60a1bddcc4c7f6c52055ae52432eba34c0d0f6fb
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment