org.apache.spark.streamdm.streams.generators

RandomRBFGenerator

class RandomRBFGenerator extends Generator

RandomRBFGenerator generates via radial basis function.

It uses the following options:

Linear Supertypes
Generator, StreamReader, Configurable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RandomRBFGenerator
  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 RandomRBFGenerator()

Type Members

  1. class Centroid extends Serializable

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 centroidWeights: Array[Double]

  8. val centroids: Array[Centroid]

  9. def chooseRandomIndexBasedOnWeights(weights: Array[Double], random: Random): Int

    choose an index of the weight array randomly.

    choose an index of the weight array randomly.

    weights

    Weight Array

    random

    Random value generator

    returns

    an index of the weight array

  10. val chunkSizeOption: IntOption

  11. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def generateCentroids(): Unit

  16. def getChunkSize(): Int

    returns chunk size

    returns chunk size

    Definition Classes
    RandomRBFGeneratorGenerator
  17. final def getClass(): Class[_]

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

    Get a single example.

    Get a single example.

    returns

    an example

    Definition Classes
    RandomRBFGeneratorGenerator
  19. 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 features

    Definition Classes
    RandomRBFGeneratorStreamReader
  20. 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
  21. 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
  22. def getslideDuration(): Int

    returns slide duration

    returns slide duration

    Definition Classes
    RandomRBFGeneratorGenerator
  23. def hashCode(): Int

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

    initializes the generator

    initializes the generator

    Definition Classes
    RandomRBFGeneratorGenerator
  25. var inited: Boolean

    Definition Classes
    Generator
  26. val instanceRandom: Random

  27. val instanceRandomSeedOption: IntOption

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. val modelRandomSeedOption: IntOption

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

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

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

    Definition Classes
    AnyRef
  33. val numCentroidsOption: IntOption

  34. val numClassesOption: IntOption

  35. val numFeaturesOption: IntOption

  36. val slideDurationOption: IntOption

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Generator

Inherited from StreamReader

Inherited from Configurable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped