Giter Club home page Giter Club logo

qsprpred's People

Contributors

chieljespers avatar david-araripe avatar dehaenw avatar gorostiolam avatar hellevdm avatar lindeschoenmaker avatar martin-sicho avatar olivierbeq avatar sohviluukkonen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qsprpred's Issues

problem with XGB

I'm running QSPRPred in anaconda environment with python 3.9.
I tried to run the following command sequentially and got an error at the end.
I think data_CLI and model_CLI ran OK but pred_CLI had a problem.

$ python -m qsprpred.data_CLI -i parkinsons_pivot.tsv -pr GABAAalpha -r true -sf 0.15 -fe Morgan
$ python -m qsprpred.model_CLI -pr GABAAalpha -r REG -me -s -m XGB
$ python -m qsprpred.predict_CLI -i parkinsons_pivot.tsv -pr GABAAalpha -r REG -m XGB
{
"base_dir": ".",
"debug": false,
"random_state": 1,
"input": "parkinsons_pivot.tsv",
"output": "predictions",
"ncpu": 8,
"gpus": [
"0"
],
"smilescol": "SMILES",
"properties": [
[
"GABAAalpha"
]
],
"regression": [
true
],
"model_types": [
"XGB"
],
"no_preprocessing": false,
"no_git": false
}
XGB

Traceback (most recent call last):
File "/opt/anaconda/envs/drugex/lib/python3.9/site-packages/qsprpred/predict_CLI.py", line 184, in
QSPR_predict(args)
File "/opt/anaconda/envs/drugex/lib/python3.9/site-packages/qsprpred/predict_CLI.py", line 134, in QSPR_predict
predictions = predictor.predictMols(smiles_list)
File "/opt/anaconda/envs/drugex/lib/python3.9/site-packages/qsprpred/models/interfaces.py", line 490, in predictMols
predictions = self.predict(dataset)
File "/opt/anaconda/envs/drugex/lib/python3.9/site-packages/qsprpred/models/models.py", line 302, in predict
return self.model.predict(X)
File "/opt/anaconda/envs/drugex/lib/python3.9/site-packages/xgboost/sklearn.py", line 601, in predict
return self.get_booster().predict(test_dmatrix,
File "/opt/anaconda/envs/drugex/lib/python3.9/site-packages/xgboost/sklearn.py", line 271, in get_booster
raise XGBoostError('need to call fit or load_model beforehand')
xgboost.core.XGBoostError: need to call fit or load_model beforehand

"sanitize_smiles" not defined

"sanitize_smiles" is called in predict_CLI.py, but this function is not defined in data/utils/smiles_standardization.py or anywhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.