Synapseml  1.0.3
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Vw.VowpalWabbitRegressor Class Reference

VowpalWabbitRegressor implements VowpalWabbitRegressor More...

Inheritance diagram for Synapse.ML.Vw.VowpalWabbitRegressor:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Vw.VowpalWabbitRegressor:
Collaboration graph
[legend]

Public Member Functions

 VowpalWabbitRegressor ()
 Creates a VowpalWabbitRegressor without any parameters. More...
 
 VowpalWabbitRegressor (string uid)
 Creates a VowpalWabbitRegressor with a UID that is used to give the VowpalWabbitRegressor a unique ID. More...
 
VowpalWabbitRegressor SetAdditionalFeatures (string[] value)
 Sets value for additionalFeatures More...
 
VowpalWabbitRegressor SetFeaturesCol (string value)
 Sets value for featuresCol More...
 
VowpalWabbitRegressor SetHashSeed (int value)
 Sets value for hashSeed More...
 
VowpalWabbitRegressor SetIgnoreNamespaces (string value)
 Sets value for ignoreNamespaces More...
 
VowpalWabbitRegressor SetInitialModel (object value)
 Sets value for initialModel More...
 
VowpalWabbitRegressor SetInteractions (string[] value)
 Sets value for interactions More...
 
VowpalWabbitRegressor SetL1 (double value)
 Sets value for l1 More...
 
VowpalWabbitRegressor SetL2 (double value)
 Sets value for l2 More...
 
VowpalWabbitRegressor SetLabelCol (string value)
 Sets value for labelCol More...
 
VowpalWabbitRegressor SetLearningRate (double value)
 Sets value for learningRate More...
 
VowpalWabbitRegressor SetNumBits (int value)
 Sets value for numBits More...
 
VowpalWabbitRegressor SetNumPasses (int value)
 Sets value for numPasses More...
 
VowpalWabbitRegressor SetNumSyncsPerPass (int value)
 Sets value for numSyncsPerPass More...
 
VowpalWabbitRegressor SetPassThroughArgs (string value)
 Sets value for passThroughArgs More...
 
VowpalWabbitRegressor SetPowerT (double value)
 Sets value for powerT More...
 
VowpalWabbitRegressor SetPredictionCol (string value)
 Sets value for predictionCol More...
 
VowpalWabbitRegressor SetPredictionIdCol (string value)
 Sets value for predictionIdCol More...
 
VowpalWabbitRegressor SetSplitCol (string value)
 Sets value for splitCol More...
 
VowpalWabbitRegressor SetSplitColValues (string[] value)
 Sets value for splitColValues More...
 
VowpalWabbitRegressor SetUseBarrierExecutionMode (bool value)
 Sets value for useBarrierExecutionMode More...
 
VowpalWabbitRegressor SetWeightCol (string value)
 Sets value for weightCol More...
 
string[] GetAdditionalFeatures ()
 Gets additionalFeatures value More...
 
string GetFeaturesCol ()
 Gets featuresCol value More...
 
int GetHashSeed ()
 Gets hashSeed value More...
 
string GetIgnoreNamespaces ()
 Gets ignoreNamespaces value More...
 
object GetInitialModel ()
 Gets initialModel value More...
 
string[] GetInteractions ()
 Gets interactions value More...
 
double GetL1 ()
 Gets l1 value More...
 
double GetL2 ()
 Gets l2 value More...
 
string GetLabelCol ()
 Gets labelCol value More...
 
double GetLearningRate ()
 Gets learningRate value More...
 
int GetNumBits ()
 Gets numBits value More...
 
int GetNumPasses ()
 Gets numPasses value More...
 
int GetNumSyncsPerPass ()
 Gets numSyncsPerPass value More...
 
string GetPassThroughArgs ()
 Gets passThroughArgs value More...
 
double GetPowerT ()
 Gets powerT value More...
 
string GetPredictionCol ()
 Gets predictionCol value More...
 
string GetPredictionIdCol ()
 Gets predictionIdCol value More...
 
string GetSplitCol ()
 Gets splitCol value More...
 
string[] GetSplitColValues ()
 Gets splitColValues value More...
 
bool GetUseBarrierExecutionMode ()
 Gets useBarrierExecutionMode value More...
 
string GetWeightCol ()
 Gets weightCol value More...
 
override VowpalWabbitRegressionModel Fit (DataFrame dataset)
 Fits a model to the input data. 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< VowpalWabbitRegressorRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

VowpalWabbitRegressor implements VowpalWabbitRegressor

Constructor & Destructor Documentation

◆ VowpalWabbitRegressor() [1/2]

Synapse.ML.Vw.VowpalWabbitRegressor.VowpalWabbitRegressor ( )
inline

Creates a VowpalWabbitRegressor without any parameters.

◆ VowpalWabbitRegressor() [2/2]

Synapse.ML.Vw.VowpalWabbitRegressor.VowpalWabbitRegressor ( string  uid)
inline

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

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

Member Function Documentation

◆ Fit()

override VowpalWabbitRegressionModel Synapse.ML.Vw.VowpalWabbitRegressor.Fit ( DataFrame  dataset)

Fits a model to the input data.

Parameters
datasetThe DataFrame to fit the model to.
Returns
VowpalWabbitRegressionModel

◆ GetAdditionalFeatures()

string [] Synapse.ML.Vw.VowpalWabbitRegressor.GetAdditionalFeatures ( )

Gets additionalFeatures value

Returns
additionalFeatures: Additional feature columns

◆ GetFeaturesCol()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetFeaturesCol ( )

Gets featuresCol value

Returns
featuresCol: features column name

◆ GetHashSeed()

int Synapse.ML.Vw.VowpalWabbitRegressor.GetHashSeed ( )

Gets hashSeed value

Returns
hashSeed: Seed used for hashing

◆ GetIgnoreNamespaces()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetIgnoreNamespaces ( )

Gets ignoreNamespaces value

Returns
ignoreNamespaces: Namespaces to be ignored (first letter only)

◆ GetInitialModel()

object Synapse.ML.Vw.VowpalWabbitRegressor.GetInitialModel ( )

Gets initialModel value

Returns
initialModel: Initial model to start from

◆ GetInteractions()

string [] Synapse.ML.Vw.VowpalWabbitRegressor.GetInteractions ( )

Gets interactions value

Returns
interactions: Interaction terms as specified by -q

◆ GetL1()

double Synapse.ML.Vw.VowpalWabbitRegressor.GetL1 ( )

Gets l1 value

Returns
l1: l_1 lambda

◆ GetL2()

double Synapse.ML.Vw.VowpalWabbitRegressor.GetL2 ( )

Gets l2 value

Returns
l2: l_2 lambda

◆ GetLabelCol()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetLabelCol ( )

Gets labelCol value

Returns
labelCol: label column name

◆ GetLearningRate()

double Synapse.ML.Vw.VowpalWabbitRegressor.GetLearningRate ( )

Gets learningRate value

Returns
learningRate: Learning rate

◆ GetNumBits()

int Synapse.ML.Vw.VowpalWabbitRegressor.GetNumBits ( )

Gets numBits value

Returns
numBits: Number of bits used

◆ GetNumPasses()

int Synapse.ML.Vw.VowpalWabbitRegressor.GetNumPasses ( )

Gets numPasses value

Returns
numPasses: Number of passes over the data

◆ GetNumSyncsPerPass()

int Synapse.ML.Vw.VowpalWabbitRegressor.GetNumSyncsPerPass ( )

Gets numSyncsPerPass value

Returns
numSyncsPerPass: Number of times weights should be synchronized within each pass. 0 disables inter-pass synchronization.

◆ GetPassThroughArgs()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetPassThroughArgs ( )

Gets passThroughArgs value

Returns
passThroughArgs: VW command line arguments passed

◆ GetPowerT()

double Synapse.ML.Vw.VowpalWabbitRegressor.GetPowerT ( )

Gets powerT value

Returns
powerT: t power value

◆ GetPredictionCol()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetPredictionCol ( )

Gets predictionCol value

Returns
predictionCol: prediction column name

◆ GetPredictionIdCol()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetPredictionIdCol ( )

Gets predictionIdCol value

Returns
predictionIdCol: The ID column returned for predictions

◆ GetSplitCol()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetSplitCol ( )

Gets splitCol value

Returns
splitCol: The column to split on for inter-pass sync

◆ GetSplitColValues()

string [] Synapse.ML.Vw.VowpalWabbitRegressor.GetSplitColValues ( )

Gets splitColValues value

Returns
splitColValues: Sorted values to use to select each split to train on. If not specified, computed from data

◆ GetUseBarrierExecutionMode()

bool Synapse.ML.Vw.VowpalWabbitRegressor.GetUseBarrierExecutionMode ( )

Gets useBarrierExecutionMode value

Returns
useBarrierExecutionMode: Use barrier execution mode, on by default.

◆ GetWeightCol()

string Synapse.ML.Vw.VowpalWabbitRegressor.GetWeightCol ( )

Gets weightCol value

Returns
weightCol: The name of the weight column

◆ Load()

static VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.Load ( string  path)
static

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

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

◆ Read()

JavaMLReader<VowpalWabbitRegressor> Synapse.ML.Vw.VowpalWabbitRegressor.Read ( )

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Vw.VowpalWabbitRegressor.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

◆ SetAdditionalFeatures()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetAdditionalFeatures ( string[]  value)

Sets value for additionalFeatures

Parameters
valueAdditional feature columns
Returns
New VowpalWabbitRegressor object

◆ SetFeaturesCol()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetFeaturesCol ( string  value)

Sets value for featuresCol

Parameters
valuefeatures column name
Returns
New VowpalWabbitRegressor object

◆ SetHashSeed()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetHashSeed ( int  value)

Sets value for hashSeed

Parameters
valueSeed used for hashing
Returns
New VowpalWabbitRegressor object

◆ SetIgnoreNamespaces()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetIgnoreNamespaces ( string  value)

Sets value for ignoreNamespaces

Parameters
valueNamespaces to be ignored (first letter only)
Returns
New VowpalWabbitRegressor object

◆ SetInitialModel()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetInitialModel ( object  value)

Sets value for initialModel

Parameters
valueInitial model to start from
Returns
New VowpalWabbitRegressor object

◆ SetInteractions()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetInteractions ( string[]  value)

Sets value for interactions

Parameters
valueInteraction terms as specified by -q
Returns
New VowpalWabbitRegressor object

◆ SetL1()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetL1 ( double  value)

Sets value for l1

Parameters
valuel_1 lambda
Returns
New VowpalWabbitRegressor object

◆ SetL2()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetL2 ( double  value)

Sets value for l2

Parameters
valuel_2 lambda
Returns
New VowpalWabbitRegressor object

◆ SetLabelCol()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetLabelCol ( string  value)

Sets value for labelCol

Parameters
valuelabel column name
Returns
New VowpalWabbitRegressor object

◆ SetLearningRate()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetLearningRate ( double  value)

Sets value for learningRate

Parameters
valueLearning rate
Returns
New VowpalWabbitRegressor object

◆ SetNumBits()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetNumBits ( int  value)

Sets value for numBits

Parameters
valueNumber of bits used
Returns
New VowpalWabbitRegressor object

◆ SetNumPasses()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetNumPasses ( int  value)

Sets value for numPasses

Parameters
valueNumber of passes over the data
Returns
New VowpalWabbitRegressor object

◆ SetNumSyncsPerPass()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetNumSyncsPerPass ( int  value)

Sets value for numSyncsPerPass

Parameters
valueNumber of times weights should be synchronized within each pass. 0 disables inter-pass synchronization.
Returns
New VowpalWabbitRegressor object

◆ SetPassThroughArgs()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetPassThroughArgs ( string  value)

Sets value for passThroughArgs

Parameters
valueVW command line arguments passed
Returns
New VowpalWabbitRegressor object

◆ SetPowerT()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetPowerT ( double  value)

Sets value for powerT

Parameters
valuet power value
Returns
New VowpalWabbitRegressor object

◆ SetPredictionCol()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetPredictionCol ( string  value)

Sets value for predictionCol

Parameters
valueprediction column name
Returns
New VowpalWabbitRegressor object

◆ SetPredictionIdCol()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetPredictionIdCol ( string  value)

Sets value for predictionIdCol

Parameters
valueThe ID column returned for predictions
Returns
New VowpalWabbitRegressor object

◆ SetSplitCol()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetSplitCol ( string  value)

Sets value for splitCol

Parameters
valueThe column to split on for inter-pass sync
Returns
New VowpalWabbitRegressor object

◆ SetSplitColValues()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetSplitColValues ( string[]  value)

Sets value for splitColValues

Parameters
valueSorted values to use to select each split to train on. If not specified, computed from data
Returns
New VowpalWabbitRegressor object

◆ SetUseBarrierExecutionMode()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetUseBarrierExecutionMode ( bool  value)

Sets value for useBarrierExecutionMode

Parameters
valueUse barrier execution mode, on by default.
Returns
New VowpalWabbitRegressor object

◆ SetWeightCol()

VowpalWabbitRegressor Synapse.ML.Vw.VowpalWabbitRegressor.SetWeightCol ( string  value)

Sets value for weightCol

Parameters
valueThe name of the weight column
Returns
New VowpalWabbitRegressor object

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