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

Testing/Sample - Made checking confusion matrix data more robust #1196

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Apr 22, 2019

The sample tests no longer depend on particular file names inside the archive. Now they only depend on the artifact name.


This change is Reviewable

The sample tests no longer depend on particular  file names inside the archive. Now they only depend on the artifact name.
@gaoning777
Copy link
Contributor

Could you debug the sample test error, please?

@Ark-kun Ark-kun changed the title Testing/Sample - Made checking confusion matrix data more robust [WIP]Testing/Sample - Made checking confusion matrix data more robust Apr 23, 2019
@Ark-kun
Copy link
Contributor Author

Ark-kun commented Apr 23, 2019

Could you debug the sample test error, please?

Thanks for noticing this.

Looks like json.load only supports reading from binary files since python 3.6. https://docs.python.org/3/library/json.html#json.load

I'll fix that.

`json.load` only supports reading from binary files in python 3.6+. https://docs.python.org/3/library/json.html#json.load
@Ark-kun
Copy link
Contributor Author

Ark-kun commented Apr 23, 2019

/test kubeflow-pipeline-e2e-test

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Apr 23, 2019

Could you debug the sample test error, please?

Sample test succeeds now.

@Ark-kun Ark-kun changed the title [WIP]Testing/Sample - Made checking confusion matrix data more robust Testing/Sample - Made checking confusion matrix data more robust Apr 23, 2019
@gaoning777
Copy link
Contributor

The link(https://docs.python.org/3/library/json.html#json.load) says it supports both text and binary.

@gaoning777
Copy link
Contributor

/lgtm

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Apr 25, 2019

The link(https://docs.python.org/3/library/json.html#json.load) says it supports both text and binary.

That's what I was thinking. Unfortunately, the footnote at that link is:

Changed in version 3.6: fp can now be a binary file. The input encoding should be UTF-8, UTF-16 or UTF-32.

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Apr 25, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit e249289 into kubeflow:master Apr 25, 2019
@Ark-kun Ark-kun deleted the Testing/Sample---Made-getting-artifact-data-more-robust branch April 26, 2019 02:41
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* Add V2 support to XGBoost predictor

* Add V2 server for XGBoost to configmap

* Add test for XGBoost v2

* Add docs for XGBoost V2 predictor

* Fix typo in config

* Fix references in SKLearn readme

* Fix XGBoost tests

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants