{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "ENTER EXPERIENCE OF YOUR INTERN : 8\n",
      "\n",
      "[17.50363636]\n"
     ]
    }
   ],
   "source": [
    "from sklearn.externals import joblib\n",
    "model=joblib.load('sal_estimate.pk1')\n",
    "print(\"ENTER EXPERIENCE OF YOUR INTERN :\",end=\" \")\n",
    "x=input()\n",
    "x=float(x)\n",
    "print()\n",
    "#print(\"Salary Should be : \",model.predict(x))\n",
    "print(model.predict([[x]]))"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
