Packages

object Utils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Utils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Model = AbstractModule[Activity, Activity, Float]
  2. case class Sample(filename: String, text: String) extends Product with Serializable
  3. type SampleShape = Array[Int]
  4. type TFP = TextClassificationUDFParams
  5. type Word2Index = Map[String, Int]
  6. type Word2Meta = Map[String, WordMeta]
  7. type Word2Vec = Map[Float, Array[Float]]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def genUdf(sc: SparkContext, model: Model, sampleShape: Array[Int], word2Index: Word2Index, word2Vec: Word2Vec)(implicit ev: TensorNumeric[Float]): (String) ⇒ Int
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getModel(sc: SparkContext, param: TFP): (Model, Option[Word2Meta], Option[Word2Vec], SampleShape)
  12. def getResourcePath(resource: String): String
  13. def getTextClassifier(param: TextClassificationUDFParams): TextClassifier
  14. def getWord2Vec(word2Index: Map[String, Int]): Map[Float, Array[Float]]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def loadTestData(testDir: String): IndexedSeq[Sample]
  18. val localParser: OptionParser[TextClassificationUDFParams]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped