File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/scala/io/github/mandar2812/dynaml/kernels Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import sbt ._
2- import NativePackagerHelper ._
32import java .io .File
43
54maintainer
:= " Mandar Chandorkar <[email protected] >" @@ -16,7 +15,7 @@ val dataDirectory = settingKey[File]("The directory holding the data files for r
1615lazy val commonSettings = Seq (
1716 name := " DynaML" ,
1817 organization := " io.github.mandar2812" ,
19- version := " v1.4-beta.6 " ,
18+ version := " v1.4-beta.7 " ,
2019 scalaVersion in ThisBuild := " 2.11.7" ,
2120 mainClass in Compile := Some (" io.github.mandar2812.dynaml.DynaML" ),
2221 fork in run := true ,
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ class PolynomialKernel(
3232
3333 override def setHyperParameters (h : Map [String , Double ]) = {
3434 super .setHyperParameters(h)
35- state += (" offset" -> math.abs(h(" offset" )))
35+ if (h contains " offset" )
36+ state += (" offset" -> math.abs(h(" offset" )))
3637 this
3738 }
3839}
You can’t perform that action at this time.
0 commit comments