Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Stages.Cacher Class Reference

Cacher implements Cacher More...

Inheritance diagram for Synapse.ML.Stages.Cacher:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Stages.Cacher:
Collaboration graph
[legend]

Public Member Functions

 Cacher ()
 Creates a Cacher without any parameters. More...
 
 Cacher (string uid)
 Creates a Cacher with a UID that is used to give the Cacher a unique ID. More...
 
Cacher SetDisable (bool value)
 Sets value for disable More...
 
bool GetDisable ()
 Gets disable value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< CacherRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

static Cacher Load (string path)
 Loads the Cacher that was previously saved using Save(string). More...
 

Detailed Description

Cacher implements Cacher

Constructor & Destructor Documentation

◆ Cacher() [1/2]

Synapse.ML.Stages.Cacher.Cacher ( )
inline

Creates a Cacher without any parameters.

◆ Cacher() [2/2]

Synapse.ML.Stages.Cacher.Cacher ( string  uid)
inline

Creates a Cacher with a UID that is used to give the Cacher a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetDisable()

bool Synapse.ML.Stages.Cacher.GetDisable ( )

Gets disable value

Returns
disable: Whether or disable caching (so that you can turn it off during evaluation)

◆ Load()

static Cacher Synapse.ML.Stages.Cacher.Load ( string  path)
static

Loads the Cacher that was previously saved using Save(string).

Parameters
pathThe path the previous Cacher was saved to
Returns
New Cacher object, loaded from path.

◆ Read()

JavaMLReader<Cacher> Synapse.ML.Stages.Cacher.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<Cacher> instance for this ML instance.

◆ Save()

void Synapse.ML.Stages.Cacher.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetDisable()

Cacher Synapse.ML.Stages.Cacher.SetDisable ( bool  value)

Sets value for disable

Parameters
valueWhether or disable caching (so that you can turn it off during evaluation)
Returns
New Cacher object

The documentation for this class was generated from the following file: