-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
I'm running the ZeroFPR on a large data set:
function l0(k) # opt function
B = Variable(size(X)[2],size(Y)[2])
@minimize ls(Xtrain*B - Ytrain) st norm(B,0) <= k with ZeroFPR();# solve problem
Bhat = copy(~B)
Ytestpred = Xtest*Bhat
MSEtest = (0.5*norm(Ytestpred-Ytest,2)^2)/(length(Ytest)*size(X)[2])
return MSEtest,Bhat
end
and frequently get the following error messages:
┌ Warning: stepsize `tau` became too small (0.0009765625), stopping the iterations
└ @ ProximalAlgorithms ~/.julia/packages/ProximalAlgorithms/BUA2U/src/algorithms/zerofpr.jl:158
and
┌ Warning: parameter `gamma` became too small (9.938013400167651e-8), stopping the iterations
└ @ ProximalAlgorithms ~/.julia/packages/ProximalAlgorithms/BUA2U/src/algorithms/zerofpr.jl:99
What is the difference, and is there some way to get arounf the problem?
Metadata
Metadata
Assignees
Labels
No labels