package util
- Alphabetic
- Public
- All
Type Members
-
trait
DefaultParamsReadable[T] extends MLReadable[T]
:: DeveloperApi ::
:: DeveloperApi ::
Helper trait for making simple
Params
types readable. If aParams
class stores all data as org.apache.spark.ml.param.Param values, then extending this trait will provide a default implementation of reading saved instances of the class. This only handles simple org.apache.spark.ml.param.Param types; e.g., it will not handle org.apache.spark.sql.Dataset.- T
ML instance type
- Annotations
- @DeveloperApi()
- See also
DefaultParamsWritable
, the counterpart to this trait
-
trait
DefaultParamsWritable extends MLWritable
:: DeveloperApi ::
:: DeveloperApi ::
Helper trait for making simple
Params
types writable. If aParams
class stores all data as org.apache.spark.ml.param.Param values, then extending this trait will provide a default implementation of writing saved instances of the class. This only handles simple org.apache.spark.ml.param.Param types; e.g., it will not handle org.apache.spark.sql.Dataset.- Annotations
- @DeveloperApi()
- See also
DefaultParamsReadable
, the counterpart to this trait
-
trait
GeneralMLWritable extends MLWritable
Trait for classes that provide
GeneralMLWriter
.Trait for classes that provide
GeneralMLWriter
.- Annotations
- @Since( "2.4.0" ) @Unstable()
-
class
GeneralMLWriter extends MLWriter with Logging
A ML Writer which delegates based on the requested format.
A ML Writer which delegates based on the requested format.
- Annotations
- @Unstable() @Since( "2.4.0" )
-
trait
Identifiable extends AnyRef
:: DeveloperApi ::
:: DeveloperApi ::
Trait for an object with an immutable unique ID that identifies itself and its derivatives.
WARNING: There have not yet been final discussions on this API, so it may be broken in future releases.
- Annotations
- @DeveloperApi()
-
trait
MLFormatRegister extends MLWriterFormat
ML export formats for should implement this trait so that users can specify a shortname rather than the fully qualified class name of the exporter.
ML export formats for should implement this trait so that users can specify a shortname rather than the fully qualified class name of the exporter.
A new instance of this class will be instantiated each time a save call is made.
- Annotations
- @Unstable() @Since( "2.4.0" )
- Since
2.4.0
-
trait
MLReadable[T] extends AnyRef
Trait for objects that provide
MLReader
.Trait for objects that provide
MLReader
.- T
ML instance type
- Annotations
- @Since( "1.6.0" )
-
abstract
class
MLReader[T] extends BaseReadWrite
Abstract class for utility classes that can load ML instances.
Abstract class for utility classes that can load ML instances.
- T
ML instance type
- Annotations
- @Since( "1.6.0" )
-
trait
MLWritable extends AnyRef
Trait for classes that provide
MLWriter
.Trait for classes that provide
MLWriter
.- Annotations
- @Since( "1.6.0" )
-
abstract
class
MLWriter extends BaseReadWrite with Logging
Abstract class for utility classes that can save ML instances in Spark's internal format.
Abstract class for utility classes that can save ML instances in Spark's internal format.
- Annotations
- @Since( "1.6.0" )
-
trait
MLWriterFormat extends AnyRef
Abstract class to be implemented by objects that provide ML exportability.
Abstract class to be implemented by objects that provide ML exportability.
A new instance of this class will be instantiated each time a save call is made.
Must have a valid zero argument constructor which will be called to instantiate.
- Annotations
- @Unstable() @Since( "2.4.0" )
- Since
2.4.0
Value Members
-
object
Identifiable
:: DeveloperApi ::
:: DeveloperApi ::
- Annotations
- @DeveloperApi()