au.csiro.variantspark.utils.CV.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of variant-spark_2.11 Show documentation
Show all versions of variant-spark_2.11 Show documentation
Genomic variants interpretation toolkit
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
}
}