我有一个 MATLAB 数据集,我只想提取数字而不读取标题。有没有直接的方法可以做到这一点?
我有这个:
MeanOfTrainingMSE MeanOfTestMSE
Naive Regression 26.291 26.327
Linear Regression (attribute 400) 1.2466 1.2592
Linear Regression (attribute 357) 1.214 1.2356
Linear Regression (attribute 440) 1.1494 1.1562
Linear Regression (attribute 404) 1.0072 1.0111
Linear Regression (attribute 238) 0.92402 0.93002
Linear Regression (attribute 473) 0.89838 0.90397
Linear Regression (all attributes) 4.1155e-07 877.58
Ridge Regression 2.9044e-10 0.2533
Kernel Ridge Regression 1054.8 1023.2
我想得到这个:
26.291 26.327
1.2466 1.2592
1.214 1.2356
1.1494 1.1562
1.0072 1.0111
0.92402 0.93002
0.89838 0.90397
4.1155e-07 877.58
2.9044e-10 0.2533
1054.8 1023.2