Skip to content

Commit 4b01fc3

Browse files
syyuisyyui
authored andcommitted
correct aaa
1 parent fe6435b commit 4b01fc3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rfa.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ function aaa(
306306
break
307307
end
308308

309+
# To make sure columns of V won't be thrown away in svd and prevent overfitting
310+
if n>=((m+1)>>1) break end
311+
309312
_, j = findmax(abs, R)
310313
push!(node_index, j)
311314
delete!(test_index, j)

0 commit comments

Comments
 (0)