Class

com.salesforce.op.stages.impl.tuning

Splitter

Related Doc: package tuning

Permalink

abstract class Splitter extends SplitterParams

Abstract class that will carry on the creation of training set + test set

Linear Supertypes
SplitterParams, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Splitter
  2. SplitterParams
  3. Params
  4. Serializable
  5. Serializable
  6. Identifiable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Splitter(uid: String)

    Permalink

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params

    Permalink
    Definition Classes
    Params
  2. abstract def prepare(data: Dataset[Row]): ModelData

    Permalink

    Function to use to prepare the dataset for modeling eg - do data balancing or dropping based on the labels

    Function to use to prepare the dataset for modeling eg - do data balancing or dropping based on the labels

    returns

    Training set test set

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def clear(param: Param[_]): Splitter.this.type

    Permalink
    Definition Classes
    Params
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  9. final def defaultCopy[T <: Params](extra: ParamMap): T

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

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

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

    Permalink
    Definition Classes
    Params
  13. def explainParams(): String

    Permalink
    Definition Classes
    Params
  14. final def extractParamMap(): ParamMap

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

    Permalink
    Definition Classes
    Params
  16. def finalize(): Unit

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

    Permalink
    Definition Classes
    Params
  18. final def getClass(): Class[_]

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

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

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

    Permalink
    Definition Classes
    Params
  22. def getReserveTestFraction: Double

    Permalink
    Definition Classes
    SplitterParams
  23. def getSeed: Long

    Permalink
    Definition Classes
    SplitterParams
  24. final def hasDefault[T](param: Param[T]): Boolean

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

    Permalink
    Definition Classes
    Params
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isDefined(param: Param[_]): Boolean

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

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

    Permalink
    Definition Classes
    Params
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  34. final val reserveTestFraction: DoubleParam

    Permalink

    Fraction of data to reserve for test Default is 0.1

    Fraction of data to reserve for test Default is 0.1

    Definition Classes
    SplitterParams
  35. final val seed: LongParam

    Permalink

    Seed for data splitting

    Seed for data splitting

    Definition Classes
    SplitterParams
  36. final def set(paramPair: ParamPair[_]): Splitter.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  37. final def set(param: String, value: Any): Splitter.this.type

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

    Permalink
    Definition Classes
    Params
  39. final def setDefault(paramPairs: ParamPair[_]*): Splitter.this.type

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  41. def setReserveTestFraction(value: Double): Splitter.this.type

    Permalink
    Definition Classes
    SplitterParams
  42. def setSeed(value: Long): Splitter.this.type

    Permalink
    Definition Classes
    SplitterParams
  43. def split[T](data: Dataset[T]): (Dataset[T], Dataset[T])

    Permalink

    Function to use to create the training set and test set.

    Function to use to create the training set and test set.

    returns

    (dataTrain, dataTest)

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

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  46. val uid: String

    Permalink
    Definition Classes
    Splitter → Identifiable
  47. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SplitterParams

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

param

Ungrouped