Skip to content

Commit 0baa9f9

Browse files
committed
Merge branch 'master' of github.com:algorithmiaio/model-deployment
2 parents 396d723 + f77db3a commit 0baa9f9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

xgboost_notebook_to_algorithmia/xgboost_on_algorithmia.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
"\n",
3434
"10. Check the accuracy\n",
3535
"\n",
36-
"11. Repeat the steps through 6 and 10 until we are happy with our model :)\n",
37-
"\n",
38-
"11. Once we are happy, upload the to Algorithmia and have it up and ready to serve our upcoming prediction requests!\n",
36+
"11. Once we are happy with our model, upload the saved model file to Algorithmia and have it up and ready to serve our upcoming prediction requests!\n",
3937
"\n",
4038
"12. Test our published algorithm with sample requests"
4139
]
@@ -196,17 +194,13 @@
196194
"outputs": [],
197195
"source": [
198196
"from sklearn.model_selection import train_test_split, RandomizedSearchCV\n",
199-
"from sklearn.preprocessing import StandardScaler # for scaling\n",
200-
"from sklearn.preprocessing import LabelEncoder\n",
201197
"from sklearn.metrics import accuracy_score\n",
202198
"from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer\n",
203199
"from sklearn.pipeline import Pipeline\n",
204200
"\n",
205201
"from string import punctuation\n",
206202
"from nltk.corpus import stopwords\n",
207203
"\n",
208-
"from scipy.stats import uniform\n",
209-
"\n",
210204
"from xgboost import XGBClassifier\n",
211205
"import pandas as pd\n",
212206
"import numpy as np\n",

0 commit comments

Comments
 (0)