Class/Object

ai.deepsense.deeplang.params.wrappers.spark

IntParamWrapper

Related Docs: object IntParamWrapper | package spark

Permalink

class IntParamWrapper[P <: org.apache.spark.ml.param.Params] extends NumericParam with SparkParamWrapper[P, Int, Double]

Linear Supertypes
SparkParamWrapper[P, Int, Double], NumericParam, Serializable, Serializable, Product, Equals, HasValidator[Double], ParamWithJsFormat[Double], Param[Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntParamWrapper
  2. SparkParamWrapper
  3. NumericParam
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. HasValidator
  9. ParamWithJsFormat
  10. Param
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntParamWrapper(name: String, description: Option[String], sparkParamGetter: (P) ⇒ IntParam, validator: Validator[Double] = ...)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ->(value: Double): ParamPair[Double]

    Permalink
    Definition Classes
    Param
  4. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  6. def canEqual(other: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def constraints: String

    Permalink
    Definition Classes
    HasValidatorParam
  9. def convert(value: Double)(schema: StructType): Int

    Permalink

    Convert deeplang parameter value to wrapped Spark parameter value.

    Convert deeplang parameter value to wrapped Spark parameter value.

    value

    deeplang parameter value

    schema

    DataFrame schema, used in column selectors to extract column names

    returns

    Spark parameter value

    Definition Classes
    IntParamWrapperSparkParamWrapper
  10. def convertAny(value: Any)(schema: StructType): Int

    Permalink
    Definition Classes
    SparkParamWrapper
  11. val description: Option[String]

    Permalink
    Definition Classes
    IntParamWrapperNumericParamParam
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Param → AnyRef → Any
  14. def extraJsFields: Map[String, JsValue]

    Permalink

    Subclasses should overwrite this method if they want to add custom fields to json description.

    Subclasses should overwrite this method if they want to add custom fields to json description.

    Attributes
    protected
    Definition Classes
    HasValidatorParam
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    Param → AnyRef → Any
  18. val isGriddable: Boolean

    Permalink
    Definition Classes
    NumericParamParam
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val name: String

    Permalink
    Definition Classes
    IntParamWrapperNumericParamParam
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def nestedWrappers: Seq[SparkParamWrapper[_, _, _]]

    Permalink

    returns

    Wrappers for nested parameters

    Definition Classes
    SparkParamWrapper
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. val parameterType: ParameterType.Value

    Permalink
    Definition Classes
    NumericParamParam
  26. def replicate(name: String): IntParamWrapper[P]

    Permalink

    Used to extract public parameters in custom transformer.

    Used to extract public parameters in custom transformer.

    name

    name of replicated parameter

    returns

    replicated parameter

    Definition Classes
    IntParamWrapperNumericParamParam
  27. def serializeDefault(default: Double): JsValue

    Permalink

    Describes default serialization of default values.

    Describes default serialization of default values.

    default

    Default value of parameter

    Attributes
    protected
    Definition Classes
    Param
  28. def sparkParam(sparkEntity: org.apache.spark.ml.param.Params): org.apache.spark.ml.param.Param[Int]

    Permalink

    This method extracts wrapped Spark parameter from Params, using a function defined as sparkParamGetter.

    This method extracts wrapped Spark parameter from Params, using a function defined as sparkParamGetter. The method is used in ParamsWithSparkWrappers to get parameter values.

    sparkEntity

    Spark params

    returns

    Wrapped Spark parameter

    Definition Classes
    SparkParamWrapper
  29. val sparkParamGetter: (P) ⇒ IntParam

    Permalink

    This function should extract wrapped parameter from Spark params of type P.

    This function should extract wrapped parameter from Spark params of type P.

    Definition Classes
    IntParamWrapperSparkParamWrapper
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. final def toJson(maybeDefault: Option[Any]): JsObject

    Permalink

    Describes json representation of this parameter.

    Describes json representation of this parameter.

    maybeDefault

    Optional default value of parameter. Should be of type Option[T], but we need to receive Any because Params have to use this method without knowing T.

    Definition Classes
    Param
  32. def toString(): String

    Permalink
    Definition Classes
    Param → AnyRef → Any
  33. def validate(value: Double): Vector[DeepLangException]

    Permalink
    Definition Classes
    HasValidatorParam
  34. val validator: Validator[Double]

    Permalink
    Definition Classes
    IntParamWrapperNumericParamHasValidator
  35. def valueFromJson(jsValue: JsValue, graphReader: GraphReader): Double

    Permalink
    Definition Classes
    ParamWithJsFormatParam
  36. def valueToJson(value: Double): JsValue

    Permalink
    Definition Classes
    ParamWithJsFormatParam
  37. final def wait(): Unit

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

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

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

Inherited from SparkParamWrapper[P, Int, Double]

Inherited from NumericParam

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasValidator[Double]

Inherited from ParamWithJsFormat[Double]

Inherited from Param[Double]

Inherited from AnyRef

Inherited from Any

Ungrouped