Skip to content

add training metrics verification for antxgb - #767

Merged
sperlingxx merged 3 commits into
sql-machine-learning:developfrom
sperlingxx:antxgb_dev
Sep 3, 2019
Merged

sperlingxx merged 3 commits into
sql-machine-learning:developfrom
sperlingxx:antxgb_dev

Conversation

@sperlingxx

Copy link
Copy Markdown
Contributor
  1. save metrics of antxgb training in a separate json file
  2. add train metrics verification tests for antxgb
  3. lower field names of boston data

@Yancey0623 Yancey0623 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

# dump training config
config = json.dumps(config_helper.dump_config(train_fields), indent=2)
config = re.sub(r'"password": ".*"', '"password": "*****"', config)
logging.warning("======xgboost training config======\n%s" % config)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

logginer.info ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Use warning here because info level seems to be ignored by sqlflow streaming.

@sperlingxx
sperlingxx merged commit 3239d18 into sql-machine-learning:develop Sep 3, 2019
@sperlingxx
sperlingxx deleted the antxgb_dev branch September 3, 2019 11:22
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