Class

ai.deepsense.deeplang.doperables

SparkModelWrapper

Related Doc: package doperables

Permalink

abstract class SparkModelWrapper[M <: org.apache.spark.ml.Model[M], E <: org.apache.spark.ml.Estimator[M]] extends Transformer with ParamsWithSparkWrappers

Wrapper for creating deeplang Transformers from spark.ml Models. It is parametrized by model and estimator types, because these entities are tightly coupled.

Every SparkModelWrapper should have a no-arg constructor.

M

type of wrapped ml.Model

E

type of wrapped ml.Estimator

Linear Supertypes
ParamsWithSparkWrappers, Transformer, Loadable, ParamsSerialization, Params, Logging, DefaultJsonProtocol, AdditionalFormats, ProductFormats, ProductFormatsInstances, CollectionFormats, StandardFormats, BasicFormats, Serializable, Serializable, DOperable, HasInferenceResult, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkModelWrapper
  2. ParamsWithSparkWrappers
  3. Transformer
  4. Loadable
  5. ParamsSerialization
  6. Params
  7. Logging
  8. DefaultJsonProtocol
  9. AdditionalFormats
  10. ProductFormats
  11. ProductFormatsInstances
  12. CollectionFormats
  13. StandardFormats
  14. BasicFormats
  15. Serializable
  16. Serializable
  17. DOperable
  18. HasInferenceResult
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkModelWrapper()

    Permalink

Type Members

  1. class OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]]

    Permalink
    Definition Classes
    StandardFormats

