SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1711.03845 · 2017

GPflowOpt: A Bayesian Optimization Library using TensorFlow

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 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/1711.03845.json · badge: /api/ran/1711.03845.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
GPflow/GPflowOpt community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
FunctionStatusWhere it lives
batch_apply Ran
ran; our contract draft was wrong, not the code
GPflow/GPflowOpt/gpflowopt/objective.py
code served (permissive licence) · get_code("e79f621ce2916f9e")
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 function. 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 functools import wraps

def batch_apply(fun):
    """
    Decorator which applies a function along the first dimension of a given data matrix (the batch dimension).
    
    The most common use case is to convert a function designed to operate on a single input vector, and
    to compute its response (and possibly gradient) for each row of a matrix.

    :param fun: function accepting an input vector of size D and returns a vector of size R (number of 
        outputs) and (optionally) a gradient of size D x R (or size D if R == 1)
    :return: a function wrapper which calls fun on each row of a given N* x D matrix. Here N* represents the batch
        dimension. The wrapper returns N* x R and optionally a matrix, size N* x D x R matrix (or size N* x D if R == 1)
    """

    @wraps(fun)
    def batch_wrapper(X):
        responses = (fun(x) for x in np.atleast_2d(X))
        sep = tuple(zip(*(r if isinstance(r, tuple) else (r,) for r in responses)))
        f = np.vstack(sep[0])
        if len(sep) == 1:
            return f
        g_stacked = np.stack((r for r in sep[1]), axis=0)
        g = np.squeeze(g_stacked, axis=2) if len(g_stacked.shape) == 3 and g_stacked.shape[2] == 1 else g_stacked
        return (f, g)
    return batch_wrapper


# Define a simple function that operates on a single input vector
# and returns both a response and a gradient
def simple_function(x):
    # x is a 1D vector of size D
    # Returns: response (size R=3) and gradient (size D x R)
    response = np.array([np.sum(x), np.mean(x), np.max(x)])
    gradient = np.tile(x[:, np.newaxis], (1, 3))  # D x 3
    return (response, gradient)


ARGS = {
    'fun': simple_function
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
non_dominated_sort Ran
ran; our contract draft was wrong, not the code
GPflow/GPflowOpt/gpflowopt/pareto.py
code served (permissive licence) · get_code("ff4f6c3baee481fa")
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. 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

# Create a small set of objective vectors for multi-objective optimization
# Shape: (num_points, num_objectives)
# We'll create 4 data points with 3 objectives each
objectives = np.array([
    [1.0, 2.0, 3.0],
    [2.0, 1.0, 2.0],
    [3.0, 3.0, 1.0],
    [1.5, 1.5, 1.5]
], dtype=np.float32)

ARGS = {
    "objectives": objectives
}
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 tuple — a tuple output has no array shape of its own; none is 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
to_args Ran
ran; our contract draft was wrong, not the code
GPflow/GPflowOpt/gpflowopt/objective.py
code served (permissive licence) · get_code("87d77d1694f63046")
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 function. 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 functools import wraps

def to_args(fun):
    """
    Decorator for calling an objective function which has each feature as separate input parameter.
    
    The data matrix is split column wise and passed as arguments. Can be combined with batch apply.
    
    :param fun: function accepting D N*-dimensional vectors (each representing a feature and returns a a matrix of
        size N* x R and optionally a gradient of size N x D x R (or size N x D if R == 1)
    :return: a function wrapper which splits a given data matrix into its columns to call fun.
    """

    @wraps(fun)
    def args_wrapper(X):
        X = np.atleast_2d(X)
        return fun(*X.T)
    return args_wrapper


# Create a simple objective function that accepts D separate feature vectors
def simple_objective(*feature_vectors):
    """
    Accept D feature vectors and return a result matrix.
    Each feature_vector has shape (N,) where N is number of samples.
    Returns a matrix of shape N x R.
    """
    # Stack feature vectors into a matrix of shape (N, D)
    stacked = np.column_stack(feature_vectors)
    N = stacked.shape[0]
    # Return a simple result matrix of shape N x 2
    return np.ones((N, 2))


ARGS = {
    'fun': simple_objective
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 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 3 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

A novel Python framework for Bayesian optimization known as GPflowOpt is introduced. The package is based on the popular GPflow library for Gaussian processes, leveraging the benefits of TensorFlow including automatic differentiation, parallelization and GPU computations for Bayesian optimization. Design goals focus on a framework that is easy to extend with custom acquisition functions and models. The framework is thoroughly tested and well documented, and provides scalability. The current released version of GPflowOpt includes some standard single-objective acquisition functions, the state-of-the-art max-value entropy search, as well as a Bayesian multi-objective approach. Finally, it permits easy use of custom modeling strategies implemented in GPflow.

For agents

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

get_harvested_code_for_paper("1711.03845")
get_code_for_paper("1711.03845")
have("1711.03845")

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

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

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

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

Connect an agent — have() is free.