Comments (8)
sklearn.ensemble.forest was renamed to sklearn.ensemble._forest in scikit-learn/scikit-learn@437ca05 on Oct 16, 2019. It requires us to compile the old version from sources, e.g. 0.21.3. I suspect the problem was due to a name change in scikit-learn versions?
from tdc.
Another error I found was in the Deco Hop oracle (below). But the errors did not occur in a similar function Scaffold Hop. I suspect that it was caused by https://github.com/mims-harvard/TDC/blob/master/tdc/chem_utils.py#L1395-L1399 and https://github.com/mims-harvard/TDC/blob/master/tdc/chem_utils.py#L1367 (the if statement).
Traceback (most recent call last):
File "/home/yqdu/moflow-master/data/process_property.py", line 36, in
deco_hop.append(deco_oracle(smile))
File "/home/yqdu/anaconda3/envs/rdkit/lib/python3.9/site-packages/tdc/oracles.py", line 251, in call
return self.evaluator_func(*args, **kwargs)
File "/home/yqdu/anaconda3/envs/rdkit/lib/python3.9/site-packages/tdc/chem_utils.py", line 1382, in deco_hop
deco1_score = deco1_smarts_scoring(molecule)
NameError: name 'deco1_smarts_scoring' is not defined
from tdc.
Hi yuanqi, this is indeed due to a version issue with sklearn. We will change the requirements file in the next version. For the next error, @futianfan could you take a look?
from tdc.
sure
from tdc.
It looks like the old version is no longer supported by scikit-learn. Could you/May I help to update the function to support the latest scikit-learn version? But it seems like the errors happened during loading the model. Is it possible to re-dump the model with the latest scikit-learn and I believe it will be fixed.
from tdc.
i fixed them, thanks for pointing out!
from tdc.
Thanks!
from tdc.
will address the version issue later.
from tdc.
Related Issues (20)
- The bug happens when loading the DUD-E and scPDB dataset HOT 2
- Conda-forge contains old version
- Why the data in TDC is less than the original paper? HOT 1
- Expand cancer cell line and patient related datasets, e.g. DepMap, CCLE, TCGA HOT 5
- ADMET leaderboard: some molecules appear both in the `train_val` and `test` sets HOT 1
- DeepPurpose baseline installation error HOT 1
- The meaning of the score in the document 'toy_data/ppi.txt' HOT 2
- [Docking Leaderboard DRD3] Reproducibility Issues HOT 14
- SingleCellPrediction should instead be labled Perturb-based prediction task for scperturb datasets HOT 4
- Oracle issue - Yuchen HOT 16
- Load CRISPR perturbation datasets from scPerturb [Feature Request] HOT 4
- Oracle Pickles are outdated HOT 1
- Add documentation on using the hf models
- Small discrepancies in the documentation of oracles HOT 6
- Oracles not satisfying public benchmarks HOT 6
- JNK3 uses ECFP4 rather than ECFP6 as claimed on the website
- bug in loading scPerturb datasets HOT 3
- Support augmentation of single-cell datasets via label projection
- better expose anndata dataframe in the single-cell dataloaders
- Add data loader for cisTarget database HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tdc.