This file contains hidden or 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
| from collections.abc import MutableMapping | |
| from collections import UserDict | |
| import numpy | |
| import torch | |
| from torch import nn | |
| import torch.utils.data as data_utils | |
| from laplace import Laplace | |
| from laplace.curvature import CurvlinopsGGN, AsdlGGN |
This file contains hidden or 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
| from __future__ import annotations | |
| import warnings | |
| warnings.filterwarnings("ignore") | |
| import torch | |
| from gpytorch.likelihoods import Likelihood | |
| from gpytorch.mlls import ExactMarginalLogLikelihood | |
| from botorch.models.gp_regression import SingleTaskGP | |
| from gpytorch.kernels import Kernel |
OlderNewer