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

load_hppb() cannot use RawFeaturizer #2350

Open
jcwomack opened this issue Jan 12, 2021 · 5 comments · May be fixed by #2391
Open

load_hppb() cannot use RawFeaturizer #2350

jcwomack opened this issue Jan 12, 2021 · 5 comments · May be fixed by #2391

Comments

@jcwomack
Copy link

Using this featurizer causes an AxisError in numpy originating here:

available_rows = X.any(axis=1)

I suspect that this is because RawFeaturizer produces a 1-D X array, so X.any(axis=1) fails. The default "ECFP" featurizer does not have this issue, presumably because it produces an n-D X array.

@rbharath
Copy link
Member

@jcwomack Good find! I've marked this as a bug and marked it as open to contribution/bugfix

@minhtriet minhtriet linked a pull request Feb 7, 2021 that will close this issue
13 tasks
@minhtriet
Copy link

I created a pull request #2391.

@jcwomack
Copy link
Author

jcwomack commented Feb 8, 2021

Thanks @minhtriet. Making the RawFeaturizer produce a single-column matrix of features rather than modifying remove_missing_entries() to account for the special case of a 1-D array of features looks like a sensible approach.

@minhtriet
Copy link

Thank you @jcwomack

@0zXD
Copy link

0zXD commented Mar 6, 2025

Is the issue still on queue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy