org.apache.spark.streamdm.streams.generators

HyperplaneGenerator

class HyperplaneGenerator extends Generator

Stream generator for generating data from a hyperplane.

It uses the following options:

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

Instance Constructors

  1. new HyperplaneGenerator()

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 bias: Double

  8. val chunkSizeOption: IntOption

  9. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def getChunkSize(): Int

    returns chunk size

    returns chunk size

    Definition Classes
    HyperplaneGeneratorGenerator
  14. final def getClass(): Class[_]

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

    generates a random example.

    generates a random example.

    returns

    a random example

    Definition Classes
    HyperplaneGeneratorGenerator
  16. def getExampleSpecification(): ExampleSpecification

    Obtains the specification of the examples in the stream.

    Obtains the specification of the examples in the stream.

    returns

    an ExampleSpecification of the examples

    Definition Classes
    HyperplaneGeneratorStreamReader
  17. 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
  18. 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
  19. def getNoise(): Double

  20. def getRandomNumber(): Double

  21. def getslideDuration(): Int

    returns slide duration

    returns slide duration

    Definition Classes
    HyperplaneGeneratorGenerator
  22. def hashCode(): Int

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

    initializes the generator

    initializes the generator

    Definition Classes
    HyperplaneGeneratorGenerator
  24. var inited: Boolean

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

    Definition Classes
    Any
  26. def label(inputInstance: Instance): Double

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

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

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

    Definition Classes
    AnyRef
  30. val numFeaturesOption: IntOption

  31. val slideDurationOption: IntOption

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. val weight: DenseInstance

Inherited from Generator

Inherited from StreamReader

Inherited from Configurable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped