Package | Description |
---|---|
com.indeed.vw.wrapper.api.example |
API for creating vowpal wabbit examples string.
|
Modifier and Type | Method and Description |
---|---|
ExampleBuilder |
ExampleBuilder.binaryLabel(boolean binaryLabel)
This is convenient method to set label when you use logistic or hinge loss you.
|
static ExampleBuilder |
ExampleBuilder.create()
Create method
|
static ExampleBuilder |
ExampleBuilder.createAndDoNotCheckNamespace()
By default each namespace should start with unique character.
|
ExampleBuilder |
ExampleBuilder.exampleImportance(double exampleImportance)
Importance (importance weight) is a non-negative real number indicating the relative importance
|
ExampleBuilder |
ExampleBuilder.exampleTag(String tag)
Tag is a string that serves as an identifier for the example.
|
ExampleBuilder |
ExampleBuilder.label(double label)
Label is the real number that we are trying to predict for this example.
|
ExampleBuilder |
ExampleBuilder.omitLabel()
If the label is omitted, then no training will be performed with the corresponding example,
|
ExampleBuilder |
ExampleBuilder.setLabelString(String label)
You can use it to pass labels for multi-class classification.
|
Copyright © 2017. All rights reserved.