Prediction

The output from a Predict operation:

  • Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS``DetailsAttributes.ALGORITHM - SGD

  • PredictedLabel - Present for either a BINARY or MULTICLASS``MLModel request.

  • PredictedScores - Contains the raw classification score corresponding to each label.

  • PredictedValue - Present for a REGRESSION``MLModel request.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Provides any additional details regarding the prediction.

Link copied to clipboard

The prediction label for either a BINARY or MULTICLASS``MLModel.

Link copied to clipboard

Provides the raw classification score corresponding to each label.

Link copied to clipboard

The prediction value for REGRESSION``MLModel.

Functions

Link copied to clipboard
inline fun copy(block: Prediction.Builder.() -> Unit = {}): Prediction
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String