摘要:
建立m文件draw_rectangle.m.其中p生成矩形的个数function draw_rectangle(p)t = 1;x = rand(1)*10;y = rand(1)*10;w = rand(1)*10;h = rand(1)*10;b =[x y w h];rectangle('P... 阅读全文
摘要:
function model = SMOforSVM(X, y, C )%sequential minimal optimization,SMOtol = 0.001; maxIters = 3000;global i1 i2 K Alpha M1 m1 w b[m, n] = size(X);K... 阅读全文