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
This handbook is a concise guide to architecting, designing, and building J2EE applications. Whether you re architect your first J2EE application or looking to keep your projects on-time and on-budget, you will refer to this handbook again and again.
标签: architecting applications designing handbook
上传时间: 2016-02-10
上传用户:zhoujunzhen
此范例可在window的DOS上执行.有9各TASK分别秀出时间.执行方式解压锁COPY到C碟然后BC45\SOURCE下修改TEST.C在BC45\TEST下执行MAKETEST.BAT就可编绎出执行档 to show the starting time and completion time of each task in the first round.
标签: TEST MAKETEST window SOURCE
上传时间: 2016-02-14
上传用户:zhouchang199
Adaptive Filter. This script shows the BER performance of several types of equalizers in a static channel with a null in the passband. The script constructs and implements a linear equalizer object and a decision feedback equalizer (DFE) object. It also initializes and invokes a maximum likelihood sequence estimation (MLSE) equalizer. The MLSE equalizer is first invoked with perfect channel knowledge, then with a straightforward but imperfect channel estimation technique.
标签: performance equalizers Adaptive several
上传时间: 2016-02-16
上传用户:yan2267246
μC/OS-II Goals Probably the most important goal of μC/OS-II was to make it backward compatible with μC/OS (at least from an application’s standpoint). A μC/OS port might need to be modified to work with μC/OS-II but at least, the application code should require only minor changes (if any). Also, because μC/OS-II is based on the same core as μC/OS, it is just as reliable. I added conditional compilation to allow you to further reduce the amount of RAM (i.e. data space) needed by μC/OS-II. This is especially useful when you have resource limited products. I also added the feature described in the previous section and cleaned up the code. Where the book is concerned, I wanted to clarify some of the concepts described in the first edition and provide additional explanations about how μC/OS-II works. I had numerous requests about doing a chapter on how to port μC/OS and thus, such a chapter has been included in this book for μC/OS-II.
标签: OS-II compatible important Probably
上传时间: 2013-12-02
上传用户:jkhjkh1982
/*SPI规范:Data is always clocked into the device on the rising edge of SCK a-*/ /* nd clocked out of the device on the falling edge of SCK.All instruction-*/ /* s,addresses and data are transferred with the most significant bit(MSB) */ /* first.
上传时间: 2016-02-19
上传用户:远远ssad
This function returns NULL when called for an MDI main frame window (CMDIFrameWnd). In an MDI application, the MDI main frame window does not have a view associated with it. Instead, each individual child window (CMDIChildWnd) has one or more associated views. The active view in an MDI application can be obtained by first finding the active MDI child window and then finding the active view for that child window.
标签: CMDIFrameWnd MDI function returns
上传时间: 2016-02-23
上传用户:love_stanford
实现LL1文法,从输入文法到FIRST、FOLLOW集,分析表。再到输入文法动作
标签: LL1
上传时间: 2014-01-16
上传用户:lps11188
LL(1)文法判定算法,LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。 LL(1)文法的判别需要依次计算FIRST集、FOLLOW集和SELLECT集,然后判断是否为LL(1)文法,最后再进行句子分析。
上传时间: 2016-03-01
上传用户:cccole0605
/*************************************************************************************************** The 4×4-keyboard drivers *COMPANY NAME: WUYI UNIVERSITY *MODULE NAME: Keyboard drivers *WRITTEN BY: Pang Weicong *FUNCTION DESCRIPTION: Keyboard input processing *EDITION: The first edition V1.0 *DATE: 2007-04-16 *Copyright: (c)2007 Pang Weicong **************************************************************************************************/
标签:
上传时间: 2014-01-05
上传用户:xiaodu1124