Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression #29

Open
zt823793279 opened this issue Aug 20, 2020 · 4 comments
Open

regression #29

zt823793279 opened this issue Aug 20, 2020 · 4 comments

Comments

@zt823793279
Copy link

Hello, how can I use its regression task?
When I give the toolbox a regressive label, it always produces the following errors
ValueError: Unknown label type: (array([339.731, 340.059, 340.404, ..., 421.542, 423.743, 423.307]),)

@thomasjhuang
Copy link

I think that the closest you can get to doing regression for traditionally classification based tasks is by binning the range of continuous values that you have into uniform size intervals, and have your model classify into bins. Refer to the response on this stackexchange answer https://datascience.stackexchange.com/a/32486

@AndyWangSFU
Copy link

This is a very good question...I have been looking for toolkits regarding "active regression", but apparently most active learning techniques are designed only for classification tasks.

If you spend a little time looking at the logic of uncertainty sampling, it calculates some prior probability based on "class labels". They are nominal data instead of continuous.

@Yuxing0926
Copy link

So this package cannot be used in regression task?

@tangypnuaa
Copy link
Collaborator

Hi, ALiPy does not support regression tasks in this version. Sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants