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

DataConversion implements DataConversion More...

Inheritance diagram for Synapse.ML.Featurize.DataConversion:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Featurize.DataConversion:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

DataConversion implements DataConversion

Constructor & Destructor Documentation

◆ DataConversion() [1/2]

Synapse.ML.Featurize.DataConversion.DataConversion ( )
inline

Creates a DataConversion without any parameters.

◆ DataConversion() [2/2]

Synapse.ML.Featurize.DataConversion.DataConversion ( string  uid)
inline

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

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

Member Function Documentation

◆ GetCols()

string [] Synapse.ML.Featurize.DataConversion.GetCols ( )

Gets cols value

Returns
cols: Comma separated list of columns whose type will be converted

◆ GetConvertTo()

string Synapse.ML.Featurize.DataConversion.GetConvertTo ( )

Gets convertTo value

Returns
convertTo: The result type

◆ GetDateTimeFormat()

string Synapse.ML.Featurize.DataConversion.GetDateTimeFormat ( )

Gets dateTimeFormat value

Returns
dateTimeFormat: Format for DateTime when making DateTime:String conversions

◆ Load()

static DataConversion Synapse.ML.Featurize.DataConversion.Load ( string  path)
static

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

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

◆ Read()

JavaMLReader<DataConversion> Synapse.ML.Featurize.DataConversion.Read ( )

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Featurize.DataConversion.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()

DataConversion Synapse.ML.Featurize.DataConversion.SetCols ( string []  value)

Sets value for cols

Parameters
valueComma separated list of columns whose type will be converted
Returns
New DataConversion object

◆ SetConvertTo()

DataConversion Synapse.ML.Featurize.DataConversion.SetConvertTo ( string  value)

Sets value for convertTo

Parameters
valueThe result type
Returns
New DataConversion object

◆ SetDateTimeFormat()

DataConversion Synapse.ML.Featurize.DataConversion.SetDateTimeFormat ( string  value)

Sets value for dateTimeFormat

Parameters
valueFormat for DateTime when making DateTime:String conversions
Returns
New DataConversion object

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