ClassBalancer implements ClassBalancer
More...
◆ ClassBalancer() [1/2]
Synapse.ML.Stages.ClassBalancer.ClassBalancer |
( |
| ) |
|
|
inline |
◆ ClassBalancer() [2/2]
Synapse.ML.Stages.ClassBalancer.ClassBalancer |
( |
string |
uid | ) |
|
|
inline |
Creates a ClassBalancer with a UID that is used to give the ClassBalancer a unique ID.
- Parameters
-
uid | An immutable unique ID for the object and its derivatives. |
◆ Fit()
Fits a model to the input data.
- Parameters
-
dataset | The DataFrame to fit the model to. |
- Returns
- ClassBalancerModel
◆ GetBroadcastJoin()
bool Synapse.ML.Stages.ClassBalancer.GetBroadcastJoin |
( |
| ) |
|
Gets broadcastJoin value
- Returns
- broadcastJoin: Whether to broadcast the class to weight mapping to the worker
◆ GetInputCol()
string Synapse.ML.Stages.ClassBalancer.GetInputCol |
( |
| ) |
|
Gets inputCol value
- Returns
- inputCol: The name of the input column
◆ GetOutputCol()
string Synapse.ML.Stages.ClassBalancer.GetOutputCol |
( |
| ) |
|
Gets outputCol value
- Returns
- outputCol: The name of the output column
◆ Load()
static ClassBalancer Synapse.ML.Stages.ClassBalancer.Load |
( |
string |
path | ) |
|
|
static |
◆ Read()
JavaMLReader<ClassBalancer> Synapse.ML.Stages.ClassBalancer.Read |
( |
| ) |
|
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<ClassBalancer> instance for this ML instance.
◆ Save()
void Synapse.ML.Stages.ClassBalancer.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 |
◆ SetBroadcastJoin()
ClassBalancer Synapse.ML.Stages.ClassBalancer.SetBroadcastJoin |
( |
bool |
value | ) |
|
Sets value for broadcastJoin
- Parameters
-
value | Whether to broadcast the class to weight mapping to the worker |
- Returns
- New ClassBalancer object
◆ SetInputCol()
ClassBalancer Synapse.ML.Stages.ClassBalancer.SetInputCol |
( |
string |
value | ) |
|
Sets value for inputCol
- Parameters
-
value | The name of the input column |
- Returns
- New ClassBalancer object
◆ SetOutputCol()
ClassBalancer Synapse.ML.Stages.ClassBalancer.SetOutputCol |
( |
string |
value | ) |
|
Sets value for outputCol
- Parameters
-
value | The name of the output column |
- Returns
- New ClassBalancer object
The documentation for this class was generated from the following file:
- synapse/ml/stages/ClassBalancer.cs