You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/05/31 23:15:31 UTC

[GitHub] [tvm] tkonolige commented on a diff in pull request #11479: [FIX] Pad feature vectors to the same size in xgboost cost model

tkonolige commented on code in PR #11479:
URL: https://github.com/apache/tvm/pull/11479#discussion_r886198392


##########
tests/python/unittest/test_autotvm_xgboost_model.py:
##########
@@ -43,6 +43,8 @@ def test_fit():
 
     upper_model.fit(xs, ys, plan_size=32)
 
+    upper_model.predict(np.ones(12))

Review Comment:
   Surprisingly, xgboost seems to be fine doing predictions on vectors longer than what it was trained on.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org