Skip to content

Commit

Permalink
Update test_func_ge.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry57 authored Oct 26, 2024
1 parent cc3a73a commit 14f8234
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytest/test_func_ge.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from GENetLib.func_ge import func_ge

def test_grid_func_ge():
func_continuous = sim_data_func(n=100, m=30, ytype='Continuous', seed=123)
func_continuous = sim_data_func(n=10, m=30, ytype='Continuous', seed=123)
func_ge_res = func_ge(func_continuous['y'], func_continuous['z'], func_continuous['location'],
func_continuous['X'], 'Continuous', 'Bspline', num_hidden_layers=2, nodes_hidden_layer=[20,5],
func_continuous['X'], 'Continuous', 'Bspline', num_hidden_layers=1, nodes_hidden_layer=[2],
Learning_Rate2=0.035, L2=0.01, Learning_Rate1=0.02, L=0.01, Num_Epochs=1,
nbasis1=5, params1=4, Bsplines=5, norder1=4, model=None, split_type=1, ratio=[3, 1, 1], plot_res=False)
nbasis1=5, params1=4, Bsplines=5, norder1=4, model=None, split_type=0, ratio=[7,3], plot_res=False)
assert func_ge_res is not None

0 comments on commit 14f8234

Please sign in to comment.