A feature is a column in a dataset, an independent variable used as an input in a machine learning model. For example, if we’re predicting the likelihood of diabetes using height, weight, and sugar intake—height, weight, and sugar intake are features.