Skip to content

Commit 169e76f

Browse files
committed
BugFix to CoRegCauchyKernel
1 parent 8eafeaa commit 169e76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynaml-core/src/main/scala-2.11/io/github/mandar2812/dynaml/kernels/CauchyKernel.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CoRegCauchyKernel(bandwidth: Double) extends LocalSVMKernel[Int] {
4848

4949
override val hyper_parameters: List[String] = List("coRegSigma")
5050

51-
state = Map("coRegLB" -> bandwidth)
51+
state = Map("coRegSigma" -> bandwidth)
5252

5353
override def gradient(x: Int, y: Int): Map[String, Double] =
5454
Map("CoRegSigma" -> 2.0*math.pow(evaluate(x,y), 2)*math.pow(x-y, 2)/math.pow(state("CoRegSigma"), 3))

0 commit comments

Comments
 (0)