Class/Object

com.salesforce.op.stages.impl.tuning

DataSplitter

Related Docs: object DataSplitter | package tuning

Permalink

class DataSplitter extends Splitter

Instance that will split the data into training and holdout for regressions

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

Instance Constructors

  1. new DataSplitter(uid: String = UID[DataSplitter])

    Permalink

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[_]): DataSplitter.this.type

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

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

    Permalink
    Definition Classes
    DataSplitter → Params
  9. def copyValues[T <: Params](to: T, extra: ParamMap): T

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  23. def getReserveTestFraction: Double

    Permalink
    Definition Classes
    SplitterParams
  24. def getSeed: Long

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  35. 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

    Definition Classes
    DataSplitterSplitter
  36. 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
  37. final val seed: LongParam

    Permalink

    Seed for data splitting

    Seed for data splitting

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

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

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

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

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

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

    Permalink
    Definition Classes
    SplitterParams
  44. def setSeed(value: Long): DataSplitter.this.type

    Permalink
    Definition Classes
    SplitterParams
  45. 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)

    Definition Classes
    Splitter
  46. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

Inherited from Splitter

Inherited from SplitterParams

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

param

Ungrouped