au.csiro.variantspark.algo.GiniImpurity.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.algo
import au.csiro.variantspark.algo.impurity.GiniImpurityAggregator
/**
* Gini impurity measure
*/
case object GiniImpurity extends ClassficationImpurity {
def createAggregator(nCategories: Int): ClassificationImpurityAggregator =
new GiniImpurityAggregator(nCategories)
}