|
Synapseml
1.0.4
|
VowpalWabbitClassifier implements VowpalWabbitClassifier More...


Public Member Functions | |
| VowpalWabbitClassifier () | |
| Creates a VowpalWabbitClassifier without any parameters. More... | |
| VowpalWabbitClassifier (string uid) | |
| Creates a VowpalWabbitClassifier with a UID that is used to give the VowpalWabbitClassifier a unique ID. More... | |
| VowpalWabbitClassifier | SetAdditionalFeatures (string[] value) |
| Sets value for additionalFeatures More... | |
| VowpalWabbitClassifier | SetFeaturesCol (string value) |
| Sets value for featuresCol More... | |
| VowpalWabbitClassifier | SetHashSeed (int value) |
| Sets value for hashSeed More... | |
| VowpalWabbitClassifier | SetIgnoreNamespaces (string value) |
| Sets value for ignoreNamespaces More... | |
| VowpalWabbitClassifier | SetInitialModel (object value) |
| Sets value for initialModel More... | |
| VowpalWabbitClassifier | SetInteractions (string[] value) |
| Sets value for interactions More... | |
| VowpalWabbitClassifier | SetL1 (double value) |
| Sets value for l1 More... | |
| VowpalWabbitClassifier | SetL2 (double value) |
| Sets value for l2 More... | |
| VowpalWabbitClassifier | SetLabelCol (string value) |
| Sets value for labelCol More... | |
| VowpalWabbitClassifier | SetLabelConversion (bool value) |
| Sets value for labelConversion More... | |
| VowpalWabbitClassifier | SetLearningRate (double value) |
| Sets value for learningRate More... | |
| VowpalWabbitClassifier | SetNumBits (int value) |
| Sets value for numBits More... | |
| VowpalWabbitClassifier | SetNumClasses (int value) |
| Sets value for numClasses More... | |
| VowpalWabbitClassifier | SetNumPasses (int value) |
| Sets value for numPasses More... | |
| VowpalWabbitClassifier | SetNumSyncsPerPass (int value) |
| Sets value for numSyncsPerPass More... | |
| VowpalWabbitClassifier | SetPassThroughArgs (string value) |
| Sets value for passThroughArgs More... | |
| VowpalWabbitClassifier | SetPowerT (double value) |
| Sets value for powerT More... | |
| VowpalWabbitClassifier | SetPredictionCol (string value) |
| Sets value for predictionCol More... | |
| VowpalWabbitClassifier | SetPredictionIdCol (string value) |
| Sets value for predictionIdCol More... | |
| VowpalWabbitClassifier | SetProbabilityCol (string value) |
| Sets value for probabilityCol More... | |
| VowpalWabbitClassifier | SetRawPredictionCol (string value) |
| Sets value for rawPredictionCol More... | |
| VowpalWabbitClassifier | SetSplitCol (string value) |
| Sets value for splitCol More... | |
| VowpalWabbitClassifier | SetSplitColValues (string[] value) |
| Sets value for splitColValues More... | |
| VowpalWabbitClassifier | SetThresholds (double[] value) |
| Sets value for thresholds More... | |
| VowpalWabbitClassifier | SetUseBarrierExecutionMode (bool value) |
| Sets value for useBarrierExecutionMode More... | |
| VowpalWabbitClassifier | 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... | |
| bool | GetLabelConversion () |
| Gets labelConversion value More... | |
| double | GetLearningRate () |
| Gets learningRate value More... | |
| int | GetNumBits () |
| Gets numBits value More... | |
| int | GetNumClasses () |
| Gets numClasses 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 | GetProbabilityCol () |
| Gets probabilityCol value More... | |
| string | GetRawPredictionCol () |
| Gets rawPredictionCol value More... | |
| string | GetSplitCol () |
| Gets splitCol value More... | |
| string[] | GetSplitColValues () |
| Gets splitColValues value More... | |
| double[] | GetThresholds () |
| Gets thresholds value More... | |
| bool | GetUseBarrierExecutionMode () |
| Gets useBarrierExecutionMode value More... | |
| string | GetWeightCol () |
| Gets weightCol value More... | |
| override VowpalWabbitClassificationModel | 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< VowpalWabbitClassifier > | Read () |
| Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
| static VowpalWabbitClassifier | Load (string path) |
| Loads the VowpalWabbitClassifier that was previously saved using Save(string). More... | |
VowpalWabbitClassifier implements VowpalWabbitClassifier
|
inline |
Creates a VowpalWabbitClassifier without any parameters.
|
inline |
Creates a VowpalWabbitClassifier with a UID that is used to give the VowpalWabbitClassifier a unique ID.
| uid | An immutable unique ID for the object and its derivatives. |
| override VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassifier.Fit | ( | DataFrame | dataset | ) |
Fits a model to the input data.
| dataset | The DataFrame to fit the model to. |
| string [] Synapse.ML.Vw.VowpalWabbitClassifier.GetAdditionalFeatures | ( | ) |
Gets additionalFeatures value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetFeaturesCol | ( | ) |
Gets featuresCol value
| int Synapse.ML.Vw.VowpalWabbitClassifier.GetHashSeed | ( | ) |
Gets hashSeed value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetIgnoreNamespaces | ( | ) |
Gets ignoreNamespaces value
| object Synapse.ML.Vw.VowpalWabbitClassifier.GetInitialModel | ( | ) |
Gets initialModel value
| string [] Synapse.ML.Vw.VowpalWabbitClassifier.GetInteractions | ( | ) |
Gets interactions value
| double Synapse.ML.Vw.VowpalWabbitClassifier.GetL1 | ( | ) |
Gets l1 value
| double Synapse.ML.Vw.VowpalWabbitClassifier.GetL2 | ( | ) |
Gets l2 value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetLabelCol | ( | ) |
Gets labelCol value
| bool Synapse.ML.Vw.VowpalWabbitClassifier.GetLabelConversion | ( | ) |
Gets labelConversion value
| double Synapse.ML.Vw.VowpalWabbitClassifier.GetLearningRate | ( | ) |
Gets learningRate value
| int Synapse.ML.Vw.VowpalWabbitClassifier.GetNumBits | ( | ) |
Gets numBits value
| int Synapse.ML.Vw.VowpalWabbitClassifier.GetNumClasses | ( | ) |
Gets numClasses value
| int Synapse.ML.Vw.VowpalWabbitClassifier.GetNumPasses | ( | ) |
Gets numPasses value
| int Synapse.ML.Vw.VowpalWabbitClassifier.GetNumSyncsPerPass | ( | ) |
Gets numSyncsPerPass value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetPassThroughArgs | ( | ) |
Gets passThroughArgs value
| double Synapse.ML.Vw.VowpalWabbitClassifier.GetPowerT | ( | ) |
Gets powerT value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetPredictionCol | ( | ) |
Gets predictionCol value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetPredictionIdCol | ( | ) |
Gets predictionIdCol value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetProbabilityCol | ( | ) |
Gets probabilityCol value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetRawPredictionCol | ( | ) |
Gets rawPredictionCol value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetSplitCol | ( | ) |
Gets splitCol value
| string [] Synapse.ML.Vw.VowpalWabbitClassifier.GetSplitColValues | ( | ) |
Gets splitColValues value
| double [] Synapse.ML.Vw.VowpalWabbitClassifier.GetThresholds | ( | ) |
Gets thresholds value
| bool Synapse.ML.Vw.VowpalWabbitClassifier.GetUseBarrierExecutionMode | ( | ) |
Gets useBarrierExecutionMode value
| string Synapse.ML.Vw.VowpalWabbitClassifier.GetWeightCol | ( | ) |
Gets weightCol value
|
static |
Loads the VowpalWabbitClassifier that was previously saved using Save(string).
| path | The path the previous VowpalWabbitClassifier was saved to |
| JavaMLReader<VowpalWabbitClassifier> Synapse.ML.Vw.VowpalWabbitClassifier.Read | ( | ) |
Get the corresponding JavaMLReader instance.
| void Synapse.ML.Vw.VowpalWabbitClassifier.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 |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetAdditionalFeatures | ( | string[] | value | ) |
Sets value for additionalFeatures
| value | Additional feature columns |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetFeaturesCol | ( | string | value | ) |
Sets value for featuresCol
| value | features column name |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetHashSeed | ( | int | value | ) |
Sets value for hashSeed
| value | Seed used for hashing |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetIgnoreNamespaces | ( | string | value | ) |
Sets value for ignoreNamespaces
| value | Namespaces to be ignored (first letter only) |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetInitialModel | ( | object | value | ) |
Sets value for initialModel
| value | Initial model to start from |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetInteractions | ( | string[] | value | ) |
Sets value for interactions
| value | Interaction terms as specified by -q |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetL1 | ( | double | value | ) |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetL2 | ( | double | value | ) |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetLabelCol | ( | string | value | ) |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetLabelConversion | ( | bool | value | ) |
Sets value for labelConversion
| value | Convert 0/1 Spark ML style labels to -1/1 VW style labels. Defaults to false. |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetLearningRate | ( | double | value | ) |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetNumBits | ( | int | value | ) |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetNumClasses | ( | int | value | ) |
Sets value for numClasses
| value | Number of classes. Defaults to binary. Needs to match oaa/csoaa/multilabel_oaa/... |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetNumPasses | ( | int | value | ) |
Sets value for numPasses
| value | Number of passes over the data |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetNumSyncsPerPass | ( | int | value | ) |
Sets value for numSyncsPerPass
| value | Number of times weights should be synchronized within each pass. 0 disables inter-pass synchronization. |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetPassThroughArgs | ( | string | value | ) |
Sets value for passThroughArgs
| value | VW command line arguments passed |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetPowerT | ( | double | value | ) |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetPredictionCol | ( | string | value | ) |
Sets value for predictionCol
| value | prediction column name |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetPredictionIdCol | ( | string | value | ) |
Sets value for predictionIdCol
| value | The ID column returned for predictions |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetProbabilityCol | ( | string | value | ) |
Sets value for probabilityCol
| value | Column name for predicted class conditional probabilities. Note: Not all models output well-calibrated probability estimates! These probabilities should be treated as confidences, not precise probabilities |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetRawPredictionCol | ( | string | value | ) |
Sets value for rawPredictionCol
| value | raw prediction (a.k.a. confidence) column name |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetSplitCol | ( | string | value | ) |
Sets value for splitCol
| value | The column to split on for inter-pass sync |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetSplitColValues | ( | string[] | value | ) |
Sets value for splitColValues
| value | Sorted values to use to select each split to train on. If not specified, computed from data |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetThresholds | ( | double[] | value | ) |
Sets value for thresholds
| value | Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values > 0 excepting that at most one value may be 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class's threshold |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetUseBarrierExecutionMode | ( | bool | value | ) |
Sets value for useBarrierExecutionMode
| value | Use barrier execution mode, on by default. |
| VowpalWabbitClassifier Synapse.ML.Vw.VowpalWabbitClassifier.SetWeightCol | ( | string | value | ) |
Sets value for weightCol
| value | The name of the weight column |
1.8.17