[JAVA高手入] 幾億個item要點先fit到入2gb heap space?
尻唔易柒 2022-8-12 20:21:46
:^(

Ads

尻唔易柒 2022-8-12 20:24:54 巴打可唔可以講解多啲
你話
咁睇似乎佢唔care你個file嘅format? (因為write同read好似都係你寫)
只要巧妙哋寫落個file裡面,到你真係要用返file裡面嘅data,個read method其實係唔需要即時從file load晒入memory嘅
:^(

其實我唔係你講緊咩
:^(

我唔係CS底 好多野都唔識
:^(
程式猿 2022-8-12 22:35:25 無人講inputdata signature
:^(
2022-8-12 23:30:10
:^(
2022-8-12 23:32:21 未必
因為有可能嗰standard difference of MSE好小
:^(
騎野豬的生菜公主 2022-8-12 23:40:14
:^(
尻唔易柒 2022-8-13 00:08:23
:^(
尻唔易柒 2022-8-13 00:28:47
:^(
程式猿 2022-8-13 01:26:37 Four decimal digits 即是10000 要14個bits
都要4gb
:^(

不過 symmetric 所以要2gb 多少少
:^(

之後就要creative
:^(

星期一過嚟跪喺度
:^(
尻唔易柒 2022-8-13 02:05:13 creative個part搞唔掂啊
:^(


最撚on9係 如果行唔到 直接零分
:^(
程式猿 2022-8-13 02:11:09 Compression
:^(

Ads

Carrie_Lam 2022-8-13 02:11:37 樓豬個hashmap淨係放有value既data點會爆
:^(
:^(
尻唔易柒 2022-8-13 02:21:25 仲要有 coordinates wo
:^(
沉睡的獅子 2022-8-13 04:51:35 你個course有無教svd/pca?
尻唔易柒 2022-8-13 05:27:57 無....

問TA有無reference pape可以參考下
佢條仆制岩岩剩係叫我睇:
https://introcs.cs.princeton.edu/java/40algorithms/

:^(
艾巴瑪薩奇 2022-8-13 07:09:08 coordinates試下用一個intstore晒
不無小補
:^(
艾巴瑪薩奇 2022-8-13 07:09:37
仲要有 coordinates wo
:^(
coordinates試下用一個int store
不無小補
:^(
天生無記性 2022-8-13 08:14:39 Round to 1/4096 得唔得
12 bit +1bit正負
13bit * 50000 * 49999 / 2 =1.89GB
人生書家 2022-8-13 08:52:24
:^(
幽默的石頭 2022-8-13 10:17:39 你做次pca ,clean下data先
都有機會要分批做
我就咁睇你hash maps 已經最fit,要汁方向都係cut data
、Round 數…
點解咁講因為最大效果係pca ,cut data
之後果啲又難做,效益又低
りき 2022-8-13 10:42:24 樓上咪got creative implement左個 on the fly 既 matrix
雖然我完全睇唔明
:^(

Ads

程式猿 2022-8-13 11:45:57 Save 低個input 再on demand 計
:^(
尻唔易柒 2022-8-13 16:57:54
:^(
賓周30cm 2022-8-13 17:00:34 此回覆已被刪除
人生書家 2022-8-13 18:54:14
:^(