登录
首页 » matlab » kmeansK

kmeansK

于 2011-12-22 发布 文件大小:6KB
0 225
下载积分: 1 下载次数: 5

代码说明:

  KMEANSK Performs K-means clustering given a list of feature vectors and k The argument k indicates the number of clusters you want the data to be divided into. data_vecs (N*R) is the set of R dimensional feature vectors for N data points. Each row in data_vecs gives the R dimensional vector for a single data point. Each column in data_vecs refers to values for a particular feature vector for all the N data points. The output data_idxs is a N*1 vector of integers telling which cluster number a particular data point belongs to. It also outputs centroids which is a k*R matrix, where each rows gives the vector for the cluster center. If we want to segment a color image i into 5 clusters using spacial and color information, we can use this function as follows:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • faturesdeflections
    feature deflections identification
    2010-02-20 04:16:25下载
    积分:1
  • example_chapter2
    一本书“matlab智能算法30个案例”的第1章的源代码(Source Chapter 1 matlab intelligent algorithm 30 cases)
    2014-11-03 16:02:01下载
    积分:1
  • julei
    使用聚类分析法对数据进行处理,对初学者学习matlab中数据分类有很好的作用(Using cluster analysis method for data processing, data matlab for beginners to learn the classification have a good effect)
    2015-04-13 09:02:25下载
    积分:1
  • Voltage sags are one of the main problems
    Voltage sags are one of the main problems in transmission and distribution grids with high penetration of distributed generation. This paper proposes a voltage support control scheme for grid-connected power sources under voltage sags. The control is based on the injection of reactive current with a variable ratio between positive and negative sequences. The controller determines, also, the amount of reactive power needed to restore the dropped voltage magnitudes to new reference values confined within the continuous operation limits required in grid codes. These reference values are chosen in order to guarantee low current injection when fulfilling the voltage support objective. Selected experimental results are reported in order to validate the effectiveness of the proposed control.
    2014-04-17 21:22:47下载
    积分:1
  • emmc_test.sh
    emmc测试脚本,实现对emmc的简单测试(emmc test shell)
    2020-12-08 21:29:21下载
    积分:1
  • matlab
    一个关于matlat基础的ppt,出学者可以看看 一个关于matlat基础的ppt,出学者可以看看(a ppt about the basis of matlab)
    2010-07-22 09:02:15下载
    积分:1
  • DCtest
    用于双摄像机同步抓图.图片显示在picturebox中,save jpg 用于将图片保存在指定文件夹。(double cameras take pictures at the same time)
    2011-01-14 15:29:52下载
    积分:1
  • zhikuochansheng
    利用MATLAB对直扩信号的产生进行了研究,并利用FFT实现频谱分析(Use MATLAB to generate DS signals have been studied, and the realization of the use of FFT spectrum analysis)
    2008-12-13 03:08:16下载
    积分:1
  • EM-agorithm
    em算法的代码,以及K-means算法代码(em algorithm code, and the K-means algorithm code)
    2011-11-09 18:13:10下载
    积分:1
  • PSO_SVM
    SVM用于分类时的参数优化,粒子群优化算法,用于优化核函数的c,g两个参数(SVM PSO)
    2014-04-04 20:31:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载