Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added constructor for RadialBasis, still missing test #10

Merged
merged 5 commits into from Jun 6, 2019

Conversation

ludoro
Copy link
Contributor

@ludoro ludoro commented Jun 2, 2019

Added constructor for RadialBasis, still missing test.
I am wondering if I should use a struct containing both phi and q as input because these two elements are closely related.

Still debating if I should construct some example of radial basis, that's why I left the implementation commented.

src/Radials.jl Outdated
-'phi': radial basis of choice
-'q': number of polynomial elements
"""
function RadialBasis(new_value::Number,x::Array,y::Array,a::Number,b::Number,phi::Function,q::Int)
Copy link
Member

Choose a reason for hiding this comment

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

Put the constructor right next to the type. Also new_value shouldn't be here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why new_value should not be there? It is needed for the prediction

@ludoro ludoro merged commit 864cb02 into master Jun 6, 2019
@ludoro ludoro deleted the typed_radials branch June 6, 2019 09:21
@ludoro ludoro mentioned this pull request Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants