Does Matlab have a function that provide label encoder for multi class classification ?
조회 수: 10 (최근 30일)
이전 댓글 표시
The Python's scikit learn library has a label encoder that encode target labels with value between 0 and n_classes-1 at the link below
It also support the ability to transform labels back to the original version.
Does Matlab has an equivalent function ?
In the case matlab does not have it, is there anyway I can call this python encoder from matlab ?
I am using Matlab 2020a
댓글 수: 0
답변 (1개)
Mohammad Sami
2020년 8월 21일
편집: Mohammad Sami
2020년 8월 21일
For Classification problems, if you use Categorical variables, MATLAB will do this automatically for you. This is transparent to the user.
You can find more details about categorical variables here
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!