Repartition implements Repartition
More...
◆ Repartition() [1/2]
Synapse.ML.Stages.Repartition.Repartition |
( |
| ) |
|
|
inline |
◆ 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
-
uid | An immutable unique ID for the object and its derivatives. |
◆ 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 |
◆ 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
-
path | The path to save the object to |
◆ SetDisable()
Repartition Synapse.ML.Stages.Repartition.SetDisable |
( |
bool |
value | ) |
|
Sets value for disable
- Parameters
-
value | Whether 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
-
value | Number of partitions |
- Returns
- New Repartition object
The documentation for this class was generated from the following file:
- synapse/ml/stages/Repartition.cs