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

epic.features.package.scala Maven / Gradle / Ivy

The newest version!
package epic

import breeze.util.Index

/**
 * TODO
 *
 * @author dlwh
 **/
package object features {

  def buildNonRedundantFeatureIndex[T, F](it: TraversableOnce[T], gen: T=>TraversableOnce[F]):Index[F] = {
    val builder = new NonRedundantIndexBuilder[F]
    for(x <- it) {
      builder.add(gen(x))
    }

    builder.result()
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy