How to estimate the Rn->Rn function (operator) with effective algorithm
4 views (last 30 days)
Show older comments
Hi everybody,
I'm doing a blackbox like estimation of a Rn->Rn mapping. I have a few sampling points, which can be regarded as the known knowledge for the supervision learning. My objective is to acquire the interpolation over a bounded range in Rn, which is equivalent as estimating the Rn->Rn blackbox function (operator). I learnt that matlab build in function interpn can only dealt with scalar function, namely, Rn->R1. I wonder, this there any effective algorithm that can be easily customized for such estimation/interpolation. Thanks in advance.
0 Comments
Answers (1)
Matt J
on 9 Jul 2014
lsqcurvefit would be worth considering, if you have a differentiable parametric model for the Rn-->Rn mapping.
2 Comments
Matt J
on 9 Jul 2014
Edited: Matt J
on 9 Jul 2014
If it's just a question of how to get vector-valued output from interpn, there' no reason you can't call interpn n times, once for each component of the output. In other words, if the mapping is
y=F(x)=[F_1(x) F_2(x) ... F_n(x)]
you can just evaluate each scalar function F_i(x) by interpn, griddedInterpolant, or scatteredInterpolant, whichever is the most appropriate.
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!