選擇第k小的元素,c語言 partition 要好好看看 理解函數(shù)意思
標簽: 元素
上傳時間: 2016-02-19
上傳用戶:ukuk
加權(quán)k均值算法,或者稱為加權(quán)C均值聚類算法
上傳時間: 2016-02-26
上傳用戶:TF2015
加密程序源代碼* A 變成 C,B 變成 D,a 變成 c,b 變成 d,Y 變成 A, * z 變成 b,以此類推。非字母字符不變。
上傳時間: 2013-12-28
上傳用戶:stvnash
生成一個單向鏈表(*pListHead) 用C中的結(jié)構(gòu)體或C++中的類實現(xiàn) 完成基本要求 基本算法要求: 實現(xiàn)對鏈表的逆序 void reverse(CList& ); 查找鏈表倒數(shù)第k個元素 FindFBack(CList&, int k); 高要求: 對鏈表排序 order(CList&); 判斷單向鏈表是否有環(huán)
標簽: pListHead reverse CList void
上傳時間: 2014-12-07
上傳用戶:wlcaption
功能:編寫的計算皮亞諾相關(guān)系數(shù) 開發(fā)語言:ruby 調(diào)用:correlate(x,y) 其中,x,y為需要計算相關(guān)度的向量 調(diào)用示例: a = [3, 6, 9, 12, 15, 18, 21] b = [1.1, 2.1, 3.4, 4.8, 5.6] c = [1.9, 1.0, 3.9, 3.1, 6.9] c1 = correlate(a,a) # 1.0 c2 = correlate(a,a.reverse) # -1.0 c3 = correlate(b,c) # 0.8221970228 puts c1#,c2,c3
上傳時間: 2013-12-18
上傳用戶:skfreeman
高效的k-means算法實現(xiàn),使用了k-d樹與局部搜索等提高k-means算法的執(zhí)行效率,同時包含示例代碼,用c++代碼實現(xiàn)。 Effecient implementation of k-means algorith, k-d tree and local search strategy are implementd to improve the effeciency, samples are included to show how to use it. All codes are implemented in C++.
上傳時間: 2016-03-28
上傳用戶:yulg
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
標簽: introductory HelloWorld containing Directory
上傳時間: 2016-03-29
上傳用戶:exxxds
多項式曲線擬合 任意介數(shù) Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子
「常見程式演算」主要收集一些常見的程式練習(xí)題目,您可以藉這些題目培養(yǎng)一些程式設(shè)計邏輯的感覺,對題目的分類只是個大概,方便索引而已,實作的部份是使用 C 及 Java。
標簽: 程式
上傳時間: 2014-01-05
上傳用戶:Breathe0125
數(shù)據(jù)挖掘中的k均值算法,應(yīng)該屬于聚類分析的,c語言版。
標簽: 數(shù)據(jù)挖掘 均值算法
上傳時間: 2014-01-23
上傳用戶:wpt
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1