필터 지우기
필터 지우기

Training ECOC multiclass model with tall arrays

조회 수: 1 (최근 30일)
Amelia
Amelia 2020년 9월 26일
편집: Amelia 2020년 9월 26일
Hello
I have a big feature matrix (6000*40000), rows correspond to (observation) and columns correspond to (predictor variable). i use machine learning to train ECOC multiclass model using fitcecoc matlab function.
Due to the huge size of the feature matrix, I use tall arrays to handle the training data. As the the training data is a matrix, I used arrayDatastore to save the training data and pass it then to the tall array.
When I pass the training data to the fitcecoc function, this error appears:
Error using tall/fitcecoc (line 108)
Argumgent 1 to FITCECOC must be one of the following data types: float
Erroe in classifier_training_using_tall_arrays (line 15)
Gabor_feature_mdl=fitcecoc(Xtrain, Labeltrain, ‘learner’, t);
i trid to use datastore only insist of arrayDatastore, but it can not recognize the data.
thanks in advance
  댓글 수: 4
Ameer Hamza
Ameer Hamza 2020년 9월 26일
The documentation mentions that fitcecoc does support tall arrays. I am not sure why you are getting this error. For learner type, you need to pass t without the Apostrophes.
Amelia
Amelia 2020년 9월 26일
Yes I noticed that and correct it, but it isn't the reason of the error.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by