---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://catboost.ai/docs/en/concepts/java-reference_catboostpredictions__get.md
  - href: en/concepts/java-reference_catboostpredictions__get.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# get

```java
public double get(int objectIndex,
                  int predictionIndex)
```

#### Purpose

<!-- source: en/_includes/work_src/reusage-java/java-reference_catboostpredictions__get__desc.md -->
Return the model prediction for a particular object in a particular dimension.
<!-- endsource: en/_includes/work_src/reusage-java/java-reference_catboostpredictions__get__desc.md -->


#### Parameters

**objectIndex**

The index of the object to get the prediction for.


**predictionIndex**

The index of the prediction dimension.

