这是一个将n个样本聚类到m个类别中 将n个样本在m个类里如何分配输出的遗传算法代码。 适应度:sum(i=1_110)sum(j=1_20)【xi-vj】~2
上传时间: 2014-08-09
上传用户:wkchong
This directory contains code implementing the K-means algorithm using min-max distance.
标签: implementing directory algorithm contains
上传时间: 2016-10-11
上传用户:familiarsmile
Abstract A new intelligent milometer base on a microcontroller can count the sum. By taking full use of the processor 89s51 and E² PROM (AT24C02) and sensor of magnetism, it can count the sum of fully distance and the course of development.
标签: microcontroller intelligent milometer Abstract
上传时间: 2016-10-12
上传用户:hoperingcong
Relationship Between the Sum of Squared Difference (SSD) and Cross Correlation for Template Matching Konstantinos G. Derpanis York University kosta@cs.yorku.ca Version 1.0 December 23, 2005
标签: Relationship Correlation Difference Template
上传时间: 2014-01-10
上传用户:妄想演绎师
Introduce for sum system
上传时间: 2016-11-23
上传用户:集美慧
function [U,center,result,w,obj_fcn]= fenlei(data) [data_n,in_n] = size(data) m= 2 % Exponent for U max_iter = 100 % Max. iteration min_impro =1e-5 % Min. improvement c=3 [center, U, obj_fcn] = fcm(data, c) for i=1:max_iter if F(U)>0.98 break else w_new=eye(in_n,in_n) center1=sum(center)/c a=center1(1)./center1 deta=center-center1(ones(c,1),:) w=sqrt(sum(deta.^2)).*a for j=1:in_n w_new(j,j)=w(j) end data1=data*w_new [center, U, obj_fcn] = fcm(data1, c) center=center./w(ones(c,1),:) obj_fcn=obj_fcn/sum(w.^2) end end display(i) result=zeros(1,data_n) U_=max(U) for i=1:data_n for j=1:c if U(j,i)==U_(i) result(i)=j continue end end end
标签: data function Exponent obj_fcn
上传时间: 2013-12-18
上传用户:ynzfm
编译原理--词法分析 功能: 输入:所给文法的源程序字符串 输出:二元组(syn,token或sum)构成的序列
上传时间: 2013-12-20
上传用户:wqxstar
verilog code 16-bit carry look-ahead adder output [15:0] sum // 相加總和 output carryout // 進位 input [15:0] A_in // 輸入A input [15:0] B_in // 輸入B input carryin // 第一級進位 C0
标签: output look-ahead carryout verilog
上传时间: 2014-12-06
上传用户:ls530720646
int getDivisor(int iNum) { int i = 1 int sum = 0 if (0 == iNum) { return 1 } while (i <= iNum / 2) { if (0 == iNum % i) { sum++ } i++ } return (sum+1) }
标签: int iNum getDivisor return
上传时间: 2013-12-17
上传用户:frank1234
动态规划算法:Max-Min Tree Paritioning
标签: Paritioning Max-Min Tree 动态规划
上传时间: 2013-12-30
上传用户:z1191176801