필터 지우기
필터 지우기

Classification Learner - importing character variables?

조회 수: 4 (최근 30일)
Niclas Scott
Niclas Scott 2015년 8월 28일
댓글: areeba irfan 2016년 11월 3일
Hello there, I hope someone here can help me with a probably trivial problem. I want to use the Classification Learner App. I have a dataset with a numerical response (years) and a number of character variables as predictors or, if possible, a mix of numerical and character variables as predictors. It seems like the Classification Learner App doesn't recognize character variables and I can't the the app to import my predictor variables. Does anyone have a solution for this??
Cheers Niclas

채택된 답변

Shruti Sapre
Shruti Sapre 2015년 9월 2일
Hi Niclas,
I was looking at the documentation page, and it mentions that the predictors cannot be of any type other than numeric. I was trying a few examples and it allows an import only with numeric data types. Here is the documentation link that explains the same:
You may have to edit the predictors to be numeric, or maybe you could take in the numeric values of the character predictors.
Hope this helps!
-Shruti
  댓글 수: 1
areeba  irfan
areeba irfan 2016년 11월 3일
plz anyone tell me how to import pakage classification tool on matlab i have installed this pakage but not import or include on matlab plz help me ..... email: areebairfan2015@gmail.com

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

추가 답변 (1개)

geetu yadav
geetu yadav 2016년 5월 9일
hi can u help me how to import data in classification learner app for plant disease detection for training and classification using features values.i have feature values for all images in dataset for training.but do not know about how to use response? should i add extra column from wrkspace for response?
  댓글 수: 1
Niclas Scott
Niclas Scott 2016년 5월 10일
Hello Geetu
You have to import your response as a separate file, so you have an input array of X rows and Y columns, and a response of X rows.

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

카테고리

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