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