MCPcopy
hub / github.com/GPflow/GPflow / create_model

Function create_model

tests/gpflow/utilities/test_traversal.py:93–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92
93def create_model() -> gpflow.models.GPModel:
94 kernel = create_kernel()
95 model = gpflow.models.SVGP(
96 kernel=kernel,
97 likelihood=gpflow.likelihoods.Gaussian(variance_lower_bound=0.0),
98 inducing_variable=Data.Z,
99 q_diag=True,
100 )
101 set_trainable(model.q_mu, False)
102 return model
103
104
105# ------------------------------------------

Callers 3

dag_moduleFunction · 0.70
test_infer_noiseFunction · 0.50

Calls 2

set_trainableFunction · 0.90
create_kernelFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…