class OutData extends Object
| Modifier and Type | Field and Description |
|---|---|
private double |
confidence |
private int |
id |
private boolean |
prediction |
private double |
value1 |
private double |
value2 |
| Constructor and Description |
|---|
OutData(int id,
double value1,
double value2,
double confidence,
boolean prediction)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getConfidence()
Returns the confidence value.
|
int |
getId()
Returns the id value.
|
double |
getValue1()
Returns the first value.
|
double |
getValue2()
Returns the second value.
|
boolean |
isPrediction()
Returns the prediction value.
|
private int id
private double value1
private double value2
private double confidence
private boolean prediction
OutData(int id,
double value1,
double value2,
double confidence,
boolean prediction)
id - the id valuevalue1 - the first valuevalue2 - the second valueconfidence - the scoring confidenceprediction - whether this is a predictionpublic int getId()
public double getValue1()
public double getValue2()
public double getConfidence()
public boolean isPrediction()
Copyright © 2022. All rights reserved.