StratifiedRepartition implements StratifiedRepartition
More...
◆ StratifiedRepartition() [1/2]
Synapse.ML.Stages.StratifiedRepartition.StratifiedRepartition |
( |
| ) |
|
|
inline |
◆ StratifiedRepartition() [2/2]
Synapse.ML.Stages.StratifiedRepartition.StratifiedRepartition |
( |
string |
uid | ) |
|
|
inline |
◆ GetLabelCol()
string Synapse.ML.Stages.StratifiedRepartition.GetLabelCol |
( |
| ) |
|
Gets labelCol value
- Returns
- labelCol: The name of the label column
◆ GetMode()
string Synapse.ML.Stages.StratifiedRepartition.GetMode |
( |
| ) |
|
Gets mode value
- Returns
- mode: Specify equal to repartition with replacement across all labels, specify original to keep the ratios in the original dataset, or specify mixed to use a heuristic
◆ GetSeed()
long Synapse.ML.Stages.StratifiedRepartition.GetSeed |
( |
| ) |
|
Gets seed value
- Returns
- seed: random seed
◆ Load()
◆ Read()
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<StratifiedRepartition> instance for this ML instance.
◆ Save()
void Synapse.ML.Stages.StratifiedRepartition.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 |
◆ SetLabelCol()
Sets value for labelCol
- Parameters
-
value | The name of the label column |
- Returns
- New StratifiedRepartition object
◆ SetMode()
Sets value for mode
- Parameters
-
value | Specify equal to repartition with replacement across all labels, specify original to keep the ratios in the original dataset, or specify mixed to use a heuristic |
- Returns
- New StratifiedRepartition object
◆ SetSeed()
The documentation for this class was generated from the following file:
- synapse/ml/stages/StratifiedRepartition.cs