Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions smac/model/gaussian_process/mcmc_gaussian_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def _train(
warnings.filterwarnings("ignore", r"invalid value encountered in double_scalars.*")
self.p0, _, _ = sampler.run_mcmc(self.p0, self._burning_steps)

self.burned = True
self._burned = True

# Start sampling & save the current position, it will be the start point in the next iteration
with warnings.catch_warnings():
Expand All @@ -210,7 +210,7 @@ def _train(
import nuts.nuts # type: ignore

# Perform initial fit to the data to obtain theta0
if not self.burned:
if not self._burned:
theta0 = self._gp.kernel.theta
self._burned = True
else:
Expand Down