SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1703.09930 · 2017

Adaptive Gaussian process approximation for Bayesian inference with expensive likelihood functions

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1703.09930.json · badge: /api/ran/1703.09930.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
dflemin3/approxposterior community (classifier label)
classifier basis not recorded on the link
13 ran · 2 no recorded run
FunctionStatusWhere it lives
AGPUtility Ran
ran; our contract draft was wrong, not the code
dflemin3/approxposterior/approxposterior/utility.py
code served (permissive licence) · get_code("404832bb9efd503a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (1,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

class MockGP:
    """Mock George GP object with required methods and attributes."""
    def __init__(self):
        self.computed = True
    
    def predict(self, y, theta, return_var=False):
        """Mock predict method that returns mean and variance."""
        mu = np.array([0.5])
        var = np.array([0.1])
        if return_var:
            return mu, var
        return mu

def mock_prior_fn(theta):
    """Mock prior function that returns log probability."""
    return 0.0

ARGS = {
    "theta": np.array([1.0, 2.0, 3.0, 4.0]),
    "y": np.array([0.1, 0.2, 0.3, 0.4]),
    "gp": MockGP(),
    "priorFn": mock_prior_fn,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (1,) — shape (1,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
batchMeansMCSE Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dflemin3/approxposterior/approxposterior/mcmcUtils.py
code served (permissive licence) · get_code("68dc102046756dc4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create sample MCMC samples
# Shape: (nsamples, ndim)
np.random.seed(0)
samples = np.random.randn(100, 5)

# Define optional parameters
bins = 10
fn = None  # Will default to identity function in the actual function

# Construct ARGS dictionary
ARGS = {
    'samples': samples,
    'bins': bins,
    'fn': fn
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
defaultHyperPrior Ran
ran, honoured the contract we drafted
dflemin3/approxposterior/approxposterior/gpUtils.py
code served (permissive licence) · get_code("8f99907a49c753ee")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct a valid argument for the defaultHyperPrior function
# The function expects an array/iterable of GP hyperparameters
# It checks if any absolute values (except the first element) exceed 20
# and returns -inf if so, otherwise returns 0.0

# Test case 1: Valid hyperparameters within range
p = np.array([1.0, 2.5, -3.0, 4.2, 0.5])

ARGS = {
    "p": p
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fitGMM Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dflemin3/approxposterior/approxposterior/gmmUtils.py
code served (permissive licence) · get_code("730cf0ac1f9e83db")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned GaussianMixture. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from sklearn.model_selection import GridSearchCV
from sklearn.mixture import GaussianMixture

# Create sample MCMC chain data
np.random.seed(0)
samples = np.random.randn(100, 4)  # 100 samples, 4 dimensions

ARGS = {
    'samples': samples,
    'maxComp': 3,
    'covType': 'full',
    'useBic': True,
    'gmmKwargs': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GaussianMixture — a GaussianMixture output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a GaussianMixture output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_lnprior Ran
ran; our contract draft was wrong, not the code
dflemin3/approxposterior/approxposterior/priors.py
code served (permissive licence) · get_code("680335e98e9a9732")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

class Prior:
    """Stand-in Prior class with lnprior method"""
    def __init__(self, name, scale=1.0):
        self.name = name
        self.scale = scale
    
    def lnprior(self, value):
        """Return log-prior probability for a value"""
        # Simple Gaussian-like prior: -0.5 * (value / scale)^2
        return -0.5 * (float(value) / self.scale) ** 2

# Construct theta as a list of numeric values
theta = [0.5, -0.3, 1.2, 0.1]

# Construct priors as a list of Prior objects (same length as theta)
priors = [
    Prior("param_0", scale=1.0),
    Prior("param_1", scale=2.0),
    Prior("param_2", scale=0.5),
    Prior("param_3", scale=1.5),
]

ARGS = {
    "theta": theta,
    "priors": priors,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_prior_unit_cube Ran
ran; our contract draft was wrong, not the code
dflemin3/approxposterior/approxposterior/priors.py
code served (permissive licence) · get_code("a8b51ed0a04cc045")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

class Prior:
    """Stand-in Prior class with transform_uniform method"""
    def __init__(self, lower, upper):
        self.lower = lower
        self.upper = upper
    
    def transform_uniform(self, u):
        """Transform unit cube value [0,1] to physical parameter"""
        return self.lower + u * (self.upper - self.lower)

# Create test data
np.random.seed(0)

# Unit cube with 3 dimensions
cube = np.array([0.2, 0.5, 0.8])

# Create prior objects for 3 parameters
priors = [
    Prior(lower=0.0, upper=10.0),
    Prior(lower=-5.0, upper=5.0),
    Prior(lower=1.0, upper=100.0),
]

ARGS = {
    "cube": cube,
    "priors": priors,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_theta_bounds Ran
ran, honoured the contract we drafted
dflemin3/approxposterior/approxposterior/priors.py
code served (permissive licence) · get_code("ef5bd670280bc601")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

class Prior:
    """Stand-in Prior class with get_bounds method"""
    def __init__(self, lower, upper):
        self.lower = lower
        self.upper = upper
    
    def get_bounds(self):
        return (self.lower, self.upper)

torch.manual_seed(0)

# Create a list of instantiated Prior objects
priors = [
    Prior(lower=0.0, upper=1.0),
    Prior(lower=-5.0, upper=5.0),
    Prior(lower=10.0, upper=20.0),
    Prior(lower=-100.0, upper=100.0),
]

ARGS = {
    "priors": priors
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
klNumerical Ran
ran; our contract draft was wrong, not the code
dflemin3/approxposterior/approxposterior/utility.py
code served (permissive licence) · get_code("50179160b6ef4256")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create sample data from a simple distribution
np.random.seed(0)
x = np.random.normal(loc=0, scale=1, size=100)

# Define p as a simple Gaussian density function (previous estimate)
def p(samples):
    """Gaussian pdf with mean=0, std=1"""
    return (1.0 / np.sqrt(2 * np.pi)) * np.exp(-0.5 * samples**2)

# Define q as a slightly different Gaussian density function (current estimate)
def q(samples):
    """Gaussian pdf with mean=0.1, std=1.1"""
    mean = 0.1
    std = 1.1
    return (1.0 / (std * np.sqrt(2 * np.pi))) * np.exp(-0.5 * ((samples - mean) / std)**2)

ARGS = {
    "x": x,
    "p": p,
    "q": q
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
logsubexp Ran
ran, honoured the contract we drafted
dflemin3/approxposterior/approxposterior/utility.py
code served (permissive licence) · get_code("26944f8d426fd1fb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Test case 1: x1 > x2 (valid case where result is not -inf)
x1_valid = 5.0
x2_valid = 3.0

# Test case 2: x1 <= x2 (boundary case where result is -inf)
x1_invalid = 2.0
x2_invalid = 2.0

# Create ARGS dict with valid inputs
ARGS = {
    "x1": x1_valid,
    "x2": x2_valid,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rosenbrockLnlike Ran
ran, violated the contract we drafted
dflemin3/approxposterior/approxposterior/likelihood.py
code served (permissive licence) · get_code("dfcead43c44688d3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from scipy.optimize import rosen

# The function rosenbrockLnlike takes a single parameter theta
# which is passed to scipy.optimize.rosen()
# rosen expects an array-like object (1D array)

# Create a small test array for theta
theta = np.array([1.0, 2.0, 3.0, 4.0])

ARGS = {
    "theta": theta
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rosenbrockLnprior Ran
ran, honoured the contract we drafted
dflemin3/approxposterior/approxposterior/likelihood.py
code served (permissive licence) · get_code("da6e08d2a6bcd72d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function expects a theta parameter which is an array-like object
# It checks if any element has absolute value > 5
# It returns -inf if out of bounds, 0.0 if in bounds

# Create a valid theta array within the [-5, 5] bounds
theta_valid = np.array([1.0, 2.5, -3.2, 0.5])

ARGS = {
    "theta": theta_valid
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rosenbrockSample Ran
ran, honoured the contract we drafted
dflemin3/approxposterior/approxposterior/likelihood.py
code served (permissive licence) · get_code("bb5488c38e4e2fc0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (5, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    "n": 5,
    "dim": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 2) — shape (5, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
validateMCMCKwargs Ran
ran; our contract draft was wrong, not the code
dflemin3/approxposterior/approxposterior/mcmcUtils.py
code served (permissive licence) · get_code("43ac8a0fc5abfea6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Create a minimal ApproxPosterior stand-in class
class MockApproxPosterior:
    def __init__(self, ndim=4):
        self.ndim = ndim
        
    def _gpll(self, x):
        """Mock log probability function"""
        return np.sum(-0.5 * x**2)
    
    def priorSample(self, nwalkers):
        """Mock prior sampling - returns array of shape (nwalkers, ndim)"""
        return np.random.randn(nwalkers, self.ndim)

# Instantiate the mock ApproxPosterior
torch.manual_seed(0)
np.random.seed(0)
ap = MockApproxPosterior(ndim=4)

# Define samplerKwargs - can be None or a dict with some parameters
samplerKwargs = {
    'nwalkers': 80,
}

# Define mcmcKwargs - can be None or a dict with some parameters
mcmcKwargs = {
    'iterations': 5000,
}

# verbose flag
verbose = True

ARGS = {
    'ap': ap,
    'samplerKwargs': samplerKwargs,
    'mcmcKwargs': mcmcKwargs,
    'verbose': verbose,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
estimateBurnin Not yet run
unverified (harvested, no recorded run)
dflemin3/approxposterior/approxposterior/mcmcUtils.py
code served (permissive licence) · get_code("7e35680d464345d9")
How it ran

no invocation recorded.

optimizeGP Not yet run
unverified (harvested, no recorded run)
dflemin3/approxposterior/approxposterior/gpUtils.py
code served (permissive licence) · get_code("319d023f8c651ea5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We consider Bayesian inference problems with computationally intensive likelihood functions. We propose a Gaussian process (GP) based method to approximate the joint distribution of the unknown parameters and the data. In particular, we write the joint density approximately as a product of an approximate posterior density and an exponentiated GP surrogate. We then provide an adaptive algorithm to construct such an approximation, where an active learning method is used to choose the design points. With numerical examples, we illustrate that the proposed method has competitive performance against existing approaches for Bayesian computation.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1703.09930")
get_code_for_paper("1703.09930")
have("1703.09930")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1703.09930.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1703.09930.svg)](https://syntology.ai/paper/1703.09930)

Connect an agent — have() is free.