Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated Support to add custom features #82

Merged
merged 14 commits into from
Jul 2, 2024
Merged

Integrated Support to add custom features #82

merged 14 commits into from
Jul 2, 2024

Conversation

Hsankesara
Copy link
Member

@Hsankesara Hsankesara commented Jun 24, 2024

  • Added mechanism to add custom features
  • Added feature to return dict as a feature output
  • Added tabularize custom feature which would read the data and save the tabularized version of them.
  • Added a feature to run multiple feature libraries in a single run.
  • Discontinued support for Python 3.8 and 3.9 due to newer dependencies not being compatible with older versions.
  • Added support for Python 3.11 and 3.12
  • Added Custom FeatureLoader Module which can be used for Loading feature and return them in pandas or spark dataframe

To run Feature Loader, you have to create a config dict and pass it to the Feature Loader doc. Here's an example.

from radarpipeline.features import FeatureLoader
config = {
    "input": {"config": {"source_path": PATH}},
"features": [
    {
        "location": 'https://github.com/RADAR-base-Analytics/mockfeatures',
        "feature_groups": ["MockFeatureGroup"],
        "feature_names": [["all"]]
     }
]
}

feature_loader = FeatureLoader(config)
cfeatures = feature_loader.load_features()

@Hsankesara Hsankesara requested a review from afolarin June 25, 2024 13:28
Copy link
Member

@afolarin afolarin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be super useful, very nice @Hsankesara 👍 LGTM.

@Hsankesara Hsankesara merged commit c015771 into dev Jul 2, 2024
3 checks passed
@Hsankesara Hsankesara deleted the tabularize branch July 2, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants