How to increase the number of data in 70x6 matrix?

조회 수: 1 (최근 30일)
Abdulaziz Abutunis
Abdulaziz Abutunis 2021년 10월 6일
댓글: Abdulaziz Abutunis 2021년 10월 13일
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
John D'Errico
John D'Errico 2021년 10월 6일
편집: John D'Errico 2021년 10월 6일
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
Abdulaziz Abutunis 2021년 10월 7일
편집: Walter Roberson 2021년 10월 7일
As I stated earlier they are 5 independent variables and one dependent variable. So it is 5D not 2D. The 70 are the leverls of these variables, but repeated sometimes
Below is an example of 54 data inputs
Thanks
5 24 1 11 400
5 24 1 11 800
5 24 1 11 1200
5 66 2 14 400
5 66 2 14 800
5 66 2 14 1200
5 129 3 17 400
5 129 3 17 800
5 129 3 17 1200
8 24 2 17 400
8 24 2 17 800
8 24 2 17 1200
8 66 3 11 400
8 66 3 11 800
8 66 3 11 1200
8 129 1 14 400
8 129 1 14 800
8 129 1 14 1200
6 24 3 14 400
6 24 3 14 800
6 24 3 14 1200
6 66 1 17 400
6 66 1 17 800
6 66 1 17 1200
6 129 2 11 400
6 129 2 11 800
6 129 2 11 1200
5 24 1 11 400
5 24 1 11 800
5 24 1 11 1200
5 66 2 14 400
5 66 2 14 800
5 66 2 14 1200
5 129 3 17 400
5 129 3 17 800
5 129 3 17 1200
8 24 2 17 400
8 24 2 17 800
8 24 2 17 1200
8 66 3 11 400
8 66 3 11 800
8 66 3 11 1200
8 129 1 14 400
8 129 1 14 800
8 129 1 14 1200
10 24 3 14 400
10 24 3 14 800
10 24 3 14 1200
10 66 1 17 400
10 66 1 17 800
10 66 1 17 1200
10 129 2 11 400
10 129 2 11 800
10 129 2 11 1200

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2021년 10월 7일
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
Walter Roberson
Walter Roberson 2021년 10월 13일
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)
Abdulaziz Abutunis
Abdulaziz Abutunis 2021년 10월 13일
Agree, thanks again

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by