weka.classifiers.evaluation.output.prediction

## Class InMemory.PredictionContainer

- java.lang.Object
- - weka.classifiers.evaluation.output.prediction.InMemory.PredictionContainer

- Enclosing class:
    InMemory

      public static class InMemory.PredictionContainer
      extends java.lang.Object

  Container for storing the predictions alongside the additional attributes.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.util.Map<java.lang.String,java.lang.Object>` | `attributeValues` the associated attribute values (attribute-name - value).
    `Instance` | `instance` the instance.
    `Prediction` | `prediction` the prediction.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PredictionContainer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()` Returns a string representation of the container.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### instance

          public Instance instance

      the instance.

    - #### prediction

          public Prediction prediction

      the prediction.

    - #### attributeValues

          public java.util.Map<java.lang.String,java.lang.Object> attributeValues

      the associated attribute values (attribute-name - value).

  - ### Constructor Detail

    - #### PredictionContainer

          public PredictionContainer()

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Returns a string representation of the container.
      Overrides:
        `toString` in class `java.lang.Object`
      Returns:
        the string representation