How to tell two categorical arrays with different categories names are the same

1 回表示 (過去 30 日間)
MA 2022 年 3 月 20 日
回答済み: Peter Perkins 2022 年 3 月 24 日
Assume I have two categorical arrays as for example the following:
The two arrays have different classes names (categories) but in the classification task they have the same classes. How could I tell that the two arrays are the same (have the same categories)?


Peter Perkins
Peter Perkins 2022 年 3 月 24 日
You don't have categorical arrays, you have numeric arrays. If you had categorical arrays, you'd just look at their categories.

その他の回答 (0 件)


Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by