Exersice 01 almost ready (again)
This commit is contained in:
		| @ -559,14 +559,15 @@ | |||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|    "cell_type": "code", |    "cell_type": "code", | ||||||
|    "execution_count": null, |    "execution_count": 17, | ||||||
|    "metadata": {}, |    "metadata": {}, | ||||||
|    "outputs": [ |    "outputs": [ | ||||||
|     { |     { | ||||||
|      "name": "stdout", |      "name": "stdout", | ||||||
|      "output_type": "stream", |      "output_type": "stream", | ||||||
|      "text": [ |      "text": [ | ||||||
|       "['Node', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'tabStr']\n" |       "['Node', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'tabStr']\n", | ||||||
|  |       "('\\nOutput file:', 'ru_text.txt.TAGGED')\n" | ||||||
|      ] |      ] | ||||||
|     } |     } | ||||||
|    ], |    ], | ||||||
| @ -589,7 +590,7 @@ | |||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|    "cell_type": "code", |    "cell_type": "code", | ||||||
|    "execution_count": null, |    "execution_count": 18, | ||||||
|    "metadata": {}, |    "metadata": {}, | ||||||
|    "outputs": [], |    "outputs": [], | ||||||
|    "source": [ |    "source": [ | ||||||
| @ -607,7 +608,7 @@ | |||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|    "cell_type": "code", |    "cell_type": "code", | ||||||
|    "execution_count": null, |    "execution_count": 19, | ||||||
|    "metadata": {}, |    "metadata": {}, | ||||||
|    "outputs": [], |    "outputs": [], | ||||||
|    "source": [ |    "source": [ | ||||||
| @ -630,18 +631,56 @@ | |||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|    "cell_type": "code", |    "cell_type": "code", | ||||||
|    "execution_count": null, |    "execution_count": 20, | ||||||
|    "metadata": {}, |    "metadata": {}, | ||||||
|    "outputs": [], |    "outputs": [ | ||||||
|  |     { | ||||||
|  |      "name": "stdout", | ||||||
|  |      "output_type": "stream", | ||||||
|  |      "text": [ | ||||||
|  |       "{'P2.1': 0.7079014288483687, 'P2.2': 0.8899716702179293}\n" | ||||||
|  |      ] | ||||||
|  |     } | ||||||
|  |    ], | ||||||
|    "source": [ |    "source": [ | ||||||
|     "pprint.pprint(performances2)" |     "pprint.pprint(performances2)" | ||||||
|    ] |    ] | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|    "cell_type": "code", |    "cell_type": "code", | ||||||
|    "execution_count": null, |    "execution_count": 21, | ||||||
|    "metadata": {}, |    "metadata": {}, | ||||||
|    "outputs": [], |    "outputs": [ | ||||||
|  |     { | ||||||
|  |      "data": { | ||||||
|  |       "application/vnd.jupyter.widget-view+json": { | ||||||
|  |        "model_id": "aeb29243e58d49b8942122ceec03fab5", | ||||||
|  |        "version_major": 2, | ||||||
|  |        "version_minor": 0 | ||||||
|  |       }, | ||||||
|  |       "text/html": [ | ||||||
|  |        "<p>Failed to display Jupyter Widget of type <code>FigureCanvasNbAgg</code>.</p>\n", | ||||||
|  |        "<p>\n", | ||||||
|  |        "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n", | ||||||
|  |        "  that the widgets JavaScript is still loading. If this message persists, it\n", | ||||||
|  |        "  likely means that the widgets JavaScript library is either not installed or\n", | ||||||
|  |        "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n", | ||||||
|  |        "  Widgets Documentation</a> for setup instructions.\n", | ||||||
|  |        "</p>\n", | ||||||
|  |        "<p>\n", | ||||||
|  |        "  If you're reading this message in another frontend (for example, a static\n", | ||||||
|  |        "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n", | ||||||
|  |        "  it may mean that your frontend doesn't currently support widgets.\n", | ||||||
|  |        "</p>\n" | ||||||
|  |       ], | ||||||
|  |       "text/plain": [ | ||||||
|  |        "FigureCanvasNbAgg()" | ||||||
|  |       ] | ||||||
|  |      }, | ||||||
|  |      "metadata": {}, | ||||||
|  |      "output_type": "display_data" | ||||||
|  |     } | ||||||
|  |    ], | ||||||
|    "source": [ |    "source": [ | ||||||
|     "fig_2, ax_2 = plt.subplots()\n", |     "fig_2, ax_2 = plt.subplots()\n", | ||||||
|     "plt.bar(np.arange(len(performances2)), performances2.values())\n", |     "plt.bar(np.arange(len(performances2)), performances2.values())\n", | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user