{ "metadata": { "name": "TEST_theanoml_MLP" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "code", "collapsed": false, "input": [ "import theanoml\n", "reload(theanoml)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "pyout", "prompt_number": 1, "text": [ "" ] } ], "prompt_number": 1 }, { "cell_type": "code", "collapsed": false, "input": [ "## load data\n", "import cPickle\n", "X, y = cPickle.load(open('data/digits.pkl', 'rb'))\n", "print X.shape, y.shape" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "(42000, 784) (42000,)\n" ] } ], "prompt_number": 2 }, { "cell_type": "code", "collapsed": false, "input": [ "reload(theanoml.mlp)\n", "mlp_clf = theanoml.mlp.MLPClassifier(n_classes = 10, n_hidden = 500)\n", "mlp_clf.partial_fit(X, y)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "epoch 1, minibatch 1680 / 1680, validation error 9.702381 %\n", "epoch 2, minibatch 1680 / 1680, validation error 9.654762 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 3, minibatch 1680 / 1680, validation error 9.369048 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 4, minibatch 1680 / 1680, validation error 9.321429 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 5, minibatch 1680 / 1680, validation error 8.821429 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 6, minibatch 1680 / 1680, validation error 9.190476 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 7, minibatch 1680 / 1680, validation error 8.714286 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 8, minibatch 1680 / 1680, validation error 8.952381 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 9, minibatch 1680 / 1680, validation error 9.321429 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 10, minibatch 1680 / 1680, validation error 8.476190 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 11, minibatch 1680 / 1680, validation error 8.916667 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 12, minibatch 1680 / 1680, validation error 9.011905 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 13, minibatch 1680 / 1680, validation error 9.904762 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 14, minibatch 1680 / 1680, validation error 8.702381 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 15, minibatch 1680 / 1680, validation error 9.238095 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 16, minibatch 1680 / 1680, validation error 9.988095 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 17, minibatch 1680 / 1680, validation error 8.714286 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 18, minibatch 1680 / 1680, validation error 9.392857 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 19, minibatch 1680 / 1680, validation error 9.035714 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "optimization complete with best valiation error 8.476190 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n" ] }, { "output_type": "pyout", "prompt_number": 3, "text": [ "" ] } ], "prompt_number": 3 }, { "cell_type": "code", "collapsed": false, "input": [ "reload(theanoml.mlp)\n", "#mlp_clf.predict(X)\n", "print mlp_clf.score(X, y)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "0.915452380952\n" ] } ], "prompt_number": 4 }, { "cell_type": "code", "collapsed": false, "input": [ "## Load blackbox data\n", "import cPickle\n", "import numpy as np\n", "X, y = cPickle.load(open('data/blackbox.pkl', 'rb'))\n", "y = y - 1\n", "print X.shape, y.shape\n", "classes = np.unique(y)\n", "print classes" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "(1000, 1875) (1000,)\n", "[0 1 2 3 4 5 6 7 8]\n" ] } ], "prompt_number": 5 }, { "cell_type": "code", "collapsed": false, "input": [ "reload(theanoml.mlp)\n", "mlp_clf = theanoml.mlp.MLPClassifier(n_classes = len(classes), n_hidden = 1000)\n", "mlp_clf.partial_fit(X, y)\n", "print mlp_clf.score(X, y)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "epoch 1, minibatch 40 / 40, validation error 85.000000 %\n", "epoch 2, minibatch 40 / 40, validation error 83.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 3, minibatch 40 / 40, validation error 84.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 4, minibatch 40 / 40, validation error 83.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 5, minibatch 40 / 40, validation error 82.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 6, minibatch 40 / 40, validation error 82.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 7, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 8, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 9, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 10, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 11, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 12, minibatch 40 / 40, validation error 82.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 13, minibatch 40 / 40, validation error 83.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 14, minibatch 40 / 40, validation error 82.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 15, minibatch 40 / 40, validation error 82.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 16, minibatch 40 / 40, validation error 82.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 17, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 18, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 19, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 20, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 21, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 22, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 23, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 24, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 25, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 26, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 27, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 28, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 29, minibatch 40 / 40, validation error 78.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 30, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 31, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 32, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 33, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 34, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 35, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 36, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 37, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 38, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 39, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 40, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 41, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 42, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 43, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 44, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 45, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 46, minibatch 40 / 40, validation error 78.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 47, minibatch 40 / 40, validation error 78.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 48, minibatch 40 / 40, validation error 78.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 49, minibatch 40 / 40, validation error 79.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 50, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 51, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 52, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 53, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 54, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 55, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 56, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 57, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 58, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 59, minibatch 40 / 40, validation error 77.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 60, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 61, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 62, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 63, minibatch 40 / 40, validation error 78.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 64, minibatch 40 / 40, validation error 78.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 65, minibatch 40 / 40, validation error 78.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 66, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 67, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 68, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 69, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 70, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 71, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 72, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 73, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 74, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 75, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 76, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 77, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 78, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 79, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 80, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 81, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 82, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 83, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 84, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 85, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 86, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 87, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 88, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 89, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 90, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 91, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 92, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 93, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 94, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 95, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 96, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 97, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 98, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 99, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 100, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 101, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 102, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 103, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 104, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 105, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 106, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 107, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 108, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 109, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 110, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 111, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 112, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 113, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 114, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 115, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 116, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 117, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 118, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 119, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 120, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 121, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 122, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 123, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 124, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 125, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 126, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 127, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 128, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 129, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 130, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 131, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 132, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 133, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 134, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 135, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 136, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 137, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 138, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 139, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 140, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 141, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 142, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 143, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 144, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 145, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 146, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 147, minibatch 40 / 40, validation error 79.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 148, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 149, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 150, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 151, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 152, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 153, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 154, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 155, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 156, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 157, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 158, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 159, minibatch 40 / 40, validation error 79.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 160, minibatch 40 / 40, validation error 79.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 161, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 162, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 163, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 164, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 165, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 166, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 167, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 168, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 169, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 170, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 171, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 172, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 173, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 174, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 175, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 176, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 177, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 178, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 179, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 180, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 181, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 182, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 183, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 184, minibatch 40 / 40, validation error 79.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 185, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 186, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 187, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 188, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 189, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 190, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 191, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 192, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 193, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 194, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 195, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 196, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 197, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 198, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 199, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 200, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 201, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 202, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 203, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 204, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 205, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 206, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 207, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 208, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 209, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 210, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 211, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 212, minibatch 40 / 40, validation error 79.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 213, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 214, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 215, minibatch 40 / 40, validation error 80.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 216, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 217, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 218, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 219, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 220, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 221, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 222, minibatch 40 / 40, validation error 80.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 223, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 224, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 225, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 226, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 227, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 228, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 229, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 230, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 231, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 232, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 233, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 234, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 235, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 236, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 237, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 238, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 239, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 240, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 241, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 242, minibatch 40 / 40, validation error 81.000000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 243, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 244, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 245, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 246, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 247, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 248, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 249, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "epoch 250, minibatch 40 / 40, validation error 81.500000 %" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n", "optimization complete with best valiation error 77.500000 %\n", "0.517" ] }, { "output_type": "stream", "stream": "stdout", "text": [ "\n" ] } ], "prompt_number": 6 }, { "cell_type": "code", "collapsed": false, "input": [], "language": "python", "metadata": {}, "outputs": [] } ], "metadata": {} } ] }