Comments (2)
I guess it is caused by the classification model in your environment. self.clf should by a scikit-learn based machine learning model, not int type. Before you run the "agent.py", you have to train a classification model with Scikit-Learn and dump it in your hard drive and set the 'env_path' as the file path of this model.
from drugex.
I guess it is caused by the classification model in your environment. self.clf should by a scikit-learn based machine learning model, not int type. Before you run the "agent.py", you have to train a classification model with Scikit-Learn and dump it in your hard drive and set the 'env_path' as the file path of this model.
Thank you! This is because I generated the wrong .pkg model !
One thing I care about is that environ.py could automatically generate a .pkg file yesterday, but today only generated the cv and ind, it couldn't generate the .pkg until I changed some code:
model = RandomForestClassifier(n_estimators=1000, n_jobs=10)
model.fit(X, y[:, 0])
joblib.dump(model, out+'.pkg')
its very interteresting......
(It was the use of yesterday's model that emerge the bug.....@_@)
from drugex.
Related Issues (20)
- Package code and make pip installable HOT 1
- Error module 'rdkit.Chem' has no attribute 'MolFromSimles' HOT 4
- It will be great if you would like to provide some examples HOT 2
- Running Multitarget with smiles? HOT 3
- DrugEx-1.0 about figure6 HOT 2
- Zinc models HOT 3
- Link to Dataset.
- miss file /data/chembl_voc.txt HOT 3
- `environ.py` does not work HOT 1
- UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 63: ordinal not in range(128) HOT 1
- Missing zinc/ folder HOT 1
- how to use or simply start? any example? HOT 1
- NameError: name 'Dataset' is not defined HOT 2
- No utils.canonicalize_list in Drug_ex v2.0 HOT 2
- No such file or directory: 'data/LIGAND_RAW.tsv' HOT 13
- RuntimeError: expected device cuda:0 and dtype Byte but got device cuda:0 and dtype Bool HOT 4
- Error using designer with the default agent
- Keyerror has been occurred when I run pretrainer.py HOT 4
- MT_DNN 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 drugex.