Skip to content

Commit 4a43d02

Browse files
authored
Merge pull request #163 from JuliaAI/relax-some-test-tolerance
Relax some test tolerances
2 parents fd087c5 + a262fc5 commit 4a43d02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/classification/iris.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ println("\n##### nfoldCV Classification Adaboosted Stumps #####")
9898
n_iterations = 15
9999
nfolds = 3
100100
accuracy = nfoldCV_stumps(labels, features, nfolds, n_iterations)
101-
@test mean(accuracy) > 0.9
101+
@test mean(accuracy) > 0.85
102102

103103
end # @testset

test/regression/digits.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ preds = apply_forest(model, X)
8282
println("\n##### 3 foldCV Regression Tree #####")
8383
n_folds = 5
8484
r2 = nfoldCV_tree(Y, X, n_folds; verbose=false);
85-
@test mean(r2) > 0.6
85+
@test mean(r2) > 0.55
8686

8787
println("\n##### 3 foldCV Regression Forest #####")
8888
n_subfeatures = 2

0 commit comments

Comments
 (0)