Skip to content

Commit c293e98

Browse files
committed
Housekeeping: stochastic priors script
1 parent e414c73 commit c293e98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/stochasticPriors.sc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ val sgpModel = sgp_prior.posteriorModel(dataset)
5959

6060
gp_prior.globalOptConfig_(Map("gridStep" -> "0.0", "gridSize" -> "1", "globalOpt" -> "GS", "policy" -> "GS"))
6161
val gpModel1 = gp_prior.posteriorModel(dataset)
62+
6263
val mixt_machine = new ProbGPMixtureMachine(gpModel1)
64+
.setGridSize(2)
65+
.setStepSize(0.75)
66+
.setLogScale(true)
67+
.setMaxIterations(30)
68+
6369
val (mix_model, _) = mixt_machine.optimize(gp_prior.covariance.state ++ gp_prior.noiseCovariance.state)
6470

6571

0 commit comments

Comments
 (0)