diff options
author | elavington <elavington@hotmail.com> | 2017-09-25 12:58:41 -0400 |
---|---|---|
committer | elavington <elavington@hotmail.com> | 2017-09-25 12:58:41 -0400 |
commit | 0bfbd73c5bfc838cde80594e1cd2f60eb1d7443c (patch) | |
tree | 17cd9440f1b1b7c0f4be0446dc148b639240244f | |
parent | 1475085bf6cc046260e570cd53cc590201f66b40 (diff) | |
download | cressdna-0bfbd73c5bfc838cde80594e1cd2f60eb1d7443c.tar.gz cressdna-0bfbd73c5bfc838cde80594e1cd2f60eb1d7443c.zip |
Suppress UserWarning in code
-rwxr-xr-x | bin/classifier.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/classifier.py b/bin/classifier.py index 044c6ca..1e27758 100755 --- a/bin/classifier.py +++ b/bin/classifier.py @@ -6,6 +6,9 @@ from sklearn.feature_extraction.text import CountVectorizer from sklearn.preprocessing import StandardScaler from sklearn.externals import joblib import cgi, cgitb +import warnings + +warnings.simplefilter("ignore", UserWarning) #----------------------------------------------\ # Parse the web-form information to variables \ |