public class PredictionResult extends Object
PredictionResult describes the result of the category predict.| Modifier and Type | Class and Description |
|---|---|
static class |
PredictionResult.Builder
The type Builder.
|
| Modifier and Type | Method and Description |
|---|---|
static PredictionResult.Builder |
builder()
Construct new builder instance.
|
boolean |
equals(Object obj) |
String |
getLabel()
Gets label of the category.
|
BigDecimal |
getScore()
Gets score of the category.
|
int |
hashCode() |
String |
toString() |
public String getLabel()
public BigDecimal getScore()
public static PredictionResult.Builder builder()
Copyright © 2020. All rights reserved.