Skip to content

Commit c91b61f

Browse files
authored
Merge pull request #6 from yuiyuiui/main
correct aaa
2 parents fe6435b + 4b01fc3 commit c91b61f

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)