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.
标签: the decision clusters Cluster
上传时间: 2013-12-21
上传用户:gxmm
NOIS2 step by step for Linux
上传时间: 2014-11-22
上传用户:comua
porting ucos2 the step way
上传时间: 2013-12-11
上传用户:wl9454
利用Wireless一步一步交你如何操作WiMAX。-use pay you step by step how to operate the WiMAX.
标签: WiMAX step Wireless operate
上传时间: 2014-01-13
上传用户:erkuizhang
一篇关于XML与STEP模型转换硕士论文,看后本人受益很多,希望对大家也有帮助
上传时间: 2013-12-22
上传用户:jhksyghr
Advanced_modelling_in_finance_using_Excel_and_VBA(pdf) The book adopts a step-by-step approach to understanding the more sophisticated aspects of Excel macros and VBA programming, showing how these programming techniques can be used to model and manipulate financial data, as applied to equities, bonds and options. The book is essential for financial practitioners who need to develop their financial modelling skill sets as there is an increase in the need to analyse and develop ever more complex what if scenarios.
标签: Advanced_modelling_in_finance_usi ng_Excel_and_VBA step-by-step approach
上传时间: 2013-12-14
上传用户:txfyddz
程控喷泉程序,用step 7 编写的一个实例。对初学者有帮助。
上传时间: 2016-03-16
上传用户:qb1993225
J2ME: Step by step Presented by developerWorks, your source for great tutorials ibm.com/developerWorks
标签: developerWorks developerW Presented tutorials
上传时间: 2016-03-29
上传用户:偷心的海盗
Powerpcb gerber output step by step for newbie using powerpcb,just for your work happy!
标签: step for Powerpcb powerpcb
上传时间: 2013-12-26
上传用户:change0329
In this demo, I use the EM algorithm with a Rauch-Tung-Striebel smoother and an M step, which I ve recently derived, to train a two-layer perceptron, so as to classify medical data (kindly provided by Steve Roberts and Will Penny from EE, Imperial College). The data and simulations are described in: Nando de Freitas, Mahesan Niranjan and Andrew Gee Nonlinear State Space Estimation with Neural Networks and the EM algorithm After downloading the file, type "tar -xf EMdemo.tar" to uncompress it. This creates the directory EMdemo containing the required m files. Go to this directory, load matlab5 and type "EMtremor". The figures will then show you the simulation results, including ROC curves, likelihood plots, decision boundaries with error bars, etc. WARNING: Do make sure that you monitor the log-likelihood and check that it is increasing. Due to numerical errors, it might show glitches for some data sets.
标签: Rauch-Tung-Striebel algorithm smoother which
上传时间: 2016-04-15
上传用户:zhenyushaw