diff --git a/nbs/2. Topic Modeling with NMF and SVD.ipynb b/nbs/2. Topic Modeling with NMF and SVD.ipynb index 9b09ca1..96f17ed 100644 --- a/nbs/2. Topic Modeling with NMF and SVD.ipynb +++ b/nbs/2. Topic Modeling with NMF and SVD.ipynb @@ -2477,7 +2477,10 @@ } ], "source": [ - "plt.plot(range(0,n*step,step), error)" + "plt.plot(range(0,n*step,step), error)\n", + "plt.title('Error vs Number of topics')\n", + "plt.xlabel('Number of topics')\n", + "plt.ylabel('Error')" ] }, { @@ -2624,21 +2627,21 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 2", "language": "python", - "name": "python3" + "name": "python2" }, "language_info": { "codemirror_mode": { "name": "ipython", - "version": 3 + "version": 2 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.1" + "pygments_lexer": "ipython2", + "version": "2.7.12" } }, "nbformat": 4,