@@ -44,20 +44,21 @@ construct_problem = () -> begin
4444 # dense layer without bias that maps to n outputs and `identity` activation
4545 TurboDense {false} (identity, n_out)
4646 )
47- g = construct_SimpleChainsApplicator (g_chain)
48- ϕg = SimpleChains. init_params (g_chain, eltype (θM))
47+ # g = construct_SimpleChainsApplicator(g_chain)
48+ # ϕg = SimpleChains.init_params(g_chain, eltype(θM))
4949 #
5050 rng = StableRNG (111 )
5151 (; xM, n_site, θP_true, θMs_true, xP, y_global_true, y_true, y_global_o, y_o
52- ) = gen_hybridcase_synthetic (DoubleMM. DoubleMMCase (), rng;);
52+ ) = gen_hybridcase_synthetic (DoubleMM. DoubleMMCase (), rng;)
5353 train_loader = MLUtils. DataLoader ((xM, xP, y_o), batchsize = n_batch)
54- HybridProblem (θP, θM, transM, transP, n_covar, n_batch, f_doubleMM_with_global,
55- g, ϕg, train_loader)
54+ # HybridProblem(θP, θM, transM, transP, n_covar, n_batch, f_doubleMM_with_global,
55+ # g, ϕg, train_loader)
56+ HybridProblem (θP, θM, g_chain, f_doubleMM_with_global,
57+ transM, transP, n_covar, n_batch, train_loader)
5658end
5759prob = construct_problem ();
5860scenario = (:default ,)
5961
60-
6162# (; n_covar, n_batch, n_θM, n_θP) = get_hybridcase_sizes(prob; scenario)
6263
6364@testset " loss_gf" begin
0 commit comments