Skip to content

Commit

Permalink
change readme
Browse files Browse the repository at this point in the history
  • Loading branch information
josemanuel22 committed Aug 2, 2024
1 parent 927fe09 commit 06019f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ end;
)
@test !isempty(loss) # Check that losses are returned
@test all(loss .>= 0) # Assuming loss cannot be negative; adjust as necessary
@test loss[end] <= loss[1]
end;

@testset "ts_invariant_statistical_loss_multivariate Tests" begin
Expand All @@ -429,7 +430,7 @@ end;
dataY = [matrix[i, :] for i in 2:size(matrix, 1)]

# Model hyperparameters and architecture
hparams = HyperParamsTS(; seed=1234, η=1e-2, epochs=2000, window_size=2000, K=10)
hparams = HyperParamsTS(; seed=1234, η=1e-2, epochs=1000, window_size=2000, K=10)
rec = Chain(RNN(7 => 3, relu), LayerNorm(3))
gen = Chain(Dense(4, 5, relu), Dropout(0.05), Dense(5, 7, identity))

Expand All @@ -451,4 +452,5 @@ end;
end
@test !isempty(loss) # Check that losses are returned
@test all(loss .>= 0) # Assuming loss cannot be negative; adjust as necessary
@test losses[end] <= losses[1]
end;

0 comments on commit 06019f9

Please sign in to comment.