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

remove dots from feature names in distributed #382

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

jmoralez
Copy link
Member

Description

Some lag transforms that take floats produce feature names with dots, e.g. ExponentiallyWeightedMean(alpha=0.1) produces exponentially_weighted_mean_alpha0.1, which spark doesn't like. This makes it so that we replace the dots with underscores by default in the feature names. Also adds the lag_transforms_namer argument to support doing something different.

Checklist:

  • This PR has a meaningful title and a clear description.
  • The tests pass.
  • All linting tasks pass.
  • The notebooks are clean.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez merged commit cd41f7a into main Jul 17, 2024
22 checks passed
@jmoralez jmoralez deleted the remove-dots-distributed branch July 17, 2024 17:24
@jmoralez jmoralez added the fix label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant