Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to Hessian-Sum-Mixture to match latest paper version #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions examples/ex_gaussian_mixture.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
import matplotlib.pyplot as plt
import numpy as np

from navlie.batch.gaussian_mixtures import (
GaussianMixtureResidual,
HessianSumMixtureResidual,
MaxMixtureResidual,
SumMixtureResidual,
MaxSumMixtureResidual,
HessianSumMixtureResidual,
SumMixtureResidual,
)
from navlie.batch.problem import Problem
from navlie.batch.residuals import PriorResidual

from navlie.lib.states import VectorState
import os
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
from pathlib import Path
from navlie.batch.problem import Problem


def main():
Expand All @@ -36,7 +33,7 @@ def main():
"Sum-Mixture": SumMixtureResidual(component_residuals, weights),
"Max-Sum-Mixture": MaxSumMixtureResidual(component_residuals, weights, 10),
"Hessian-Sum-Mixture": HessianSumMixtureResidual(
component_residuals, weights, True, 0.1
component_residuals, weights, True
),
}

Expand Down
Loading
Loading