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

ClassBalancerModel implements ClassBalancerModel More...

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

Public Member Functions

 ClassBalancerModel ()
 Creates a ClassBalancerModel without any parameters. More...
 
 ClassBalancerModel (string uid)
 Creates a ClassBalancerModel with a UID that is used to give the ClassBalancerModel a unique ID. More...
 
ClassBalancerModel SetBroadcastJoin (bool value)
 Sets value for broadcastJoin More...
 
ClassBalancerModel SetInputCol (string value)
 Sets value for inputCol More...
 
ClassBalancerModel SetOutputCol (string value)
 Sets value for outputCol More...
 
ClassBalancerModel SetWeights (DataFrame value)
 Sets value for weights More...
 
bool GetBroadcastJoin ()
 Gets broadcastJoin value More...
 
string GetInputCol ()
 Gets inputCol value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
DataFrame GetWeights ()
 Gets weights 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< ClassBalancerModelRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

ClassBalancerModel implements ClassBalancerModel

Constructor & Destructor Documentation

◆ ClassBalancerModel() [1/2]

Synapse.ML.Stages.ClassBalancerModel.ClassBalancerModel ( )
inline

Creates a ClassBalancerModel without any parameters.

◆ ClassBalancerModel() [2/2]

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

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

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

Member Function Documentation

◆ GetBroadcastJoin()

bool Synapse.ML.Stages.ClassBalancerModel.GetBroadcastJoin ( )

Gets broadcastJoin value

Returns
broadcastJoin: whether to broadcast join

◆ GetInputCol()

string Synapse.ML.Stages.ClassBalancerModel.GetInputCol ( )

Gets inputCol value

Returns
inputCol: The name of the input column

◆ GetOutputCol()

string Synapse.ML.Stages.ClassBalancerModel.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetWeights()

DataFrame Synapse.ML.Stages.ClassBalancerModel.GetWeights ( )

Gets weights value

Returns
weights: the dataframe of weights

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Stages.ClassBalancerModel.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

◆ SetBroadcastJoin()

ClassBalancerModel Synapse.ML.Stages.ClassBalancerModel.SetBroadcastJoin ( bool  value)

Sets value for broadcastJoin

Parameters
valuewhether to broadcast join
Returns
New ClassBalancerModel object

◆ SetInputCol()

ClassBalancerModel Synapse.ML.Stages.ClassBalancerModel.SetInputCol ( string  value)

Sets value for inputCol

Parameters
valueThe name of the input column
Returns
New ClassBalancerModel object

◆ SetOutputCol()

ClassBalancerModel Synapse.ML.Stages.ClassBalancerModel.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New ClassBalancerModel object

◆ SetWeights()

ClassBalancerModel Synapse.ML.Stages.ClassBalancerModel.SetWeights ( DataFrame  value)

Sets value for weights

Parameters
valuethe dataframe of weights
Returns
New ClassBalancerModel object

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