Data Science Online

Have a question or need some help?
Phone: | Email:

Therapro 2026 School Edition Catalog
Monthly Sales Bin
Upcoming Webinar

Have a question or need some help?
Hours: Mon-Fri, 9:00AM to 4:00 PM, EST
Tel:
Fax: (508) 875-2062 • (800) 268-6624

Data Science Online

In data science, generating a feature (often called or feature generation ) is the process of constructing new variables from existing raw data to improve a machine learning model's predictive power . Here are common ways to generate a new feature: 1. Mathematical Combinations

In a medical dataset, calculate "Total Family Members" by adding "Siblings" and "Parents" columns. Polynomials: Squaring or cubing a feature (e.g., x2x squared ) can help capture non-linear relationships. 2. Time-Based Transformations

Create a "Price per Square Foot" feature by dividing total house price by area.

You can combine multiple existing features using basic arithmetic to capture relationships the model might not see on its own.

Raw timestamps are rarely useful to models directly; they must be broken down into categorical or numerical insights.

In data science, generating a feature (often called or feature generation ) is the process of constructing new variables from existing raw data to improve a machine learning model's predictive power . Here are common ways to generate a new feature: 1. Mathematical Combinations

In a medical dataset, calculate "Total Family Members" by adding "Siblings" and "Parents" columns. Polynomials: Squaring or cubing a feature (e.g., x2x squared ) can help capture non-linear relationships. 2. Time-Based Transformations

Create a "Price per Square Foot" feature by dividing total house price by area.

You can combine multiple existing features using basic arithmetic to capture relationships the model might not see on its own.

Raw timestamps are rarely useful to models directly; they must be broken down into categorical or numerical insights.