Skip to content

Commit

Permalink
better test < np features
Browse files Browse the repository at this point in the history
  • Loading branch information
odunbar committed Oct 12, 2024
1 parent b5b2720 commit b7eeba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Emulator/G-function/emulate-test-n-features.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function main()
rng = MersenneTwister(seed)

n_repeats = 5 # repeat exp with same data.
n_dimensions = 3
n_dimensions = 6
# To create the sampling
n_data_gen = 800

Expand Down Expand Up @@ -166,7 +166,7 @@ function main()
test_err[f_idx,rep_idx] = sqrt(sum((y_pred[ind_test] - y[ind_test]).^2))/length(ind_test)

JLD2.save(
joinpath(output_directory, "diff_n_features_GFunction_$(n_dimensions)_ndata$(n_data).jld2"),
joinpath(output_directory, "diff_n_features_GFunction_$(n_dimensions)_ntest-$(Int(n_train_pts/5))_cv-$(n_cross_val_sets).jld2"),
"n_features_vec", n_features_vec,
"timings", ttt,
"train_err", train_err,
Expand Down

0 comments on commit b7eeba6

Please sign in to comment.