-
MyKmeans
实现聚类K均值算法: K均值算法:给定类的个数K,将n个对象分到K个类中去,使得类内对象之间的相似性最大,而类之间的相似性最小。 缺点:产生类的大小相差不会很大,对于脏数据很敏感。 改进的算法:k—medoids 方法。这儿选取一个对象叫做mediod来代替上面的中心 的作用,这样的一个medoid就标识了这个类。步骤: 1,任意选取K个对象作为medoids(O1,O2,…Oi…Ok)。 以下是循环的: 2,将余下的对象分到各个类中去(根据与medoid最相近的原则); 3,对于每个类(Oi)中,顺序选取一个Or,计算用Or代替Oi后的消耗—E(Or)。选择E最小的那个Or来代替Oi。这样K个medoids就改变了,下面就再转到2。 4,这样循环直到K个medoids固定下来。 这种算法对于脏数据和异常数据不敏感,但计算量显然要比K均值要大,一般只适合小数据量。(achieving K-mean clustering algorithms : K-means algorithm : given the number of Class K, n will be assigned to target K to 000 category, making target category of the similarity between the largest category of the similarity between the smallest. Disadvantages : class size have no great difference for dirty data is very sensitive. Improved algorithms : k-medoids methods. Here a selection of objects called mediod to replace the center of the above, the logo on a medoid this category. Steps : 1, arbitrary selection of objects as K medoids (O1, O2, Ok ... ... Oi). Following is a cycle : 2, the remaining targets assigned to each category (in accordance with the closest medoid principle); 3, for each category (Oi), the order of selection of a Or, calculated Oi Or replace the consumption-E (Or))
- 2005-07-26 01:32:58下载
- 积分:1
-
daima
(压缩包里一共有5个代码)
pca+lda+粗糙集+模糊神经网络
saveORLimage.m将ORL人脸库分为测试集ptest和训练集pstudy存为imagedata.mat
1.savelda.m将人脸库先进行pca降维,再用lda进行特征提取,得到新的测试集ldatest和训练集ldastudy存为imageldadata.mat
2.对ldastudy进行离散化(discretimage.m),得到离散化矩阵disdata,存入到imagedisdata.mat
3.将disdata组成决策表(savers.m),通过对disdata的条件属性进行约简,得到其一个约简,组成新的测试集rstest和训练集rsstudy存为imagersdata.mat
4.对rsstudy进行模糊神经网络训练(savecul.m),对模糊神经网络的参数进行调整学习将其存入culdata.mat
5.用runfnn.m对rstest进行测试得到其识别率
savem.m和cm.m是用最小距离分类器对训练集和测试集进行分类.(pca+ lda+ Rough Set+ fuzzy neural network
saveORLimage.m will ORL face database is divided into test set and training set ptest for pstudy keep imagedata.mat
Treasury will face 1.savelda.m first dimensionality reduction pca, lda used feature extraction, a new test set and training set ldatest for ldastudy keep imageldadata.mat
2. Ldastudy carried out on the discretization (discretimage.m), to be discrete matrix of disdata, deposited to imagedisdata.mat
3. Disdata the composition of the decision table (savers.m), the conditions on the attributes disdata about Jane, has been one of its reduction to form the new test set and training set rstest for rsstudy keep imagersdata.mat
4. Rsstudy training fuzzy neural network (savecul.m), on the parameters of fuzzy neural network to learn to adjust their deposit culdata.mat
5. Rstest used to test for runfnn.m by its recognition rate
cm.m is savem.m and minimum distance classifier on the training set and test set classificati)
- 2009-06-07 11:50:01下载
- 积分:1
-
fuzzyPID
对一个对象进行模糊PID控制的程序,该控制方法结合了传统PID控制和模糊控制的优点,具有更好的性能,是一种智能PID控制(On an object, the fuzzy PID control procedures, the control method combines the advantages of traditional PID control and fuzzy control has better performance, is an intelligent PID control)
- 2012-05-20 18:02:05下载
- 积分:1
-
aw
说明: 车辆系统动力性单轮模型,根据运动方程计算车轮位移和车身位移的频率响应函数,以及系统响应输出的功率谱密度(Single wheel vehicle system dynamic model, calculated according to the equation of motion wheel displacement and Body displacement frequency response function, and the system responds with output power spectral density)
- 2012-09-19 15:09:30下载
- 积分:1
-
w
说明: 用标记分水岭算法进行图像的分割,得到分割伪彩色图像。(use the watershed Algorithms to divide the picture)
- 2010-07-28 09:58:05下载
- 积分:1
-
pll
another phase locked example for matlab
- 2009-05-24 08:55:17下载
- 积分:1
-
Matlab.Ebooks
MATLAB入门及金融经济学方面的应用,五本电子书。国外权威译本。(MATLAB entry and the application of financial economics, five e-books. Authoritative foreign translation.)
- 2012-06-06 13:41:14下载
- 积分:1
-
block-operation
matlab块操作,通过此程序,可以对图像进行边沿操作,交叠快操作(Matlab block operations, through this program, the image edge, overlapping fast operation)
- 2013-04-18 00:01:54下载
- 积分:1
-
MIMO-OFDM-with-matlab
Book MIMO MATlab OFDM
- 2015-03-05 11:42:51下载
- 积分:1
-
spams_matlab_v2.2_win64
spams matlab toolbox V2.2 for windows 64
- 2015-04-07 13:59:26下载
- 积分:1