Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mischmi96 committed Mar 3, 2021
1 parent 71c5cc3 commit 017e2ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ANOVAapprox"
uuid = "5e027bd6-ab01-4733-8320-e0223e929ebb"
authors = ["Michael Schmischke <michael.schmischke@math.tu-chemnitz.de> and Felix Bartel <felix.bartel@math.tu-chemnitz.de>"]
version = "1.0.12"
version = "1.0.13"

[deps]
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand Down
2 changes: 1 addition & 1 deletion src/ANOVAapprox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function get_GSI( approx::fun_approx, lambda::Float64; dict=false )
end
end

return ( (dict == false) ? gsi : gsi_d )
return ( (dict == false) ? gsi : gsis_d )
end

function get_GSI( approx::fun_approx; dict=false )
Expand Down
3 changes: 3 additions & 0 deletions src/nperiodic_approx.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,17 @@ function testBandwidths( X_train::Matrix{Float64}, y_train::Vector{ComplexF64},
mses_bw = Dict()

for i in collect(keys(N))

if !isa(N[i], bw_vec)
error( "type mismatch" )
end

f = nperiodic_approx( X_train, y_train, ds, N[i]; method=method, basis=basis, active_set=active_set )
approximate(f, smoothness=smoothness, max_iter=max_iter, lambda=lambda, verbose=verbose)
mse = get_MSE( f, X_test, y_test, data_trafo=data_trafo )
min_mse = findmin(mse)
mses_bw[ (N[i], min_mse[2]) ] = min_mse[1]

end

return mses_bw
Expand Down

2 comments on commit 017e2ef

@mischmi96
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register branch=main

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/31194

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.13 -m "<description of version>" 017e2ef4c62cc96dd8329fe814771eff7bc1414f
git push origin v1.0.13

Please sign in to comment.