Functions>Generalappliedmath,StatisticsPerformsk-meansclusteringviatheHartiganandWongAS-136algorithm.Availableinversion6.3.0andlater.functionkmeans_as136(x:numericAS" />

播色网,4438X亚洲最大丁香五月婷婷,五月综合国产精品,偷拍无码中文

        公司動態(tài)

        聯(lián)系我們

        QQ:2743438924

        手機:0512-66159259

        電話:0512-66159259

        郵箱:tokai@tokais.net

        地址:蘇州相城黃埭高新區(qū)東橋聚民路68號

        公司動態(tài)

        AS136鋼材多少錢一千克_瑞士鋼材

            AS136鋼材多少錢一千克_瑞士鋼材

          Documentation>

          Functions>

          Generalappliedmath,

          Statistics

          Performsk-meansclusteringviatheHartiganandWongAS-136algorithm.

          Availableinversion6.3.0andlater.

          functionkmeans_as136(

          x:numericAS136鋼材多少錢一千克,;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.0AS136鋼材多少錢一千克,1.5,3.0,5.0,3.5,4.5,3.5/);1stvariable

          v1(/1.0,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(1AS136鋼材多少錢一千克,:)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},:);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)蘇州東锜公司下屬業(yè)務部、熱處理部、機加工部,財務部、運輸部、倉儲部(自備貨廠、吊車、行車、自動激光切割、半成品),免費為用戶提供裝卸一條龍服務。多年以來,東锜模具鋼產(chǎn)品與周到服務都深受廣大模具廠商所認可,亦為國內(nèi)模具鋼材同行所矚目,是蘇州模具行業(yè)協(xié)會成員單位與江蘇省模具工業(yè)協(xié)會成員單位。歡迎新老客戶來電垂詢,來廠參觀。

        本文部分內(nèi)容來源于網(wǎng)絡,我們僅作為信息分享。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。如發(fā)現(xiàn)本站有涉嫌抄襲侵權/違法違規(guī)的內(nèi)容,請發(fā)送郵件至tokaits@163.com舉報,一經(jīng)查實,本站將立刻刪除。

        下一篇:不銹鋼630材料價格查詢_鋼材硬度
        用手機掃描二維碼關閉