Skip to content

What is Feature?

In AI and machine learning, a feature is an individual measurable piece of data that serves as an input variable for a model.

Features represent specific attributes or characteristics of the data being analyzed, such as numbers, categories, or text that describe an observation.

During model training, algorithms learn patterns by examining relationships between features and the desired output, making feature quality critical to performance.

Good features capture relevant information while reducing noise, often requiring preprocessing steps like normalization or encoding to be effective.

Example

To predict whether an email is spam, features might include the number of exclamation marks, presence of certain keywords, and sender domain.

Why it matters

Features directly determine how well an AI model can learn and generalize, often having a bigger impact on results than the choice of algorithm itself.

Frequently asked questions

A feature is an input used by the model, while a label is the correct output the model tries to predict.