Skip to content

Commit aff6db2

Browse files
committed
Fix to MatrixTRV random variable class
1 parent 1a275ad commit aff6db2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dynaml-core/src/main/scala-2.11/io/github/mandar2812/dynaml/probability/StudentsTRV.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@ case class MatrixTRV(
7070
v: DenseMatrix[Double]) extends
7171
AbstractStudentsTRandVar[DenseMatrix[Double]](mu) {
7272

73-
override val underlyingDist = MatrixT(mu, m, u, v)
73+
override val underlyingDist = MatrixT(mu, m, v, u)
7474
}

scripts/kernelModels.sc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import io.github.mandar2812.dynaml.examples.AbottPowerPlant
55

66
implicit val ev = VectorField(24)
77

8-
val kernel = new LaplacianKernel(1.5)
8+
val kernel = new LaplacianKernel(5.5)
99
val other_kernel = new RBFKernel(4.5)
1010
val other_kernel1 = new CauchyKernel(1.0)
1111
val matern = new GenericMaternKernel[DenseVector[Double]](1.0, 2)
@@ -20,7 +20,7 @@ AbottPowerPlant(
2020
other_kernel, noiseKernel)(
2121
deltaT = 3,
2222
opt = Map(
23-
"globalOpt" -> "GS", "grid" -> "2",
23+
"globalOpt" -> "GS", "grid" -> "4",
2424
"step" -> "0.5", "tolerance" -> "0.0001",
2525
"maxIterations" -> "10"),
2626
num_training = 1025, num_test = 1000)

0 commit comments

Comments
 (0)