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.
Related terms
In machine learning, a label is the known correct output or category assigned to a training data example that a model learns to predict.
A dataset is a structured collection of data points used to train, validate, or test machine learning models.
Feature engineering is the process of transforming raw data into meaningful input variables (features) that help machine learning models learn patterns more effectively.
Batch size is the number of training examples processed together in a single forward and backward pass during model training.
Data augmentation is a technique that artificially increases the size and diversity of a training dataset by creating modified versions of existing data samples.
An epoch is one complete pass of a machine learning model through the entire training dataset during training.