---
title: "prediction(from:)"
framework: coreml
role: symbol
role_heading: Instance Method
path: "coreml/mlmodel/prediction(from:)"
---

# prediction(from:)

## Declaration

```swift
func prediction(from input: any MLFeatureProvider) throws -> any MLFeatureProvider
```

## See Also

### Making predictions

- [prediction(from:options:)](coreml/mlmodel/prediction(from:options:).md)
- [predictions(fromBatch:)](coreml/mlmodel/predictions(frombatch:).md)
- [predictions(from:options:)](coreml/mlmodel/predictions(from:options:).md)
- [prediction(from:using:)](coreml/mlmodel/prediction(from:using:).md)
- [prediction(from:using:options:)](coreml/mlmodel/prediction(from:using:options:).md)
- [MLPredictionOptions](coreml/mlpredictionoptions.md)
