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