---
title: AnnotatedFeature
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/annotatedfeature
---

# AnnotatedFeature

An annotated example for fitting a supervised estimator.

## Declaration

```swift
struct AnnotatedFeature<Feature, Annotation>
```

## Mentioned in

Creating a multi-label image classifier

## Topics

### Creating the feature

- [init(feature:annotation:)](createmlcomponents/annotatedfeature/init(feature:annotation:).md)

### Getting the properties

- [annotation](createmlcomponents/annotatedfeature/annotation.md)
- [feature](createmlcomponents/annotatedfeature/feature.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Annotations

- [AnnotatedFiles](createmlcomponents/annotatedfiles.md)
- [AnnotatedBatch](createmlcomponents/annotatedbatch.md)
- [AnnotatedFeatureProvider](createmlcomponents/annotatedfeatureprovider.md)
- [AnnotatedPrediction](createmlcomponents/annotatedprediction.md)
- [DataFrameTemporalAnnotationParameters](createmlcomponents/dataframetemporalannotationparameters.md)
