From 6636de247d23280e844cf4ceb372da0a37e82555 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 29 Jan 2021 12:47:08 +1300 Subject: [PATCH] rm inappropriate tests --- test/runtests.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 6962070..cea0948 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -20,7 +20,6 @@ labels = features * weights; features = MLJBase.table(features) fitresultR, cacheR, reportR = MLJBase.fit(plain_regressor, 0, features, labels); rpred = predict(plain_regressor, fitresultR, features); -info_dict(XGBoostRegressor) plain_regressor.objective = "gamma" labels = abs.(labels) @@ -53,7 +52,6 @@ ycount = [rand(rng, Poisson(λᵢ)) for λᵢ ∈ λ] fitresultC, cacheC, reportC = MLJBase.fit(count_regressor, 0, Xtable, ycount); cpred = predict(count_regressor, fitresultC, Xtable); -info_dict(XGBoostCount) importances = reportC.feature_importances @@ -105,8 +103,6 @@ fitresult, cache, report = MLJBase.fit(plain_classifier, 0, yhat = predict_mode(plain_classifier, fitresult, selectrows(X, test)) @test Set(MLJBase.classes(yhat[1])) == Set(MLJBase.classes(y[train][1])) -info_dict(XGBoostClassifier) - # serialization: serializable_fitresult = MLJBase.save("mymodel", plain_classifier, fitresult)