Skip to content

Commit

Permalink
per-version xgboost values
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelizimm committed Sep 14, 2023
1 parent 6d33440 commit d5dce53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vetiver/tests/test_xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_vetiver_build(vetiver_client):

response = vetiver.predict(endpoint=vetiver_client, data=data)

assert response.iloc[0, 0] == 19.963224411010742
assert response.iloc[0, 0] == PREDICT_VALUE
assert len(response) == 1


Expand All @@ -73,7 +73,7 @@ def test_batch(vetiver_client):

response = vetiver.predict(endpoint=vetiver_client, data=data)

assert response.iloc[0, 0] == 19.963224411010742
assert response.iloc[0, 0] == PREDICT_VALUE
assert len(response) == 3


Expand All @@ -82,7 +82,7 @@ def test_no_ptype(vetiver_client_check_ptype_false):

response = vetiver.predict(endpoint=vetiver_client_check_ptype_false, data=data)

assert response.iloc[0, 0] == 19.963224411010742
assert response.iloc[0, 0] == PREDICT_VALUE
assert len(response) == 1


Expand Down

0 comments on commit d5dce53

Please sign in to comment.