Interface TabularClassificationPredictionResultOrBuilder (2.9.6)

public interface TabularClassificationPredictionResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClasses(int index)

public abstract String getClasses(int index)

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The classes at the given index.

getClassesBytes(int index)

public abstract ByteString getClassesBytes(int index)

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the classes at the given index.

getClassesCount()

public abstract int getClassesCount()

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Returns
TypeDescription
int

The count of classes.

getClassesList()

public abstract List<String> getClassesList()

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Returns
TypeDescription
List<String>

A list containing the classes.

getScores(int index)

public abstract float getScores(int index)

The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.

repeated float scores = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
float

The scores at the given index.

getScoresCount()

public abstract int getScoresCount()

The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.

repeated float scores = 2;

Returns
TypeDescription
int

The count of scores.

getScoresList()

public abstract List<Float> getScoresList()

The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.

repeated float scores = 2;

Returns
TypeDescription
List<Float>

A list containing the scores.