Skip to content

Adds first scenario for feature engineering examples #68

Description

Issue by skrawcz
Tuesday Feb 14, 2023 at 20:22 GMT
Originally opened as stitchfix/hamilton#311


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.

Changes

  • adds feature_engineering folder to examples
  • adds scenario 1

How I tested this

  • ran this code locally

Notes

Checklist

  • PR has an informative and human-readable title (this will be pulled into the release notes)
  • Changes are limited to a single goal (no scope creep)
  • Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future TODOs are captured in comments
  • Project documentation has been updated if adding/changing functionality.

skrawcz included the following code: https://github.com/stitchfix/hamilton/pull/311/commits

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions