Class/Object

com.microsoft.ml.spark.train

TrainRegressor

Related Docs: object TrainRegressor | package train

Permalink

class TrainRegressor extends Estimator[TrainedRegressorModel] with AutoTrainer[TrainedRegressorModel]

Trains a regression model.

Annotations
@InternalWrapper()
Linear Supertypes
AutoTrainer[TrainedRegressorModel], HasFeaturesCol, ComplexParamsWritable, MLWritable, HasLabelCol, Wrappable, Estimator[TrainedRegressorModel], PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrainRegressor
  2. AutoTrainer
  3. HasFeaturesCol
  4. ComplexParamsWritable
  5. MLWritable
  6. HasLabelCol
  7. Wrappable
  8. Estimator
  9. PipelineStage
  10. Logging
  11. Params
  12. Serializable
  13. Serializable
  14. Identifiable
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TrainRegressor()

    Permalink
  2. new TrainRegressor(uid: String)

    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. def additionalPythonMethods(): String

    Permalink
    Definition Classes
    Wrappable
  6. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    TrainRegressor → Estimator → PipelineStage → Params
  10. def copyValues[T <: Params](to: T, extra: ParamMap): T

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  18. val featuresCol: Param[String]

    Permalink

    The name of the features column

    The name of the features column

    Definition Classes
    HasFeaturesCol
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def fit(dataset: Dataset[_]): TrainedRegressorModel

    Permalink

    Fits the regression model.

    Fits the regression model.

    dataset

    The input dataset to train.

    returns

    The trained regression model.

    Definition Classes
    TrainRegressor → Estimator
  21. def fit(dataset: Dataset[_], paramMaps: Array[ParamMap]): Seq[TrainedRegressorModel]

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  22. def fit(dataset: Dataset[_], paramMap: ParamMap): TrainedRegressorModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  23. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): TrainedRegressorModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" ) @varargs()
  24. final def get[T](param: Param[T]): Option[T]

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

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

    Permalink
    Definition Classes
    Params
  27. def getFeaturesCol: String

    Permalink

    Definition Classes
    HasFeaturesCol
  28. def getLabelCol: String

    Permalink

    Definition Classes
    HasLabelCol
  29. def getModel: Estimator[_ <: Model[_]]

    Permalink

    Definition Classes
    AutoTrainer
  30. def getNumFeatures: Int

    Permalink

    Definition Classes
    AutoTrainer
  31. final def getOrDefault[T](param: Param[T]): T

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. final def isDefined(param: Param[_]): Boolean

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

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

    Permalink
    Definition Classes
    Params
  41. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  42. val labelCol: Param[String]

    Permalink

    The name of the label column

    The name of the label column

    Definition Classes
    HasLabelCol
  43. def log: Logger

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  50. def logName: String

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  55. val model: EstimatorParam

    Permalink

    Model to run.

    Model to run. See doc on derived classes.

    Definition Classes
    AutoTrainer
  56. def modelDoc: String

    Permalink

    Doc for model to run.

    Doc for model to run.

    Definition Classes
    TrainRegressorAutoTrainer
  57. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  60. val numFeatures: IntParam

    Permalink

    Number of features to hash to

    Number of features to hash to

    Definition Classes
    AutoTrainer
  61. lazy val params: Array[Param[_]]

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  68. def setFeaturesCol(value: String): TrainRegressor.this.type

    Permalink

    Definition Classes
    HasFeaturesCol
  69. def setLabelCol(value: String): TrainRegressor.this.type

    Permalink

    Definition Classes
    HasLabelCol
  70. def setModel(value: Estimator[_ <: Model[_]]): TrainRegressor.this.type

    Permalink

    Definition Classes
    AutoTrainer
  71. def setNumFeatures(value: Int): TrainRegressor.this.type

    Permalink

    Definition Classes
    AutoTrainer
  72. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  74. def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    TrainRegressor → PipelineStage
    Annotations
    @DeveloperApi()
  75. def transformSchema(schema: StructType, logging: Boolean): StructType

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

    Permalink
    Definition Classes
    TrainRegressor → Identifiable
  77. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from HasFeaturesCol

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from HasLabelCol

Inherited from Wrappable

Inherited from Estimator[TrainedRegressorModel]

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

param

setParam

Ungrouped