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

Imputation issues #30

Closed
LMZimmer opened this issue Jan 24, 2020 · 3 comments
Closed

Imputation issues #30

LMZimmer opened this issue Jan 24, 2020 · 3 comments

Comments

@LMZimmer
Copy link
Contributor

If only the validation split contains NaNs in certain columns, there might be errors.

@le-dawg
Copy link

le-dawg commented Feb 29, 2020

Oh, might this be related to my error (works flawlessly on the examples, throws errors on my dataset):

File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.2-py3.6.egg/autoPyTorch/pipeline/nodes/imputation.py", line 29, in
dataset_info.categorical_features = [dataset_info.categorical_features[i] for i, is_nan in enumerate(all_nan) if not is_nan]
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

My fix seemed to solve the issue but created a new problem keyword X_train missing

My data is 7352x128x9 ndarray of purely numerical values (9 time series vectors of 128 length per each example).

Is setting validation_split to 0 or 1 going to temporarily fix the issue?

@weir12
Copy link

weir12 commented May 16, 2020

Hi
@le-dawg
I have the same problem as you described.
My data is the shape of [batch_sizes,time_steps,input_sizes] which is conforms to the RNN input data format.
Have you solved the problem now?
Thanks!

@franchuterivera
Copy link
Contributor

With the new refactor code in the development branch, this is no longer a problem. For this reason, I am closing this old issue.

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

4 participants