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
Move feature derivation #1616
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM++ Thanks
pkg/step/feature/derivation.go
Outdated
@@ -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] |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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
pkg/featurederivation
topkg/step/feature
pkg/featurederivation/feature_derivation*.go
topkg/step/feature/derivation*.go
featurederivation.FeatureColumnMap
tofeature.ColumnMap
featurederivation.LogFeatureDerivationResult
tofeature.LogDerivationResult
.