Synapseml
1.0.3
|
VowpalWabbitClassificationModel implements VowpalWabbitClassificationModel More...
Public Member Functions | |
VowpalWabbitClassificationModel () | |
Creates a VowpalWabbitClassificationModel without any parameters. More... | |
VowpalWabbitClassificationModel (string uid) | |
Creates a VowpalWabbitClassificationModel with a UID that is used to give the VowpalWabbitClassificationModel a unique ID. More... | |
VowpalWabbitClassificationModel | SetAdditionalFeatures (string[] value) |
Sets value for additionalFeatures More... | |
VowpalWabbitClassificationModel | SetFeaturesCol (string value) |
Sets value for featuresCol More... | |
VowpalWabbitClassificationModel | SetLabelCol (string value) |
Sets value for labelCol More... | |
VowpalWabbitClassificationModel | SetModel (object value) |
Sets value for model More... | |
VowpalWabbitClassificationModel | SetNumClassesModel (int value) |
Sets value for numClassesModel More... | |
VowpalWabbitClassificationModel | SetOneStepAheadPredictions (DataFrame value) |
Sets value for oneStepAheadPredictions More... | |
VowpalWabbitClassificationModel | SetPerformanceStatistics (DataFrame value) |
Sets value for performanceStatistics More... | |
VowpalWabbitClassificationModel | SetPredictionCol (string value) |
Sets value for predictionCol More... | |
VowpalWabbitClassificationModel | SetProbabilityCol (string value) |
Sets value for probabilityCol More... | |
VowpalWabbitClassificationModel | SetRawPredictionCol (string value) |
Sets value for rawPredictionCol More... | |
VowpalWabbitClassificationModel | SetTestArgs (string value) |
Sets value for testArgs More... | |
VowpalWabbitClassificationModel | SetThresholds (double[] value) |
Sets value for thresholds More... | |
string[] | GetAdditionalFeatures () |
Gets additionalFeatures value More... | |
string | GetFeaturesCol () |
Gets featuresCol value More... | |
string | GetLabelCol () |
Gets labelCol value More... | |
object | GetModel () |
Gets model value More... | |
int | GetNumClassesModel () |
Gets numClassesModel value More... | |
DataFrame | GetOneStepAheadPredictions () |
Gets oneStepAheadPredictions value More... | |
DataFrame | GetPerformanceStatistics () |
Gets performanceStatistics value More... | |
string | GetPredictionCol () |
Gets predictionCol value More... | |
string | GetProbabilityCol () |
Gets probabilityCol value More... | |
string | GetRawPredictionCol () |
Gets rawPredictionCol value More... | |
string | GetTestArgs () |
Gets testArgs value More... | |
double[] | GetThresholds () |
Gets thresholds 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 () |
| |
JavaMLReader< VowpalWabbitClassificationModel > | Read () |
Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
static VowpalWabbitClassificationModel | Load (string path) |
Loads the VowpalWabbitClassificationModel that was previously saved using Save(string). More... | |
|
inline |
Creates a VowpalWabbitClassificationModel without any parameters.
|
inline |
Creates a VowpalWabbitClassificationModel with a UID that is used to give the VowpalWabbitClassificationModel a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
string [] Synapse.ML.Vw.VowpalWabbitClassificationModel.GetAdditionalFeatures | ( | ) |
Gets additionalFeatures value
string Synapse.ML.Vw.VowpalWabbitClassificationModel.GetFeaturesCol | ( | ) |
Gets featuresCol value
string Synapse.ML.Vw.VowpalWabbitClassificationModel.GetLabelCol | ( | ) |
Gets labelCol value
object Synapse.ML.Vw.VowpalWabbitClassificationModel.GetModel | ( | ) |
Gets model value
int Synapse.ML.Vw.VowpalWabbitClassificationModel.GetNumClassesModel | ( | ) |
Gets numClassesModel value
DataFrame Synapse.ML.Vw.VowpalWabbitClassificationModel.GetOneStepAheadPredictions | ( | ) |
Gets oneStepAheadPredictions value
DataFrame Synapse.ML.Vw.VowpalWabbitClassificationModel.GetPerformanceStatistics | ( | ) |
Gets performanceStatistics value
string Synapse.ML.Vw.VowpalWabbitClassificationModel.GetPredictionCol | ( | ) |
Gets predictionCol value
string Synapse.ML.Vw.VowpalWabbitClassificationModel.GetProbabilityCol | ( | ) |
Gets probabilityCol value
string Synapse.ML.Vw.VowpalWabbitClassificationModel.GetRawPredictionCol | ( | ) |
Gets rawPredictionCol value
string Synapse.ML.Vw.VowpalWabbitClassificationModel.GetTestArgs | ( | ) |
Gets testArgs value
double [] Synapse.ML.Vw.VowpalWabbitClassificationModel.GetThresholds | ( | ) |
Gets thresholds value
|
static |
Loads the VowpalWabbitClassificationModel that was previously saved using Save(string).
path | The path the previous VowpalWabbitClassificationModel was saved to |
JavaMLReader<VowpalWabbitClassificationModel> Synapse.ML.Vw.VowpalWabbitClassificationModel.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Vw.VowpalWabbitClassificationModel.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 |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetAdditionalFeatures | ( | string[] | value | ) |
Sets value for additionalFeatures
value | Additional feature columns |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetFeaturesCol | ( | string | value | ) |
Sets value for featuresCol
value | features column name |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetLabelCol | ( | string | value | ) |
Sets value for labelCol
value | label column name |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetModel | ( | object | value | ) |
Sets value for model
value | The VW model.... |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetNumClassesModel | ( | int | value | ) |
Sets value for numClassesModel
value | Number of classes. |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetOneStepAheadPredictions | ( | DataFrame | value | ) |
Sets value for oneStepAheadPredictions
value | 1-step ahead predictions collected during training |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetPerformanceStatistics | ( | DataFrame | value | ) |
Sets value for performanceStatistics
value | Performance statistics collected during training |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetPredictionCol | ( | string | value | ) |
Sets value for predictionCol
value | prediction column name |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.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 |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetRawPredictionCol | ( | string | value | ) |
Sets value for rawPredictionCol
value | raw prediction (a.k.a. confidence) column name |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.SetTestArgs | ( | string | value | ) |
Sets value for testArgs
value | Additional arguments passed to VW at test time |
VowpalWabbitClassificationModel Synapse.ML.Vw.VowpalWabbitClassificationModel.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 |