Skip to content

Commit

Permalink
Update learning_curves.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
OkonSamuel committed Jun 11, 2020
1 parent d5d379b commit 5252edf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/learning_curves.jl
Expand Up @@ -72,6 +72,8 @@ y = 2*x1 .+ 5*x2 .- 3*x3 .+ 0.2*rand(100);

end

@static if VERSION >= v"1.3.0-DEV.573"

@testset_accelerated "learning curves (CPUThreads grid) " accel begin
atom = FooBarRegressor()
ensemble = EnsembleModel(atom=atom, n=50)
Expand Down Expand Up @@ -123,6 +125,8 @@ end
@test curves2.measurements curves3.measurements

end
end

@testset_accelerated "learning curves (CPUProcesses grid) " accel begin
atom = FooBarRegressor()
ensemble = EnsembleModel(atom=atom, n=50)
Expand Down

0 comments on commit 5252edf

Please sign in to comment.