模具鋼在購買(mǎi)的時(shí)候,大家會(huì )發(fā)現價(jià)格并不統一和固定,有的地方會(huì )高一點(diǎn),而有的則可能要便宜一些,但實(shí)際報價(jià)還是要看廠(chǎng)家與產(chǎn)品質(zhì)量,畢竟貪小便宜購買(mǎi)到劣質(zhì)模具鋼結果往往是得不償失的,建議大家在實(shí)際購買(mǎi)的時(shí)候,一定要嚴格按照相關(guān)的標準去買(mǎi),并到專(zhuān)業(yè)而正規的廠(chǎng)家去購買(mǎi)。NCLHome>
Documentation>
Generalappliedmath,
Statistics
Performsk-meansclusteringviatheHartiganandWongAS-136algorithm.
Availableinversion6.3.0andlater.
functionkmeans_as136(
x:numeric,;floatordouble
k[1]:integer,
opt[1]:logical
return_val:floatordouble
Thereturnarray(say),clcnter,willcontainthecluster
centers.Itwillbedimensioned(k,N),whereN
collectivelyrepresentsthe'variable'dimension(s).
clcnterwillhavethefollowingattributesassociatedwithit:
id-aone-dimensionalintegerarrayof
sizeMindicatingtheclustertowhicheachobservationis
assigned.
npts-aone-dimensionalintegerarrayof
sizekcontainingthenumberofpointsineachcluster.
ss2-aone-dimensionaldoublearrayof
sizekcontainingthewithin-clustersumofsquares.
K-meansisacentroid-basedclustermethod.
Theobservationsareallocatedtokclustersinsuchawaythatthe
within-clustersumofsquaresisminimized.K-meansclusteringrequiresthat
thenumberofclusterstobeextractedbespecifiedinadvance.
Asnotedby
"Thenumberofclustersshouldmatchthedata.Anincorrectchoiceofthenumberofclusterswillinvalidatethewholeprocess.AnempiricalwaytofindthebestnumberofclustersistotryK-meansclusteringwithdifferentnumberofclustersandmeasuretheresultingsumofsquares."
Thek-meansalgorithmworksreasonablywellwhenthedatafitstheclustermodel:
Thenumberofclustersis'consistent'withthedata.
Thedatapointswithinaclusterarecenteredaroundthatcluster
Thespread/varianceoftheclustersissimilar,ieeachdatapointbelongstotheclosestcluster
Limitations:K-meansmayhaveproblemswhenclustersareofverydifferingsizes;
outliersarepresent;oremptyclustersexist.
TheoriginalcodeiscreatedforCartesiangrids.Iftheapplicationrequiresusinggridpoints
orstationslocatedathighlatitudes,itissuggestedthat
css2cbeused
tointerpolatetoCartesiancoordinates.Thesebetterreflectthetruedistancesandshouldbeinputtothefunction.
Themodifiedcodeusedbythisfunctionwasdownloadedfrom
JohnBurkardt'swebsite.
TheoriginalHartigan&WongFortrancodewasfrom:
JohnHartigan,ManchekWong,
AlgorithmAS136:
AK-MeansClusteringAlgorithm,
AppliedStatistics,
Volume28,Number1,1979,pages100-108.
Example1:Thesourceofthisexampleis
Defaultoptionsareused.
v0(/1.0,1.5,3.0,5.0,3.5,4.5,3.5/);1stvariable
v1(/1.0AS136模具鋼材出售,2.0,4.0,7.0,5.0,5.0,4.5/);2ndvariable
mdimsizes(v1);#observations
n2;#variables
k2;#clusters(userspecified)
xnew((/n,m/),typeof(v1),"No_FillValue")
x(0,:)v0
x(1,:)v1
clcntrkmeans_as136(x,k,False);usedefaultoptions
print(clcntr);(1.25,1.5)and(3.9,5.1)
Aneditedversionoftheoutputfollows:
Variable:clcntr
Type:float
TotalSize:16bytes
4values
NumberofDimensions:2
Dimensionsandsizes:[2]x[2](kcX(:,{-30:30}AS136模具鋼材出售,:);x(time,lat,lon)
;reorderviaNCL'snameddimensionreordering
xrx(lat|:,lon|:,time|:);make'time'(observations;M)therightmostdimension
;thelat,lonarethe'variables'(N)
k3;#clusters(userspecified)
optTrue
opt@iseed1
clcntrkmeans_as136(xr,k,opt);inputthereorderedarray
:;clcntr(3,nlat,mlon)
delete(xr);deleteifnolongerneeded(notnecessary)蘇州東锜公司的戰略合作伙伴,法國ERASTEEL鋼廠(chǎng)是全球粉末高速鋼的研發(fā)者、粉末冶煉技術(shù)的贏(yíng)領(lǐng)者、ASP品牌的創(chuàng )造者;塑膠及壓鑄鋼材合作伙伴,德國葛利茲鋼廠(chǎng),成立于1779年,在全球擁有龐大的銷(xiāo)售網(wǎng)絡(luò )和過(guò)硬的技術(shù)力量,鍛造能力強,處于行業(yè)贏(yíng)領(lǐng)地位。
本文部分內容來(lái)源于網(wǎng)絡(luò ),我們僅作為信息分享。本站僅提供信息存儲空間服務(wù),不擁有所有權,不承擔相關(guān)法律責任。如發(fā)現本站有涉嫌抄襲侵權/違法違規的內容,請發(fā)送郵件至tokaits@163.com舉報,一經(jīng)查實(shí),本站將立刻刪除。
下一篇:skh51腐蝕性撫順多少一公斤