automl / Auto-PyTorch

Automatic architecture search and hyperparameter optimization for PyTorch
Apache License 2.0
2.37k stars 287 forks source link

DataType Error? #216

Closed yashlal closed 3 years ago

yashlal commented 3 years ago

My X input is a valid numpy array of float values between 0 and 1 and Y input is integers (0 or 1) and the AutoNetClassifier is yielding the following warning which subsequently becomes an error:

"No valid specification of the columns. Only a scalar, list or slice of all integers or all strings, or boolean mask is allowed"

Does AutoPyTorch only support integer inputs?

ravinkohli commented 3 years ago

Hey, thanks for this question. Actually, we have been working on a new version of autopytorch that is available on the branch `development, for docs, see this. Now we feel it's ready for people to test their workflows with this version.

So I suggest you to try out your data with the development version. For an example on how to use the API, find it here

Feel free to ask any questions about the implementation here. And if you feel the issue is resolved, kindly close it.

yashlal commented 3 years ago

Ok thank you @ravinkohli. I am unable to switch over to that version because I am working on Windows. Also, another error I seem to be getting is "UserWarning: n_components > n_samples. This is not possible" but the dataset I am inputting has shape (546, 100) so this shouldn't be true. This along with the previous error I mentioned is causing the AutoNetClassification to often return errors when I am trying to run it on my dataset. Is there any way for me to alleviate these problems without switching to a different OS/new development branch.