Skip to content

Commit

Permalink
do svm and ranger Pt.9
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Jan 19, 2024
1 parent 8e98559 commit bd03ff5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ using Test
# @test val[:x] == u
#end

@testset "----- Testing dynrmf (ranger) -----" begin
val = Ahead.dynrmf(u, h=6, method="randomforest", num_trees=50)
println(val)
#@test isapprox(round(val[:residuals][1]), 0)
@test val[:x] == u
end
#@testset "----- Testing dynrmf (ranger) -----" begin
# val = Ahead.dynrmf(u, h=6, method="randomforest", num_trees=50)
# println(val)
# #@test isapprox(round(val[:residuals][1]), 0)
# @test val[:x] == u
#end

#@testset "----- Testing eatf -----" begin
# val = Ahead.eatf(y, h=6)
Expand All @@ -64,4 +64,4 @@ using Test
@test val[:method] == "ridge2"
end

end
end

0 comments on commit bd03ff5

Please sign in to comment.