Interface TabularClassificationPredictionResultOrBuilder (3.47.0)

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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
List<Float>

A list containing the scores.