Coder Social home page Coder Social logo

Comments (3)

bgrimstad avatar bgrimstad commented on September 15, 2024

Hi Timoteo,

Cool that you have found a use case for SPLINTER. Which programming language do you use?

We do not have any example code for automatic selection of the smoothing parameter. However, there should not be any limitations preventing you from using AIC or GCV for this. If I were to implement it, I would do it in Python first. After validating the code, I would reimplement it in C++ if needed. We would be happy to merge your implementation so that others can use it.

Please note that the develop branch is quite far ahead of the master branch. Release v3 was compiled from the master branch. The next release (v4) will be compiled from the develop branch. If you are able, I suggest that you compile from the develop branch.

Best regards,

Bjarne

from splinter.

tdinelli avatar tdinelli commented on September 15, 2024

Thank you Bjarne for the fast response,

yes I am aware of that and I am already using the version contained inside the develop branch. I use both c++ and python, and thank for the useful suggestion however I would like to reconstruct the Hat matrix first and at the moment I am not really aware on how to do that in python is there any function to get it from python?

from splinter.

bgrimstad avatar bgrimstad commented on September 15, 2024

Good. There is currently no function for retrieving the "Hat matrix" in C++ or Python. However, the necessary computations can be found in src/bspline_utils.cpp. So, it looks like some extra work is required to implement GCV. Perhaps it is better to start with AIC since it should be pretty straight-forward to implement?

from splinter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.