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

Chapter 5 Error pdbbind_rf #28

Open
rachaelrogan opened this issue Feb 25, 2021 · 2 comments
Open

Chapter 5 Error pdbbind_rf #28

rachaelrogan opened this issue Feb 25, 2021 · 2 comments

Comments

@rachaelrogan
Copy link

I am getting the following error from pdbbind_rf:

ValueError: Found array with 0 feature(s) (shape=(3881, 0)) while a minimum of 1 is required.
the first of the traceback is from
model.fit(train_dataset)

deepchem version = 2.4.0
tensorflow version = 2.3.0

@rbharath
Copy link
Member

Sorry for the trouble here! This is likely due to an error in RdkitGridFeaturizer in the latest DeepChem that we know about and are working on fixing.

CC @ncfrey who's working with me on this error

@partrita
Copy link
Contributor

I also getting error from pdbind_rf.py

/miniconda/envs/deepchem/lib/python3.6/site-packages/scipy/stats/stats.py:3845: PearsonRConstantInputWarning: An input array is constant; the correlation coefficent is not defined.
  warnings.warn(PearsonRConstantInputWarning())
/miniconda/envs/deepchem/lib/python3.6/site-packages/scipy/stats/stats.py:3845: PearsonRConstantInputWarning: An input array is constant; the correlation coefficent is not defined.
  warnings.warn(PearsonRConstantInputWarning())
Train scores
{'pearson_r2_score': nan}
Test scores
{'pearson_r2_score': nan}

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

3 participants