close

今天一早上hadoop課程

剛開始聽還滿有興趣的,沒想到光下載個java就讓我耐心全失

看來要好好訓練一下耐心了,要不然這樣永遠學不到東西

這個晚點再來複習,現在先複習剛剛學的matlab的txt存取

 

這幾天在處理資料分類,因為out of memory的緣故

??? Error using ==> [predict accuracy decv] = svmpredict(test_label, test_value, model);
Out of memory. Type HELP MEMORY for your options
由於記憶體不足,因為找了幾個方法
http://www.mathworks.com/matlabcentral/newsreader/view_thread/299078
不過本人英文有夠破,完全不懂這到底能解決什麼
http://www.mathworks.com/matlabcentral/newsreader/view_thread/323543
 There are two ways to deal with the issue that I know about:
1. Use SMO instead of quadprog. To do so, set the MethodValue name-value 
pair to SMO
2. Use the quadprog interior-point algorithm. To do so, set the 
QuadProg_OptsValue to include options: options = 
optimset('Algorithm','interior-point'); Be aware that the interior-point 
algorithm was introduced in R2011a, so if you have a prior version of 
MATLAB you will not be able to do this.
內文如上,SMO and quadprog 但我還是看不懂
找了SMO相關資料,網路上好像有原始碼的樣子
但我覺得我這case似乎不需要這樣做

先配置陣列空間

A=zeros(m,n)之類的

但一樣不行

將資料縮減

後來發現train是可以執行的,我那5760筆資料可以train,但1440筆test卻是不行

因此只好將要test的資料分成幾組再拿去測試

 

 

arrow
arrow
    全站熱搜

    glitterHsin 發表在 痞客邦 留言(0) 人氣()