All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.csiro.variantspark.utils.CV.scala Maven / Gradle / Ivy

The newest version!
package au.csiro.variantspark.utils

object CV {

  type Model = Projector => Double

  def evaluateMean(folds: List[Projector])(m: Model): Double = {
    val foldResults: List[Double] = folds.map(f => m(f))
    foldResults.sum / foldResults.size
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy