Skip to content

Conversation

@tonyyang-svail
Copy link
Collaborator

It depends on #1004.

Fix #1002.

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.

merge #1004 (review) first?

@tonyyang-svail
Copy link
Collaborator Author

merge #1004 (review) first?

Done.

return nil
},
func newFloat32(f float32) *float32 {
return &f
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure if returning the address of a parameter is to new a float value. Maybe

return &new(float32)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@tonyyang-svail tonyyang-svail merged commit f17364b into sql-machine-learning:develop Oct 15, 2019
@tonyyang-svail tonyyang-svail deleted the fix_1002 branch October 15, 2019 23:54
shendiaomo pushed a commit to shendiaomo/sqlflow that referenced this pull request Oct 22, 2019
…g#1005)

* Add attribute value range checker helper function

* Use pkg/sql/codegen/attribute in XGBoost TrainIR

* clean up
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.

Use pkg/sql/codegen/attribute in XGBoost TrainIR

3 participants