⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check.m

📁 The goal of SPID is to provide the user with tools capable to simulate, preprocess, process and clas
💻 M
字号:
function bool = check(train1_resampled,train2_resampled,prob_1,prob_2)

	som1 = sum(prob_2(1:size(train1_resampled,1)));
	som2 = sum(prob_1(   (size(train1_resampled,1)+1) :  (size(train2_resampled,1)) ));

	lim1 = (size(train1_resampled,1)) * 0.01;
	lim2 = ( (size(train2_resampled,1)) - (size(train1_resampled,1)+1) )  * 0.01 ;

	if (som1 < lim1 && som2 < lim2)
	    bool = 0;
	else
	    bool = 1;
	end
end

⌨️ 快捷键说明

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