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

Part 2 of the issue 3153 code snippets for the remaing API methods #3437

Merged
merged 3 commits into from Sep 25, 2020

Conversation

dmatrix
Copy link
Contributor

@dmatrix dmatrix commented Sep 18, 2020

Signed-off-by: Jules Damji dmatrix@comcast.net

What changes are proposed in this pull request?

This is part 2 for the #3385

(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)

What component(s), interfaces, languages, and integrations does this PR affect?

Components

  • area/artifacts: Artifact stores and artifact logging
  • area/build: Build and test infrastructure for MLflow
  • [x ] area/docs: MLflow documentation pages
  • area/examples: Example code
  • area/model-registry: Model Registry service, APIs, and the fluent client calls for Model Registry
  • area/models: MLmodel format, model serialization/deserialization, flavors
  • area/projects: MLproject format, project running backends
  • area/scoring: Local serving, model deployment tools, spark UDFs
  • area/server-infra: MLflow server, JavaScript dev server
  • area/tracking: Tracking Service, tracking client APIs, autologging

How should the PR be classified in the release notes? Choose one:

  • rn/breaking-change - The PR will be mentioned in the "Breaking Changes" section
  • rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section
  • rn/feature - A new user-facing feature worth mentioning in the release notes
  • rn/bug-fix - A user-facing bug fix worth mentioning in the release notes
  • [ x] rn/documentation - A user-facing documentation change worth mentioning in the release notes

Signed-off-by: Jules Damji <dmatrix@comcast.net>
@github-actions github-actions bot added area/docs Documentation issues rn/documentation Mention under Documentation Changes in Changelogs. labels Sep 18, 2020
@dmatrix dmatrix requested review from harupy and removed request for dbczumar September 18, 2020 20:58
mlflow/tracking/fluent.py Outdated Show resolved Hide resolved
mlflow/tracking/fluent.py Outdated Show resolved Hide resolved
mlflow/tracking/fluent.py Outdated Show resolved Hide resolved
mlflow/tracking/fluent.py Outdated Show resolved Hide resolved
Signed-off-by: Jules Damji <dmatrix@comcast.net>
print("--")

# Check for any active runs
print("Active runs: {}".format(mlflow.active_run()))
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
print("Active runs: {}".format(mlflow.active_run()))
print("Active run: {}".format(mlflow.active_run()))

Active runs souns like there is a possibility that there are multiple active runs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point.

Comment on lines 820 to 821

# Print pandas DataFrame's rows and columns
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Print pandas DataFrame's rows and columns

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, self explanatory

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll also remove other explicit # Print statements too

Comment on lines 829 to 830

# Print pandas DataFrame's rows and columns
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Print pandas DataFrame's rows and columns

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Comment on lines 149 to 150

# Print the pandas DataFrame columns
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Print the pandas DataFrame columns

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Signed-off-by: Jules Damji <dmatrix@comcast.net>
@harupy
Copy link
Member

harupy commented Sep 25, 2020

LGTM!

@dmatrix dmatrix merged commit 3f53b46 into mlflow:master Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Documentation issues rn/documentation Mention under Documentation Changes in Changelogs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants