find_classes.m

来自「模式识别matlab工具箱,包括SVM,ICA,PCA,NN等等模式识别算法,很」· M 代码 · 共 7 行

M
7
字号
function [N, classes] = find_classes(targets)

%Find the number of target classes in the targets of a data set

classes = unique(targets);
N       = length(classes);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?