object Utils
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Utils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class TreeLSTMSentimentParam(baseDir: String = "/tmp/.bigdl/dataset/", batchSize: Int = 128, hiddenSize: Int = 250, learningRate: Double = 0.05, regRate: Double = 1e-4, p: Double = 0.5, epoch: Int = 5, optimizerVersion: Option[String] = None) extends AbstractTextClassificationParams with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadEmbeddingAndVocabulary(sc: SparkContext, w2vPath: String, vocabPath: String, indexFrom: Int): (Tensor[Float], Map[String, Int])
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val paramParser: OptionParser[TreeLSTMSentimentParam]
- def preProcessData(sc: SparkContext, vocabBC: Broadcast[Map[String, Int]], oovChar: Int, treePath: String, labelPath: String, sentencePath: String): (RDD[Tensor[Float]], RDD[Array[Float]], RDD[Array[Int]])
- def readTree(parents: Array[Int]): Tensor[Float]
- def remapLabel(label: Float): Float
- def reverse[D](arr: Array[D], l: Int, r: Int): Unit
-
def
rotate[D](arr: Array[D], offset: Int): Array[D]
Rotate an array
arrfromoffsetdistance to the endRotate an array
arrfromoffsetdistance to the end- arr
Given array
- offset
right rotate how many elements
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toSample(treeRDD: RDD[Tensor[Float]], labelRDD: RDD[Array[Float]], sentenceRDD: RDD[Array[Int]]): RDD[Sample[Float]]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )