Synapseml
0.10.0
|
VowpalWabbitContextualBandit implements VowpalWabbitContextualBandit More...
Public Member Functions | |
VowpalWabbitContextualBandit () | |
Creates a VowpalWabbitContextualBandit without any parameters. More... | |
VowpalWabbitContextualBandit (string uid) | |
Creates a VowpalWabbitContextualBandit with a UID that is used to give the VowpalWabbitContextualBandit a unique ID. More... | |
VowpalWabbitContextualBandit | SetAdditionalFeatures (string[] value) |
Sets value for additionalFeatures More... | |
VowpalWabbitContextualBandit | SetAdditionalSharedFeatures (string[] value) |
Sets value for additionalSharedFeatures More... | |
VowpalWabbitContextualBandit | SetChosenActionCol (string value) |
Sets value for chosenActionCol More... | |
VowpalWabbitContextualBandit | SetEpsilon (double value) |
Sets value for epsilon More... | |
VowpalWabbitContextualBandit | SetFeaturesCol (string value) |
Sets value for featuresCol More... | |
VowpalWabbitContextualBandit | SetHashSeed (int value) |
Sets value for hashSeed More... | |
VowpalWabbitContextualBandit | SetIgnoreNamespaces (string value) |
Sets value for ignoreNamespaces More... | |
VowpalWabbitContextualBandit | SetInitialModel (object value) |
Sets value for initialModel More... | |
VowpalWabbitContextualBandit | SetInteractions (string[] value) |
Sets value for interactions More... | |
VowpalWabbitContextualBandit | SetL1 (double value) |
Sets value for l1 More... | |
VowpalWabbitContextualBandit | SetL2 (double value) |
Sets value for l2 More... | |
VowpalWabbitContextualBandit | SetLabelCol (string value) |
Sets value for labelCol More... | |
VowpalWabbitContextualBandit | SetLearningRate (double value) |
Sets value for learningRate More... | |
VowpalWabbitContextualBandit | SetNumBits (int value) |
Sets value for numBits More... | |
VowpalWabbitContextualBandit | SetNumPasses (int value) |
Sets value for numPasses More... | |
VowpalWabbitContextualBandit | SetParallelism (int value) |
Sets value for parallelism More... | |
VowpalWabbitContextualBandit | SetPassThroughArgs (string value) |
Sets value for passThroughArgs More... | |
VowpalWabbitContextualBandit | SetPowerT (double value) |
Sets value for powerT More... | |
VowpalWabbitContextualBandit | SetPredictionCol (string value) |
Sets value for predictionCol More... | |
VowpalWabbitContextualBandit | SetProbabilityCol (string value) |
Sets value for probabilityCol More... | |
VowpalWabbitContextualBandit | SetSharedCol (string value) |
Sets value for sharedCol More... | |
VowpalWabbitContextualBandit | SetUseBarrierExecutionMode (bool value) |
Sets value for useBarrierExecutionMode More... | |
VowpalWabbitContextualBandit | SetWeightCol (string value) |
Sets value for weightCol More... | |
string [] | GetAdditionalFeatures () |
Gets additionalFeatures value More... | |
string [] | GetAdditionalSharedFeatures () |
Gets additionalSharedFeatures value More... | |
string | GetChosenActionCol () |
Gets chosenActionCol value More... | |
double | GetEpsilon () |
Gets epsilon 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 | GetParallelism () |
Gets parallelism value More... | |
string | GetPassThroughArgs () |
Gets passThroughArgs value More... | |
double | GetPowerT () |
Gets powerT value More... | |
string | GetPredictionCol () |
Gets predictionCol value More... | |
string | GetProbabilityCol () |
Gets probabilityCol value More... | |
string | GetSharedCol () |
Gets sharedCol value More... | |
bool | GetUseBarrierExecutionMode () |
Gets useBarrierExecutionMode value More... | |
string | GetWeightCol () |
Gets weightCol value More... | |
override VowpalWabbitContextualBanditModel | 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 () |
| |
JavaMLReader< VowpalWabbitContextualBandit > | Read () |
Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
static VowpalWabbitContextualBandit | Load (string path) |
Loads the VowpalWabbitContextualBandit that was previously saved using Save(string). More... | |
|
inline |
Creates a VowpalWabbitContextualBandit without any parameters.
|
inline |
Creates a VowpalWabbitContextualBandit with a UID that is used to give the VowpalWabbitContextualBandit a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
override VowpalWabbitContextualBanditModel Synapse.ML.Vw.VowpalWabbitContextualBandit.Fit | ( | DataFrame | dataset | ) |
Fits a model to the input data.
dataset | The DataFrame to fit the model to. |
string [] Synapse.ML.Vw.VowpalWabbitContextualBandit.GetAdditionalFeatures | ( | ) |
Gets additionalFeatures value
string [] Synapse.ML.Vw.VowpalWabbitContextualBandit.GetAdditionalSharedFeatures | ( | ) |
Gets additionalSharedFeatures value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetChosenActionCol | ( | ) |
Gets chosenActionCol value
double Synapse.ML.Vw.VowpalWabbitContextualBandit.GetEpsilon | ( | ) |
Gets epsilon value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetFeaturesCol | ( | ) |
Gets featuresCol value
int Synapse.ML.Vw.VowpalWabbitContextualBandit.GetHashSeed | ( | ) |
Gets hashSeed value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetIgnoreNamespaces | ( | ) |
Gets ignoreNamespaces value
object Synapse.ML.Vw.VowpalWabbitContextualBandit.GetInitialModel | ( | ) |
Gets initialModel value
string [] Synapse.ML.Vw.VowpalWabbitContextualBandit.GetInteractions | ( | ) |
Gets interactions value
double Synapse.ML.Vw.VowpalWabbitContextualBandit.GetL1 | ( | ) |
Gets l1 value
double Synapse.ML.Vw.VowpalWabbitContextualBandit.GetL2 | ( | ) |
Gets l2 value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetLabelCol | ( | ) |
Gets labelCol value
double Synapse.ML.Vw.VowpalWabbitContextualBandit.GetLearningRate | ( | ) |
Gets learningRate value
int Synapse.ML.Vw.VowpalWabbitContextualBandit.GetNumBits | ( | ) |
Gets numBits value
int Synapse.ML.Vw.VowpalWabbitContextualBandit.GetNumPasses | ( | ) |
Gets numPasses value
int Synapse.ML.Vw.VowpalWabbitContextualBandit.GetParallelism | ( | ) |
Gets parallelism value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetPassThroughArgs | ( | ) |
Gets passThroughArgs value
double Synapse.ML.Vw.VowpalWabbitContextualBandit.GetPowerT | ( | ) |
Gets powerT value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetPredictionCol | ( | ) |
Gets predictionCol value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetProbabilityCol | ( | ) |
Gets probabilityCol value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetSharedCol | ( | ) |
Gets sharedCol value
bool Synapse.ML.Vw.VowpalWabbitContextualBandit.GetUseBarrierExecutionMode | ( | ) |
Gets useBarrierExecutionMode value
string Synapse.ML.Vw.VowpalWabbitContextualBandit.GetWeightCol | ( | ) |
Gets weightCol value
|
static |
Loads the VowpalWabbitContextualBandit that was previously saved using Save(string).
path | The path the previous VowpalWabbitContextualBandit was saved to |
JavaMLReader<VowpalWabbitContextualBandit> Synapse.ML.Vw.VowpalWabbitContextualBandit.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Vw.VowpalWabbitContextualBandit.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.
path | The path to save the object to |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetAdditionalFeatures | ( | string [] | value | ) |
Sets value for additionalFeatures
value | Additional feature columns |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetAdditionalSharedFeatures | ( | string [] | value | ) |
Sets value for additionalSharedFeatures
value | Additional namespaces for the shared example |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetChosenActionCol | ( | string | value | ) |
Sets value for chosenActionCol
value | Column name of chosen action |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetEpsilon | ( | double | value | ) |
Sets value for epsilon
value | epsilon used for exploration |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetFeaturesCol | ( | string | value | ) |
Sets value for featuresCol
value | features column name |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetHashSeed | ( | int | value | ) |
Sets value for hashSeed
value | Seed used for hashing |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetIgnoreNamespaces | ( | string | value | ) |
Sets value for ignoreNamespaces
value | Namespaces to be ignored (first letter only) |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetInitialModel | ( | object | value | ) |
Sets value for initialModel
value | Initial model to start from |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetInteractions | ( | string [] | value | ) |
Sets value for interactions
value | Interaction terms as specified by -q |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetL1 | ( | double | value | ) |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetL2 | ( | double | value | ) |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetLabelCol | ( | string | value | ) |
Sets value for labelCol
value | label column name |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetLearningRate | ( | double | value | ) |
Sets value for learningRate
value | Learning rate |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetNumBits | ( | int | value | ) |
Sets value for numBits
value | Number of bits used |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetNumPasses | ( | int | value | ) |
Sets value for numPasses
value | Number of passes over the data |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetParallelism | ( | int | value | ) |
Sets value for parallelism
value | the number of threads to use when running parallel algorithms |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetPassThroughArgs | ( | string | value | ) |
Sets value for passThroughArgs
value | VW command line arguments passed |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetPowerT | ( | double | value | ) |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetPredictionCol | ( | string | value | ) |
Sets value for predictionCol
value | prediction column name |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetProbabilityCol | ( | string | value | ) |
Sets value for probabilityCol
value | Column name of probability of chosen action |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetSharedCol | ( | string | value | ) |
Sets value for sharedCol
value | Column name of shared features |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetUseBarrierExecutionMode | ( | bool | value | ) |
Sets value for useBarrierExecutionMode
value | Use barrier execution mode, on by default. |
VowpalWabbitContextualBandit Synapse.ML.Vw.VowpalWabbitContextualBandit.SetWeightCol | ( | string | value | ) |
Sets value for weightCol
value | The name of the weight column |