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

compute_statistics #213

Merged
merged 3 commits into from
Jan 8, 2021
Merged

Conversation

davitbzh
Copy link
Contributor

@davitbzh davitbzh commented Jan 7, 2021

No description provided.

@davitbzh davitbzh requested a review from SirOibaf January 7, 2021 21:07
@@ -640,6 +648,27 @@ def commit_delete_record(
"""
self._feature_group_engine.commit_delete(self, delete_df, write_options)

def compute_statistics(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

This is wrong. compute_statistics should be a member of the FeatureGroupBase class so that it can be used also by the on-demand feature groups

@davitbzh davitbzh requested a review from SirOibaf January 8, 2021 00:34
@@ -218,6 +218,27 @@ def get_feature(self, name: str):
f"'FeatureGroup' object has no feature called '{name}'."
)

def compute_statistics(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please not mix the methods? The rest of the statistics methods start at line 265.

@davitbzh davitbzh requested a review from SirOibaf January 8, 2021 10:08
@SirOibaf SirOibaf merged commit 626d96f into logicalclocks:master Jan 8, 2021
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