org.apache.spark.streamdm.streams.generators

RandomTreeGenerator

class RandomTreeGenerator extends Generator with Logging

Stream generator for generating data from a randomly generated tree.

It uses the following options:

Linear Supertypes
Logging, Generator, StreamReader, Configurable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RandomTreeGenerator
  2. Logging
  3. Generator
  4. StreamReader
  5. Configurable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomTreeGenerator()

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. val chunkSizeOption: IntOption

  8. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val firstLeafLevelOption: IntOption

  13. def generateRandomTree(): Unit

  14. def generateRandomTreeNode(currentDepth: Int, nominalFeatureCandidates: List[Int], minNumericVals: Array[Double], maxNumericVals: Array[Double]): Node

  15. def getChunkSize(): Int

    returns chunk size

    returns chunk size

    Definition Classes
    RandomTreeGeneratorGenerator
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def getExample(): Example

    generates a random example.

    generates a random example.

    returns

    a random example

    Definition Classes
    RandomTreeGeneratorGenerator
  18. def getExampleSpecification(): ExampleSpecification

    Obtains the specification of the examples in the stream

    Obtains the specification of the examples in the stream

    returns

    an specification of the examples

    Definition Classes
    RandomTreeGeneratorStreamReader
  19. def getExamples(length: Int = getChunkSize()): Array[Example]

    obtains an array of examples

    obtains an array of examples

    length

    size of the array; default chunkSizeOption.getValue

    returns

    an array of Examples

    Definition Classes
    Generator
  20. def getExamples(ssc: StreamingContext): DStream[Example]

    Obtains a stream of random examples.

    Obtains a stream of random examples.

    ssc

    a Spark Streaming context

    returns

    a stream of Examples

    Definition Classes
    GeneratorStreamReader
  21. def getLabel(node: Node, featureVals: Array[Double]): Int

  22. def getslideDuration(): Int

    returns slide duration

    returns slide duration

    Definition Classes
    RandomTreeGeneratorGenerator
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def init(): Unit

    initializes the generator

    initializes the generator

    Definition Classes
    RandomTreeGeneratorGenerator
  25. var inited: Boolean

    Definition Classes
    Generator
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  28. val leafFractionOption: FloatOption

  29. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  32. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  34. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  35. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  36. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  37. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  38. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. val maxTreeDepthOption: IntOption

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

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

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

    Definition Classes
    AnyRef
  45. val numClassesOption: IntOption

  46. val numFeaturesOption: IntOption

  47. val numNominalsOption: IntOption

  48. val numNumericsOption: IntOption

  49. val numValsPerNominalOption: IntOption

  50. val slideDurationOption: IntOption

  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. var treeRoot: Node

  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from Generator

Inherited from StreamReader

Inherited from Configurable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped