Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Adds first scenario for feature engineering examples #311

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Feb 20, 2023

  1. Adds basic scenario 1 for feature engineering

    This example shows how you can use the same feature definitions
    in Hamilton in an offline setting and use them in an online setting.
    
    Assumptions:
     - the API request can provide the same raw data that training provides.
     - if you have aggregation features, you need to store the training result
    for them, and provide them to the online side.
    skrawcz committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    d82f877 View commit details
    Browse the repository at this point in the history
  2. Completes feature engineering scenario 1 example

    This example shows how one might use Hamilton to compute
    features in an offline and online fashion. The assumption here
    is that the request passed into the API has all the raw data
    required to compute features.
    
    This example also shows how one might "override" some values
    that are required for computing features, in this example they
    are `age_mean` and `age_std_dev`. This can be required when you
    computing aggregation features does not make sense at
    inference time.
    skrawcz committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    d47023e View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Renames constants to named_model_feature_sets

    I think that this makes things clearer what this file is, and is a lightweight
    way to register feature sets that are used by a model.
    skrawcz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    c7b0aae View commit details
    Browse the repository at this point in the history
  2. Adds more context to the feature engineering example README

    To help set the tone and explain what feature engineering is,
    as well as more context about the scenarios and the task.
    skrawcz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    f175938 View commit details
    Browse the repository at this point in the history
  3. Updates feature engineering scenario 1 with more docs

    I expand on the docs, and hopefully explain it a bit more that
    is understandable to a novice.
    skrawcz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    f6ee7e1 View commit details
    Browse the repository at this point in the history
  4. Adds tags to age_mean and age_std_dev

    As a way to show functionality that can be used to highlight
    that they should be overridden in an online setting.
    skrawcz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    784ea0f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c97cec4 View commit details
    Browse the repository at this point in the history