Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lmath committed Mar 21, 2019
1 parent b3a525a commit 15a0f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/main/scala/util/FeatureScalerTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class FeatureScalerTest extends Specification {
}
}

Still deciding if to include this later. igtnor
"minMaxScaledData" should {
"scale the data" in {
val inputData = List(
Expand Down
4 changes: 2 additions & 2 deletions test/main/scala/util/LinearErrorCalculatorTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class LinearErrorCalculatorTest extends Specification {
)

val data = expected.map(dataPoint => SimplePoint(dataPoint.height, dataPoint.weight))
val gmm: Double = LinearErrorCalculator.linearMeanSquaredError(data, 1, 1)
val linearMeanSquaredError: Double = LinearErrorCalculator.linearMeanSquaredError(data, 1, 1)

gmm shouldEqual(4212.5)
linearMeanSquaredError shouldEqual(4212.5)
}

}
Expand Down

0 comments on commit 15a0f3a

Please sign in to comment.