Hi,

I am trying to repeat the xgboost tutorial from here:
https://github.com/PatWalters/workshop/blob/master/predictive_models/simple_regression_model.ipynb

when I try to fit training data as

xgb.fit(list(train.fp),train.pIC50)




I am getting an error:

AttributeError: 'list' object has no attribute 'shape'




I am tried to use an array of fingerprints as it is or as a NumPy array,
but I get a tuple index error.

Please can anyone help me to solve this issue? Thanks in advance.

Best Regards,
Mandar Kulkarni
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to