Dear SciKitters,

I'm rather new to this wonderful toolkit and starting to use it in the
cheminformatics environment.

I was wondering if I properly defined the grid search in the case of a SVM:

"
# code snippet
tuned_parameters = [{'kernel': ['linear'],'C': [1,10,100,1000]}]
scores = [ ('precision', precision_score), ('recall', recall_score),]
for score_name, score_func in scores:
  clf = GridSearchCV(SVC(C=1), tuned_parameters,
score_func=score_func,n_jobs=20)
"

My data set is rather small - for debugging purposes, it just contains 10
training and 10 testing molecules with 120 numerical descriptors each. I'm
trying to resolve a binary classification with the help of a SVM.

My simple searches on Stackoverflow/mail-archive.com/scikit-learn-general
did not resolve a resolution. But maybe I overlooked something, and
hopefully you are annoyed by my question.


Cheers & Thanks,
Pau

This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient,
you must not copy this message or attachment or disclose the contents to
any other person. If you have received this transmission in error, please
notify the sender immediately and delete the message and any attachment
from your system. Merck KGaA, Darmstadt, Germany and any of its
subsidiaries do not accept liability for any omissions or errors in this
message which may arise as a result of E-Mail-transmission or for damages
resulting from any unauthorized changes of the content of this message and
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
subsidiaries do not guarantee that this message is free of viruses and does
not accept liability for any damages caused by any virus transmitted
therewith.

Click http://www.merckgroup.com/disclaimer to access the German, French,
Spanish and Portuguese versions of this disclaimer.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to