<commit_before>{
 "metadata": {
  "name": "",
  "signature": "sha256:eace2ee3c9ea6f52c8bf22a75eb67f00879756bea00109bd2d5878540331ed0c"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "markdown",
     "metadata": {},
     "source": [
      "# SOM Retinotopy\n",
      "\n",
      "This IPython notebook defines and explores the Kohonen SOM (self-organizing map) model of retinotopy described in pages 53-59 of:\n",
      "<blockquote>\n",
      "  Miikkulainen, Bednar, Choe, and Sirosh (2005),\n",
      "  <a href=\"http://computationalmaps.org\">Computational Maps in the Visual Cortex</a>, Springer.\n",
      "</blockquote>\n",
      "\n",
      "If you can double-click on this text and edit it, you are in a live [IPython Notebook](http://ipython.org/notebook) environment where you can run the code and explore the model. Otherwise, you are viewing a static (e.g. HTML) copy of the notebook, which allows you to see the precomputed results only.  To switch to the live notebook, see the [notebook installation instructions](https://github.com/ioam/topographica).\n",
      "\n",
      "This IPython notebook constructs the definition of the SOM retinotopy model in the [Topographica](http://www.topographica.org) simulator, and shows how it organizes.\n",
      "\n",
      "A static version of this notebook may be viewed [online](http://ioam.github.io/media/som_retinotopy.html). To run the live notebook and explore the model interactively, you will need both IPython Notebook and Topographica.\n",
      "\n",
      "If you prefer the older Tk GUI interface or a command line, you may use the som_retinotopy.ty script distributed with Topographica, without IPython Notebook, as follows:\n",
      "\n",
      "```bash\n",
      "./topographica -g examples/som_retinotopy.ty\n",
      "```\n",
      "\n",
      "To run this Notebook version, you can run all cells in order automatically:\n",
      "* Selecting ``Kernel -> Restart`` from the menu above.\n",
      "* Selecting ``Cell -> Run All``. \n",
      "\n",
      "Alternatively, you may run each cell in sequence, starting at the top of the notebook and pressing ``Shift + Enter``."
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "%reload_ext topo.misc.ipython\n",
      "%view size=60 # increase if you want larger plots\n",
      "%opts AxisLayout [tick_format=\"%.1f\"]\n",
      "%timer start"
     ],
     "language": "python",
     "metadata": {},
     "outputs": []
    },
    {
     "cell_type": "markdown",
     "metadata": {},<commit_msg>In som_retinotopy.ipynb reduced size only for AxisLayout<commit_after>{
 "metadata": {
  "name": "",
  "signature": "sha256:092e02aa583f0ba7c6d6e7c7004f9d952dcf770144fc244350f4d52185cfb9d4"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "markdown",
     "metadata": {},
     "source": [
      "# SOM Retinotopy\n",
      "\n",
      "This IPython notebook defines and explores the Kohonen SOM (self-organizing map) model of retinotopy described in pages 53-59 of:\n",
      "<blockquote>\n",
      "  Miikkulainen, Bednar, Choe, and Sirosh (2005),\n",
      "  <a href=\"http://computationalmaps.org\">Computational Maps in the Visual Cortex</a>, Springer.\n",
      "</blockquote>\n",
      "\n",
      "If you can double-click on this text and edit it, you are in a live [IPython Notebook](http://ipython.org/notebook) environment where you can run the code and explore the model. Otherwise, you are viewing a static (e.g. HTML) copy of the notebook, which allows you to see the precomputed results only.  To switch to the live notebook, see the [notebook installation instructions](https://github.com/ioam/topographica).\n",
      "\n",
      "This IPython notebook constructs the definition of the SOM retinotopy model in the [Topographica](http://www.topographica.org) simulator, and shows how it organizes.\n",
      "\n",
      "A static version of this notebook may be viewed [online](http://ioam.github.io/media/som_retinotopy.html). To run the live notebook and explore the model interactively, you will need both IPython Notebook and Topographica.\n",
      "\n",
      "If you prefer the older Tk GUI interface or a command line, you may use the som_retinotopy.ty script distributed with Topographica, without IPython Notebook, as follows:\n",
      "\n",
      "```bash\n",
      "./topographica -g examples/som_retinotopy.ty\n",
      "```\n",
      "\n",
      "To run this Notebook version, you can run all cells in order automatically:\n",
      "* Selecting ``Kernel -> Restart`` from the menu above.\n",
      "* Selecting ``Cell -> Run All``. \n",
      "\n",
      "Alternatively, you may run each cell in sequence, starting at the top of the notebook and pressing ``Shift + Enter``."
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "%reload_ext topo.misc.ipython\n",
      "%opts AxisLayout [tick_format=\"%.1f\" size=70]\n",
      "%timer start"
     ],
     "language": "python",
     "metadata": {},
     "outputs": []
    },
    {
     "cell_type": "markdown",
     "metadata": {},
{'fraction_non_alphanumeric': 0.14036767522022214, 'fraction_numerical': 0.0212562236690923, 'mean_word_length': 3.0084420567920183, 'pattern_counts': {'":': 36, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '503644', 'n_tokens_mistral': 1734, 'n_tokens_neox': 1650, 'n_words': 539}