-
Notifications
You must be signed in to change notification settings - Fork 862
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
Fix plot ensemble model on Windows #3259
Conversation
@@ -111,6 +111,7 @@ def test_advanced_functionality(): | |||
savedir_predictor_original = savedir + 'predictor/' | |||
predictor: TabularPredictor = TabularPredictor(label=label, path=savedir_predictor_original).fit(train_data) | |||
leaderboard = predictor.leaderboard(data=test_data) | |||
predictor.plot_ensemble_model() |
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.
we need to install pygraphviz for unit tests to work, it isn't installed by default.
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. it might be tricky to install this in our CI env as it requires some C++ library. I'll take a look
@@ -219,6 +220,7 @@ def test_advanced_functionality(): | |||
|
|||
assert(predictor.get_model_full_dict() == dict()) | |||
predictor.refit_full() | |||
predictor.plot_ensemble_model() |
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.
can check that the output file exists on disk, probably that is good enough for testing purposes
Job PR-3259-2efc65f is done. |
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 assuming the tests pass on Windows
Have tested on Windows. Will merge now |
Issue #, if available:
#1065
Description of changes:
\\
separator on Windows as escape character.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.