modAL icon indicating copy to clipboard operation
modAL copied to clipboard

SVR regerssion

Open zt823793279 opened this issue 5 years ago • 6 comments

Hello, when I use SVR for regression task, it will prompt: 'SVR' object has no attribute 'predict_proba' I think it should be that there is no query_strategy. So how can I design a query that matches regression?

zt823793279 avatar Aug 19 '20 09:08 zt823793279

Hi! I don't know how to estimate uncertainties with SVR, so I can't help you with that. However, if you can use Gaussian processes instead of SVR, the given query strategy would work.

The error message is correct since the query strategy tries to call the predict_proba() method of the regressor. This is not available for SVR.

cosmic-cortex avatar Aug 21 '20 07:08 cosmic-cortex

I'm glad to hear from you. I've used a number of other tasks and query strategies in the categorization task, besides the SVR.Next I want to create some regression tasks and select the commission's query strategy.But I didn't find any relevant samples. Could you give me some advice?I would appreciate it. Thank you!

zt823793279 avatar Aug 21 '20 07:08 zt823793279

The only example I have is the active regression with Gaussian processes: https://modal-python.readthedocs.io/en/latest/content/examples/active_regression.html

I am unfamiliar with any active regression tasks with SVR, so I cannot help you with this :(

cosmic-cortex avatar Aug 21 '20 08:08 cosmic-cortex

OK. Thanks again! I will try other methods!

zt823793279 avatar Aug 21 '20 08:08 zt823793279

OK. Thanks again! I will try other methods!

Hi @zt823793279 did you find any query strategy. i am also trying for regression task and i really don't know what strategy will work. Can you please help me in this regard please

fehmidaUsmani avatar Sep 27 '21 11:09 fehmidaUsmani

I have same problem.....how to apply modAL to regression problem rather than Gaussian process?

Ming-Qin-tech avatar Jan 04 '22 09:01 Ming-Qin-tech