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

Move feature derivation #1616

Merged

Conversation

wangkuiyi
Copy link
Collaborator

  • Move package pkg/featurederivation to pkg/step/feature
  • Move files pkg/featurederivation/feature_derivation*.go to pkg/step/feature/derivation*.go
  • Rename type featurederivation.FeatureColumnMap to feature.ColumnMap
  • Rename func featurederivation.LogFeatureDerivationResult to feature.LogDerivationResult.

typhoonzero
typhoonzero previously approved these changes Jan 6, 2020
Copy link
Collaborator

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

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

LGTM++ Thanks

@@ -386,7 +386,7 @@ func InferFeatureColumns(trainStmt *ir.TrainStmt, dataSource string) error {

// set back trainStmt.Features in the order of select
for _, target := range columnTargets {
targetFeatureColumnMap := fcMap[target]
targetColumnMap := fcMap[target]
Copy link
Collaborator

Choose a reason for hiding this comment

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

The original name targetFeatureColumnMap refers to Tensorflow feature column, maybe it's better than ColumnMap?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I see. I will follow your suggestion and change it back

@wangkuiyi wangkuiyi merged commit eba7efd into sql-machine-learning:develop Jan 6, 2020
@wangkuiyi wangkuiyi deleted the move_feature_derivation branch January 6, 2020 16:53
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.

None yet

2 participants