How to increase the number of data in 70x6 matrix?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abdulaziz Abutunis
le 6 Oct 2021
Commenté : Abdulaziz Abutunis
le 13 Oct 2021
Dear All,
I wonder if MATLAB has a tool allows for increasing the number of data in 70x6 matrix while maintinaing the same relations. Some thing like intrapolation but for several arrays instade of one.
Thanks
Aziz
6 commentaires
John D'Errico
le 6 Oct 2021
Modifié(e) : John D'Errico
le 6 Oct 2021
Um, what does a 70x6 matrix mean? What are the two dimensions of that matrix? Do you have 70 data points that essentially live scattered in a 6 dimensional spade? Or do you have a 70x6 array, that one can imagine as a 2-dimensional surface, thus z(x,y)? I suppose you might even have only 6 data points, each of which lives in a 70 dimensional space. The last case would be hopeless to solve of course.
The difference is highly significant, and would require different solutions for each case.
Abdulaziz Abutunis
le 7 Oct 2021
Modifié(e) : Walter Roberson
le 7 Oct 2021
Réponse acceptée
Walter Roberson
le 7 Oct 2021
Ah, my earlier replies were based upon the idea that the data is 2D.
If you had one fewer independent variables then you could use scatteredInterpolant, but you cannot do that with 4 independent variables.
You can compute the voronoi diagram; https://www.mathworks.com/help/matlab/ref/voronoin.html but it is not immediately clear what you would do with the result.
It might be easiest to do a KNN (K-Nearest Neighbours) classification and use predict() at the points you want to fill in; https://www.mathworks.com/help/stats/fitcknn.html and https://www.mathworks.com/help/stats/fitcknn.html
3 commentaires
Walter Roberson
le 13 Oct 2021
You cannot meaningfully train on predicted or interpolated data for most purposes.
... Except for the case for where the reason you are training is to find a replacement algorithm for the prediction or interpolation, having already verified by some other means that the prediction or interpretation does a good job, but perhaps looking for a replacement algorithm that can be executed faster (such as on GPU)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!