Skip to content

Commit

Permalink
Update test_scalar_ge.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry57 authored Oct 29, 2024
1 parent 01fbfd5 commit d121e0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytest/test_scalar_ge.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
matplotlib.use('Agg')

def test_func_ge():
scalar_continuous = sim_data_scalar(rho_G=0.25, rho_E=0.3, dim_G=500, dim_E=5, n=500, dim_E_Sparse=2, ytype='Continuous', n_inter=30)
scalar_binary = sim_data_scalar(rho_G=0.25, rho_E=0.3, dim_G=500, dim_E=5, n=500, dim_E_Sparse=2, ytype='Binary', n_inter=10)
scalar_survival = sim_data_scalar(rho_G=0.25, rho_E=0.3, dim_G=500, dim_E=5, n=500, dim_E_Sparse=2, ytype='Survival', n_inter=10, linear = False)
scalar_continuous = sim_data_scalar(rho_G=0.25, rho_E=0.3, dim_G=500, dim_E=5, n=500, dim_E_Sparse=2, ytype='Continuous', n_inter=30, seed = 123)
scalar_binary = sim_data_scalar(rho_G=0.25, rho_E=0.3, dim_G=500, dim_E=5, n=500, dim_E_Sparse=2, ytype='Binary', n_inter=10, seed = 123)
scalar_survival = sim_data_scalar(rho_G=0.25, rho_E=0.3, dim_G=500, dim_E=5, n=500, dim_E_Sparse=2, ytype='Survival', n_inter=10, linear = False, seed = 123)
scalar_ge_res_1 = scalar_ge(data=scalar_continuous['data'], ytype='Continuous', dim_G=500, dim_E=5, haveGE=True,
num_hidden_layers=2, nodes_hidden_layer=[1000,100],
Learning_Rate2=0.035, L2=0.01, Learning_Rate1=0.06, L=0.09,
Expand Down

0 comments on commit d121e0b

Please sign in to comment.