Package 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 Object
Container for storing the predictions alongside the additional attributes.

- ## Field Summary

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PredictionContainer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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 Details

  - ### instance

    public Instance instance
    the instance.

  - ### prediction

    public Prediction prediction
    the prediction.

  - ### attributeValues

    public Map<String,Object> attributeValues
    the associated attribute values (attribute-name - value).

- ## Constructor Details

  - ### PredictionContainer

    public PredictionContainer()

- ## Method Details

  - ### toString

    public String toString()
    Returns a string representation of the container.
    Overrides:
      `toString` in class `Object`
    Returns:
      the string representation