Abstract Value Members

  1. abstract def loadModel(ctx: ExecutionContext, path: String): SerializableSparkModel[M]

    Permalink
    Attributes
    protected
  2. abstract def params: Array[Param[_]]

    Permalink
    Definition Classes
    Params

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. implicit object BigDecimalJsonFormat extends JsonFormat[BigDecimal]

    Permalink
    Definition Classes
    BasicFormats
  6. implicit object BigIntJsonFormat extends JsonFormat[BigInt]

    Permalink
    Definition Classes
    BasicFormats
  7. implicit object BooleanJsonFormat extends JsonFormat[Boolean]

    Permalink
    Definition Classes
    BasicFormats
  8. implicit object ByteJsonFormat extends JsonFormat[Byte]

    Permalink
    Definition Classes
    BasicFormats
  9. implicit object CharJsonFormat extends JsonFormat[Char]

    Permalink
    Definition Classes
    BasicFormats
  10. implicit object DoubleJsonFormat extends JsonFormat[Double]

    Permalink
    Definition Classes
    BasicFormats
  11. implicit object FloatJsonFormat extends JsonFormat[Float]

    Permalink
    Definition Classes
    BasicFormats
  12. implicit object IntJsonFormat extends JsonFormat[Int]

    Permalink
    Definition Classes
    BasicFormats
  13. implicit object JsValueFormat extends JsonFormat[JsValue]

    Permalink
    Definition Classes
    AdditionalFormats
  14. implicit object LongJsonFormat extends JsonFormat[Long]

    Permalink
    Definition Classes
    BasicFormats
  15. implicit object RootJsArrayFormat extends RootJsonFormat[JsArray]

    Permalink
    Definition Classes
    AdditionalFormats
  16. implicit object RootJsObjectFormat extends RootJsonFormat[JsObject]

    Permalink
    Definition Classes
    AdditionalFormats
  17. implicit object ShortJsonFormat extends JsonFormat[Short]

    Permalink
    Definition Classes
    BasicFormats
  18. implicit object StringJsonFormat extends JsonFormat[String]

    Permalink
    Definition Classes
    BasicFormats
  19. implicit object SymbolJsonFormat extends JsonFormat[Symbol]

    Permalink
    Definition Classes
    BasicFormats
  20. implicit object UnitJsonFormat extends JsonFormat[Unit]

    Permalink
    Definition Classes
    BasicFormats
  21. def applyTransform(ctx: ExecutionContext, df: DataFrame): DataFrame

    Permalink

    Creates a transformed DataFrame based on input DataFrame.

    Creates a transformed DataFrame based on input DataFrame.

    Attributes
    protected
    Definition Classes
    SparkModelWrapperTransformer
  22. def applyTransformSchema(schema: StructType): Option[StructType]

    Permalink

    Should be implemented in subclasses.

    Should be implemented in subclasses. For known schema of input DataFrame, infers schema of output DataFrame. If it is not able to do it for some reasons, it returns None.

    Attributes
    protected
    Definition Classes
    SparkModelWrapperTransformer
  23. def applyTransformSchema(schema: StructType, inferContext: InferContext): Option[StructType]

    Permalink

    Can be implemented in a subclass, if access to infer context is required.

    Can be implemented in a subclass, if access to infer context is required. For known schema of input DataFrame, infers schema of output DataFrame. If it is not able to do it for some reasons, it returns None.

    Attributes
    protected
    Definition Classes
    Transformer
  24. implicit def arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray }

    Permalink
    Definition Classes
    CollectionFormats
  25. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  27. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Params
  29. def customValidateParams: Vector[DeepLangException]

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  30. implicit def eitherFormat[A, B](implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]]

    Permalink
    Definition Classes
    StandardFormats
  31. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def extractFieldNames(classManifest: ClassManifest[_]): Array[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ProductFormats
  34. final def extractParamMap(extra: ParamMap = ParamMap.empty): ParamMap

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. def fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    ProductFormats
  37. final def get[T](param: Param[T]): Option[T]

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

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

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

    Permalink
    Definition Classes
    Params
  41. final def getOrDefaultOption[T](param: Param[T]): Option[T]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. implicit def immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  45. implicit def immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]]

    Permalink
    Definition Classes
    CollectionFormats
  46. implicit def immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  47. implicit def immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  48. implicit def immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]]

    Permalink
    Definition Classes
    CollectionFormats
  49. implicit def indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  50. def inferenceResult: Option[ParamsInferenceResult]

    Permalink
    Definition Classes
    ParamsHasInferenceResult
  51. final def isDefined(param: Param[_]): Boolean

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

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

    Permalink
    Definition Classes
    Params
  54. implicit def iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]]

    Permalink
    Definition Classes
    CollectionFormats
  55. def jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T]

    Permalink
    Definition Classes
    AdditionalFormats
  56. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  57. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  58. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  59. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  60. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  61. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  62. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  63. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  64. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  65. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  66. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  67. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  68. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  69. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  70. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  71. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  72. def jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  73. def jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  74. def jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  75. def jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  76. def jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  77. def jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  78. def jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormats
  79. def jsonFormat1[P1, T <: Product](construct: (P1) ⇒ T)(implicit arg0: JF[P1], arg1: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  80. def jsonFormat10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  81. def jsonFormat11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  82. def jsonFormat12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  83. def jsonFormat13[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  84. def jsonFormat14[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  85. def jsonFormat15[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  86. def jsonFormat16[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  87. def jsonFormat17[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  88. def jsonFormat18[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  89. def jsonFormat19[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  90. def jsonFormat2[P1, P2, T <: Product](construct: (P1, P2) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  91. def jsonFormat20[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  92. def jsonFormat21[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  93. def jsonFormat22[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22], arg22: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  94. def jsonFormat3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  95. def jsonFormat4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  96. def jsonFormat5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  97. def jsonFormat6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  98. def jsonFormat7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  99. def jsonFormat8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  100. def jsonFormat9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: ClassManifest[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  101. def lazyFormat[T](format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: spray.json.JsonFormat[T] }

    Permalink
    Definition Classes
    AdditionalFormats
  102. def lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    AdditionalFormats
  103. def lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T]

    Permalink
    Definition Classes
    AdditionalFormats
  104. def lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    AdditionalFormats
  105. def lift[T](writer: JsonWriter[T]): JsonFormat[T] { def read(value: spray.json.JsValue): Nothing }

    Permalink
    Definition Classes
    AdditionalFormats
  106. implicit def linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  107. implicit def listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray }

    Permalink
    Definition Classes
    CollectionFormats
  108. def load(ctx: ExecutionContext, path: String): SparkModelWrapper.this.type

    Permalink
    Definition Classes
    TransformerLoadable
  109. def loadAndSetParams(ctx: ExecutionContext, path: String): SparkModelWrapper.this.type

    Permalink
    Definition Classes
    ParamsSerialization
  110. def loadParams(ctx: ExecutionContext, path: String): JsValue

    Permalink
    Attributes
    protected
    Definition Classes
    ParamsSerialization
  111. def loadTransformer(ctx: ExecutionContext, path: String): SparkModelWrapper.this.type

    Permalink
    Definition Classes
    SparkModelWrapperTransformer
  112. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  113. implicit def mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject }

    Permalink
    Definition Classes
    CollectionFormats
  114. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  115. def noValueParamsFromJson(jsValue: JsValue): Seq[Param[_]]

    Permalink

    Sequence of params without values for this class, parsed from Json.

    Sequence of params without values for this class, parsed from Json. If a name of a parameter is unknown, it's ignored JsNull is treated as empty object. JsNull as a value of a parameter unsets param's value.

    Definition Classes
    Params
  116. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  118. implicit def optionFormat[T](implicit arg0: JF[T]): JF[Option[T]]

    Permalink
    Definition Classes
    StandardFormats
  119. def paramPairsFromJson(jsValue: JsValue, graphReader: GraphReader): Seq[ParamPair[_]]

    Permalink

    Sequence of paramPairs for this class, parsed from Json.

    Sequence of paramPairs for this class, parsed from Json. If a name of a parameter is unknown, it's ignored JsNull is treated as empty object. JsNull as value of parameter is ignored.

    Definition Classes
    Params
  120. def paramValuesToJson: JsValue

    Permalink

    Json describing values associated to parameters.

    Json describing values associated to parameters.

    Definition Classes
    Params
  121. def paramsToJson: JsValue

    Permalink
    Definition Classes
    Params
  122. var parentEstimator: SparkEstimatorWrapper[M, E, _]

    Permalink

    Parent EstimatorWrapper has to be set before _transformSchema() execution - estimators are responsible for schema inference in models.

    Parent EstimatorWrapper has to be set before _transformSchema() execution - estimators are responsible for schema inference in models. We use a mutable field because estimator instances that contain fresh parameters are created dynamically. Passing an estimator to _transformSchema by parameter would require a change of Transformer.transformSchema signature.

  123. def productElement2Field[T](fieldName: String, p: Product, ix: Int, rest: List[JsField])(implicit writer: JsonWriter[T]): List[JsField]

    Permalink
    Attributes
    protected
    Definition Classes
    ProductFormats
  124. def replicate(extra: ParamMap): SparkModelWrapper.this.type

    Permalink
    Definition Classes
    SparkModelWrapperParams
  125. def report: Report

    Permalink
    Definition Classes
    TransformerDOperable
  126. def rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    AdditionalFormats
  127. def rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T]

    Permalink
    Definition Classes
    AdditionalFormats
  128. def safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]]

    Permalink
    Definition Classes
    AdditionalFormats
  129. def sameAs(other: Params): Boolean

    Permalink

    Compares 'this' and 'other' params.

    Compares 'this' and 'other' params. Objects are equal when they are of the same class and their parameters have the same values set.

    returns

    True, if 'this' and 'other' are the same.

    Definition Classes
    Params
  130. def save(ctx: ExecutionContext, path: String): Unit

    Permalink
    Definition Classes
    Transformer
  131. def saveMetadata(ctx: ExecutionContext, path: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ParamsSerialization
  132. def saveObjectWithParams(ctx: ExecutionContext, path: String): Unit

    Permalink
    Definition Classes
    ParamsSerialization
  133. def saveParams(ctx: ExecutionContext, path: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ParamsSerialization
  134. def saveTransformer(ctx: ExecutionContext, path: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SparkModelWrapperTransformer
  135. implicit def seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  136. var serializableModel: SerializableSparkModel[M]

    Permalink

    Model has to be set before _transform() execution.

    Model has to be set before _transform() execution. We use a mutable field because model is created by estimator dynamically. Passing it to _transform by parameter is not possible without changing Transformer.transform signature.

  137. final def set(paramMap: ParamMap): SparkModelWrapper.this.type

    Permalink
    Attributes
    protected[ai.deepsense.deeplang]
    Definition Classes
    Params
  138. final def set(paramPairs: ParamPair[_]*): SparkModelWrapper.this.type

    Permalink
    Attributes
    protected[ai.deepsense.deeplang]
    Definition Classes
    Params
  139. final def set(paramPair: ParamPair[_]): SparkModelWrapper.this.type

    Permalink
    Attributes
    protected[ai.deepsense.deeplang]
    Definition Classes
    Params
  140. final def set[T](param: Param[T], value: T): SparkModelWrapper.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  141. def setDefault(paramPairs: ParamPair[_]*): SparkModelWrapper.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    SparkModelWrapperParams
  142. def setDefault[T](param: Param[T], value: T): SparkModelWrapper.this.type

    Permalink

    Spark model wrappers mustn't have default parameters.

    Spark model wrappers mustn't have default parameters. All initial parameter values are inherited from parent estimator.

    Attributes
    protected
    Definition Classes
    SparkModelWrapperParams
  143. implicit def setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]]

    Permalink
    Definition Classes
    CollectionFormats
  144. def setModel(model: SerializableSparkModel[M]): SparkModelWrapper.this.type

    Permalink
  145. def setParamsFromJson(jsValue: JsValue, graphReader: GraphReader, ignoreNulls: Boolean = false): SparkModelWrapper.this.type

    Permalink

    Sets param values based on provided json.

    Sets param values based on provided json. If a name of a parameter is unknown, it's ignored JsNull is treated as empty object.

    When ignoreNulls = false, JsNull as a value of a parameter unsets param's value. When ignoreNulls = true, parameters with JsNull values are ignored.

    Definition Classes
    Params
  146. def setParent(estimator: SparkEstimatorWrapper[M, E, _]): SparkModelWrapper.this.type

    Permalink
  147. def sparkModel: M

    Permalink
  148. def sparkParamMap(sparkEntity: Params, schema: StructType): ParamMap

    Permalink

    This method extracts Spark parameters from SparkParamWrappers that are: - declared directly in class which mixes this trait in - declared in values of parameters (i.e.

    This method extracts Spark parameters from SparkParamWrappers that are: - declared directly in class which mixes this trait in - declared in values of parameters (i.e. ChoiceParam, MultipleChoiceParam)

    Definition Classes
    ParamsWithSparkWrappers
  149. lazy val sparkParamWrappers: Array[SparkParamWrapper[_, _, _]]

    Permalink
    Definition Classes
    ParamsWithSparkWrappers
  150. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  152. def transform: DMethod1To1[Unit, DataFrame, DataFrame]

    Permalink
    Definition Classes
    Transformer
  153. def transformerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Transformer
  154. implicit def tuple1Format[A](implicit arg0: JF[A]): JF[(A)]

    Permalink
    Definition Classes
    StandardFormats
  155. implicit def tuple2Format[A, B](implicit arg0: JF[A], arg1: JF[B]): RootJsonFormat[(A, B)] { def write(t: (A, B)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  156. implicit def tuple3Format[A, B, C](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): RootJsonFormat[(A, B, C)] { def write(t: (A, B, C)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  157. implicit def tuple4Format[A, B, C, D](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): RootJsonFormat[(A, B, C, D)] { def write(t: (A, B, C, D)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  158. implicit def tuple5Format[A, B, C, D, E](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): RootJsonFormat[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  159. implicit def tuple6Format[A, B, C, D, E, F](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  160. implicit def tuple7Format[A, B, C, D, E, F, G](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  161. def validateDynamicParams(params: Params*): Unit

    Permalink

    Validates Params entities that contain dynamic parameters' values.

    Validates Params entities that contain dynamic parameters' values. Validation errors are wrapped in DeepLangMultiException.

    Definition Classes
    Params
  162. def validateParams: Vector[DeepLangException]

    Permalink

    Validates params' values by: 1.

    Validates params' values by: 1. testing whether the params have values set (or default values), 2. testing whether the values meet the constraints, 3. testing custom validations, possibly spanning over multiple params.

    Definition Classes
    Params
  163. def validateSparkEstimatorParams(sparkEntity: Params, maybeSchema: Option[StructType]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ParamsWithSparkWrappers
  164. implicit def vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]]

    Permalink
    Definition Classes
    CollectionFormats
  165. def viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I]

    Permalink
    Definition Classes
    CollectionFormats
  166. final def wait(): Unit

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

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

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

Inherited from ParamsWithSparkWrappers

Inherited from Transformer

Inherited from Loadable

Inherited from ParamsSerialization

Inherited from Params

Inherited from Logging

Inherited from DefaultJsonProtocol

Inherited from AdditionalFormats

Inherited from ProductFormats

Inherited from ProductFormatsInstances

Inherited from CollectionFormats

Inherited from StandardFormats

Inherited from BasicFormats

Inherited from Serializable

Inherited from Serializable

Inherited from DOperable

Inherited from HasInferenceResult

Inherited from AnyRef

Inherited from Any

Ungrouped