import joblib from native package
"cell_type": "code",
"execution_count": 1,
"metadata": {},
- "outputs": [
- {
- "name": "stderr",
- "output_type": "stream",
- "text": [
- "/home/ubuntu/.pyenv/versions/3.7.6/envs/base/lib/python3.7/site-packages/sklearn/externals/joblib/__init__.py:15: FutureWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.\n",
- " warnings.warn(msg, category=FutureWarning)\n"
- ]
- }
- ],
+ "outputs": [],
"source": [
"# Firstly, some necessary imports\n",
"\n",
"\n",
"# Machine learning \n",
"import lightgbm as lgb\n",
- "from sklearn.externals import joblib\n",
+ "import joblib\n",
"from sklearn import metrics\n",
"from sklearn import preprocessing\n",
"\n",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
+ },
+ "toc": {
+ "base_numbering": 1,
+ "nav_menu": {},
+ "number_sections": false,
+ "sideBar": false,
+ "skip_h1_title": true,
+ "title_cell": "Table of Contents",
+ "title_sidebar": "Contents",
+ "toc_cell": false,
+ "toc_position": {},
+ "toc_section_display": true,
+ "toc_window_display": false
}
},
"nbformat": 4,
