com.intel.analytics.bigdl.example.udfpredictor

Utils

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
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def genUdf(sc: SparkContext, model: Model, sampleShape: Array[Int], word2Index: Word2Index, word2Vec: Word2Vec)(implicit ev: TensorNumeric[Float]): (String) ⇒ Int

  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getModel(sc: SparkContext, param: TFP): (Model, Option[Word2Meta], Option[Word2Vec], SampleShape)

  14. def getResourcePath(resource: String): String

  15. def getTextClassifier(param: TextClassificationUDFParams): TextClassifier

  16. def getWord2Vec(word2Index: Map[String, Int]): Map[Float, Array[Float]]

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def loadTestData(testDir: String): IndexedSeq[Sample]

  20. val localParser: OptionParser[TextClassificationUDFParams]

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped