imbs-hl / survivalsvm

Survival Support Vector Analysis
16 stars 8 forks source link

Help wanted: control number of parallel processes #9

Open kapsner opened 2 years ago

kapsner commented 2 years ago

Is there a possibility to explicictly control / specify the number of processes / CPU threads that are used when running survivalsvm?

I realized that running survivalsvm::survivalsvm() with the argument opt.meth = "ipop" uses all available CPU resources, whereas running it with opt.meth = "quadprog" seems use one CPU thread only.

Many thanks in advance.

fouodo commented 2 years ago

Hello,

there is no possibility proper to survivalism to control that at the moment, since the package is fully based on internal R-function.

Best wishes, Cesaire

On 4. Nov 2022, at 15:36, kapsner @.**@.>> wrote:

Is there a possibility to explicictly control the number of processes / CPU threads that are used when running survivalsvm?

I realized that running survivalsvm::survivalsvm() with the argument opt.meth = "ipop" uses all available CPU resources, whereas running it with opt.meth = "quadprog" seems use one CPU thread only.

Many thanks in advance.

— Reply to this email directly, view it on GitHubhttps://github.com/imbs-hl/survivalsvm/issues/9, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ42MAX2V422GUQRCPOMZDWGUNQNANCNFSM6AAAAAARXH2CJM. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kapsner commented 2 years ago

Hello @fouodo , Thanks for your answer. Is it planned to add the possibility control the number parallel threads in the future? Best, Lorenz

fouodo commented 2 years ago

Hello,

actually I don’t plan it, but may be it will be a great idea to do that. I will fill it into my ToDo list.

Best wishes, Fouodo

On 6. Nov 2022, at 15:09, kapsner @.**@.>> wrote:

Hello @fouodohttps://github.com/fouodo , Thanks for your answer. Is it planned to add the possibility control the number parallel threads in the future? Best, Lorenz

— Reply to this email directly, view it on GitHubhttps://github.com/imbs-hl/survivalsvm/issues/9#issuecomment-1304810424, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJ42MHRGP5BQZ7FXV4FDQLWG63YNANCNFSM6AAAAAARXH2CJM. You are receiving this because you were mentioned.Message ID: @.***>