-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ShearNoise33 noise model that assumes that convergence variable…
…s have a noise prior 2x the other parameters.
- Loading branch information
Showing
14 changed files
with
196 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
cov, | ||
count_nonzero, | ||
choose, | ||
diag, | ||
divide, | ||
dot, | ||
einsum, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,12 @@ | |
cov, | ||
corrcoef, | ||
cuda, | ||
diag, | ||
einsum, | ||
eq, | ||
equal, | ||
exp, | ||
hstack, | ||
inf, | ||
int32, | ||
int64, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 2021-2023 Lawrence Livermore National Security, LLC and other | ||
# MuyGPyS Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
""" | ||
Noise modeling | ||
Defines data structures and functors that handle noise priors for MuyGPs models. | ||
""" | ||
|
||
from typing import Callable, Tuple, Union | ||
|
||
import MuyGPyS._src.math as mm | ||
|
||
from MuyGPyS._src.gp.noise import _shear_perturb33 | ||
|
||
from MuyGPyS.gp.noise.homoscedastic import HomoscedasticNoise | ||
|
||
|
||
class ShearNoise33(HomoscedasticNoise): | ||
|
||
def __init__( | ||
self, | ||
val: Union[str, float], | ||
bounds: Union[str, Tuple[float, float]] = "fixed", | ||
_backend_fn: Callable = _shear_perturb33, | ||
): | ||
super(ShearNoise33, self).__init__(val, bounds, _backend_fn=_backend_fn) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.