org.apache.spark.ml.odkl.texts

EWStatsTransformer

class EWStatsTransformer extends Transformer with Params with DefaultParamsWritable

Created by eugeny.malyutin on 06.05.16. implementation of continuously EWMA/EWMVar(Exponential-Weighted)/Sig(~=z-score) updater as mllib Transformer Term, newFreq, oldEWMA,oldEWMVar -> EWStruct(newEWMA, newEWMVar, Sig)

Formulas comes from here: T. Finch. Incremental calculation of weighted mean and variance. Technical report, University of Cambridge, 2009.

Linear Supertypes
DefaultParamsWritable, MLWritable, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EWStatsTransformer
  2. DefaultParamsWritable
  3. MLWritable
  4. Transformer
  5. PipelineStage
  6. Logging
  7. Params
  8. Serializable
  9. Serializable
  10. Identifiable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EWStatsTransformer()

  2. new EWStatsTransformer(uid: String)

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 $[T](param: Param[T]): T

    Attributes
    protected
    Definition Classes
    Params
  5. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. val alpha: DoubleParam

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val beta: DoubleParam

  10. final def clear(param: Param[_]): EWStatsTransformer.this.type

    Definition Classes
    Params
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def copy(extra: ParamMap): Transformer

    Definition Classes
    EWStatsTransformer → Transformer → PipelineStage → Params
  13. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  14. def dayStatsComputing(dfJoinedOld: DataFrame): DataFrame

  15. final def defaultCopy[T <: Params](extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def explainParam(param: Param[_]): String

    Definition Classes
    Params
  19. def explainParams(): String

    Definition Classes
    Params
  20. final def extractParamMap(): ParamMap

    Definition Classes
    Params
  21. final def extractParamMap(extra: ParamMap): ParamMap

    Definition Classes
    Params
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def get[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  24. def getAlpha: Double

  25. def getBeta: Double

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

    Definition Classes
    AnyRef → Any
  27. final def getDefault[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  28. final def getOrDefault[T](param: Param[T]): T

    Definition Classes
    Params
  29. def getParam(paramName: String): Param[Any]

    Definition Classes
    Params
  30. final def hasDefault[T](param: Param[T]): Boolean

    Definition Classes
    Params
  31. def hasParam(paramName: String): Boolean

    Definition Classes
    Params
  32. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  33. val inputFreqColName: Param[String]

  34. val inputOldTermColName: Param[String]

  35. val inputTermColName: Param[String]

  36. final def isDefined(param: Param[_]): Boolean

    Definition Classes
    Params
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. final def isSet(param: Param[_]): Boolean

    Definition Classes
    Params
  39. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  40. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  47. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  52. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  53. val newEWStructColName: Param[String]

  54. val newWordsEWMA: Param[String]

  55. final def notify(): Unit

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

    Definition Classes
    AnyRef
  57. val oldEWStructColName: Param[String]

  58. val oldTimestmapColName: Param[String]

  59. lazy val params: Array[Param[_]]

    Definition Classes
    Params
  60. def save(path: String): Unit

    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  61. final def set(paramPair: ParamPair[_]): EWStatsTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  62. final def set(param: String, value: Any): EWStatsTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  63. final def set[T](param: Param[T], value: T): EWStatsTransformer.this.type

    Definition Classes
    Params
  64. def setAlpha(value: Double): EWStatsTransformer.this.type

  65. def setBeta(value: Double): EWStatsTransformer.this.type

  66. final def setDefault(paramPairs: ParamPair[_]*): EWStatsTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  67. final def setDefault[T](param: Param[T], value: T): EWStatsTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  68. def setInputFreqColName(value: String): EWStatsTransformer.this.type

  69. def setInputTermColName(value: String): EWStatsTransformer.this.type

  70. def setNewEWStructColName(value: String): EWStatsTransformer.this.type

  71. def setNewWordsEWMA(value: String): EWStatsTransformer.this.type

  72. def setOldEWStructColName(value: String): EWStatsTransformer.this.type

  73. def setOldTermColName(value: String): EWStatsTransformer.this.type

  74. def setOldTimestampColName(value: String): EWStatsTransformer.this.type

  75. def setTimestampColName(value: String): EWStatsTransformer.this.type

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

    Definition Classes
    AnyRef
  77. val timestmapColName: Param[String]

  78. def toString(): String

    Definition Classes
    Identifiable → AnyRef → Any
  79. def transform(dataset: DataFrame): DataFrame

    Definition Classes
    EWStatsTransformer → Transformer
  80. def transform(dataset: DataFrame, paramMap: ParamMap): DataFrame

    Definition Classes
    Transformer
  81. def transform(dataset: DataFrame, firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Definition Classes
    Transformer
    Annotations
    @varargs()
  82. def transformSchema(schema: StructType): StructType

    Definition Classes
    EWStatsTransformer → PipelineStage
    Annotations
    @DeveloperApi()
  83. def transformSchema(schema: StructType, logging: Boolean): StructType

    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  84. val uid: String

    Definition Classes
    EWStatsTransformer → Identifiable
  85. def validateParams(): Unit

    Definition Classes
    Params
  86. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. def write: MLWriter

    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

setParam

Ungrouped