Error using classify!

4 次查看(过去 30 天)
Hassan Ashraf
Hassan Ashraf 2019-7-9
I am trying to classify training and testing data using "classify" command but unluckily i'm getting an error.
Error using classify
The pooled covariance matrix of TRAINING must be positive definite.
I have following training and testing data:
Training Features with 13320x7 dimensions, where I have 13320 observations and 7 features.
Training Labels with 13320x1 dimensions,
and
Testing Features 106807x7 dimensions, where I have 106807 observations and 7 features
Testing Labels with 106807x1 dimensions.
I have tried PCA, reduced features from 7 to 5, 3 and 1 but it didnt worked.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by