登录
首页 » matlab » K-meanCluster

K-meanCluster

于 2007-11-15 发布 文件大小:2KB
0 212
下载积分: 1 下载次数: 91

代码说明:

  How the K-mean Cluster work Step 1. Begin with a decision the value of k = number of clusters Step 2. Put any initial partition that classifies the data into k clusters. You may assign the training samples randomly, or systematically as the following: Take the first k training sample as single-element clusters Assign each of the remaining (N-k) training sample to the cluster with the nearest centroid. After each assignment, recomputed the centroid of the gaining cluster. Step 3 . Take each sample in sequence and compute its distance from the centroid of each of the clusters. If a sample is not currently in the cluster with the closest centroid, switch this sample to that cluster and update the centroid of the cluster gaining the new sample and the cluster losing the sample. Step 4 . Repeat step 3 until convergence is achieved, that is until a pass through the training sample causes no new assignments. (How the K-mean Cluster workStep 1. Begin with a decision the value of k = number of clusters Step 2. Put any initial partition that classifies the data into k clusters. You may assign the training samples randomly, or systematically as the following: Take the first k training sample as single-element clusters Assign each of the remaining (Nk) training sample to the cluster with the nearest centroid. After each assignment, recomputed the centroid of the gaining cluster. Step 3. Take each sample in sequence and compute its distance from the centroid of each of the clusters. If a sample is not currently in the cluster with the closest centroid, switch this sample to that cluster and update the centroid of the cluster gaining the new sample and the cluster losing the sample. Step 4. Repeat step 3 until convergence is achieved, that is until a pass through the training sample causes no new assignments.)

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

发表评论

0 个回复

  • FIR-IIR
    无线脉冲滤波器和有线脉冲滤波器,两种滤波器的产生。(FIR, IIR filter generates two kinds of)
    2013-12-09 22:06:41下载
    积分:1
  • viterbi
    维特比译码的C程序,专门用于卷积码的解码!希望对大家有所帮助!(Viterbi decoding of C programs, specially for decoding convolutional codes! We want to help!)
    2015-01-26 23:44:11下载
    积分:1
  • mil_188_9B_12A
    mil_188_9B_12A signal model
    2013-05-12 21:00:30下载
    积分:1
  • haarwavelet
    transformasi wavelet haar in matlab, demo
    2015-04-09 01:23:40下载
    积分:1
  • MATLABR2007
    说明:  有关matlab r2007的实用教程,共十章,从基础学起(Matlab r2007 relevant practical tutorial, a total of ten chapters, starting from basic science)
    2008-10-16 10:21:56下载
    积分:1
  • DL_practice
    现代信号处理中的LD算法仿真,并且比较估计出来的系统函数与原系统函数的差别(LD modern signal processing algorithm simulation, and compare the differences between estimated and original system function system functions)
    2015-01-17 17:29:53下载
    积分:1
  • matlab_300
    MATLAB应用程序实例300个,包括图形应用篇、界面设计篇、图形处理篇、数值分析篇,相当经典!(they are Examples of MATLAB applications 300, including the application of article graphics, interface design articles, graphics processing papers, numerical analysis of articles, they are quite classic!)
    2009-06-26 14:51:24下载
    积分:1
  • OFDM
    0FDM仿真程序在matlab环境下运行(0FDM simulation program to run in matlab environment)
    2010-05-21 21:37:21下载
    积分:1
  • DigitalSignalProcessing_SampleCodes
    Digital signal processing is the important aspect of modern communication system. here is the matlab code given which helps for the beginers for understanding the basics of DSP.
    2014-01-06 01:33:16下载
    积分:1
  • cssinger
    基于“当前”统计模型和Singer模型的机动目标跟踪的matlab程序(Matlab program for maneuvering target tracking based on "current" statistical model and Singer model)
    2021-04-11 13:38:58下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载