We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08421c3 commit d3ae3c8Copy full SHA for d3ae3c8
test/argmax_2d.jl
@@ -1,5 +1,6 @@
1
@testitem "Argmax2D" begin
2
using DecisionFocusedLearningBenchmarks
3
+ using Plots
4
5
nb_features = 5
6
b = Argmax2DBenchmark(; nb_features=nb_features)
@@ -12,6 +13,10 @@
12
13
model = generate_statistical_model(b)
14
maximizer = generate_maximizer(b)
15
16
+ # Test plot_data
17
+ figure = plot_data(b, dataset[1])
18
+ @test figure isa Plots.Plot
19
+
20
for (i, sample) in enumerate(dataset)
21
(; x, θ_true, y_true, instance) = sample
22
@test length(x) == nb_features
0 commit comments