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

Repartition implements Repartition More...

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

Public Member Functions

 Repartition ()
 Creates a Repartition without any parameters. More...
 
 Repartition (string uid)
 Creates a Repartition with a UID that is used to give the Repartition a unique ID. More...
 
Repartition SetDisable (bool value)
 Sets value for disable More...
 
Repartition SetN (int value)
 Sets value for n More...
 
bool GetDisable ()
 Gets disable value More...
 
int GetN ()
 Gets n 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< RepartitionRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

Repartition implements Repartition

Constructor & Destructor Documentation

◆ Repartition() [1/2]

Synapse.ML.Stages.Repartition.Repartition ( )
inline

Creates a Repartition without any parameters.

◆ Repartition() [2/2]

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

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

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

Member Function Documentation

◆ GetDisable()

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

Gets disable value

Returns
disable: Whether to disable repartitioning (so that one can turn it off for evaluation)

◆ GetN()

int Synapse.ML.Stages.Repartition.GetN ( )

Gets n value

Returns
n: Number of partitions

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Stages.Repartition.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()

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

Sets value for disable

Parameters
valueWhether to disable repartitioning (so that one can turn it off for evaluation)
Returns
New Repartition object

◆ SetN()

Repartition Synapse.ML.Stages.Repartition.SetN ( int  value)

Sets value for n

Parameters
valueNumber of partitions
Returns
New Repartition object

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