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

SelectColumns implements SelectColumns More...

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

Public Member Functions

 SelectColumns ()
 Creates a SelectColumns without any parameters. More...
 
 SelectColumns (string uid)
 Creates a SelectColumns with a UID that is used to give the SelectColumns a unique ID. More...
 
SelectColumns SetCols (string[] value)
 Sets value for cols More...
 
string [] GetCols ()
 Gets cols 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< SelectColumnsRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

SelectColumns implements SelectColumns

Constructor & Destructor Documentation

◆ SelectColumns() [1/2]

Synapse.ML.Stages.SelectColumns.SelectColumns ( )
inline

Creates a SelectColumns without any parameters.

◆ SelectColumns() [2/2]

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

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

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

Member Function Documentation

◆ GetCols()

string [] Synapse.ML.Stages.SelectColumns.GetCols ( )

Gets cols value

Returns
cols: Comma separated list of selected column names

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

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

◆ SetCols()

SelectColumns Synapse.ML.Stages.SelectColumns.SetCols ( string []  value)

Sets value for cols

Parameters
valueComma separated list of selected column names
Returns
New SelectColumns object

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