{"id":21135506,"url":"https://github.com/mrrobb/pe-b7","last_synced_at":"2025-03-14T12:44:11.785Z","repository":{"id":98850671,"uuid":"115545275","full_name":"MrRobb/PE-B7","owner":"MrRobb","description":"An statistical approach to neural networks","archived":false,"fork":false,"pushed_at":"2018-01-09T16:23:29.000Z","size":201119,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-21T06:43:28.694Z","etag":null,"topics":["machine-learning","neural-network","statistical-analysis"],"latest_commit_sha":null,"homepage":"https://medium.com/neural-networks","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrRobb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-27T17:58:19.000Z","updated_at":"2020-07-24T12:21:20.000Z","dependencies_parsed_at":"2023-06-14T17:45:15.973Z","dependency_job_id":null,"html_url":"https://github.com/MrRobb/PE-B7","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2FPE-B7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2FPE-B7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2FPE-B7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2FPE-B7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrRobb","download_url":"https://codeload.github.com/MrRobb/PE-B7/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581061,"owners_count":20314163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine-learning","neural-network","statistical-analysis"],"created_at":"2024-11-20T06:56:12.684Z","updated_at":"2025-03-14T12:44:11.777Z","avatar_url":"https://github.com/MrRobb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neural Networks\n### Introducción\nAn statistical approach to neural networks\n\n### Instalar requerimientos (macOS)\nEjecuta en la terminal:\n```sh\n/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\nbrew install python\nbrew postinstall python\nbrew install python3\nbrew postinstall python3\nsudo easy_install pip\nsudo pip install tensorflow\nsudo pip3 install tensorflow\n```\n\n### Instalar requerimientos (Ubuntu)\nEjecuta en la terminal:\n```sh\nsudo apt-get update\nsudo apt-get upgrade\nsudo apt-get install python2.7\nsudo apt-get install python3\nsudo apt-get install python-pip\nsudo apt-get install python3-pip\n```\n\n### Instalar requerimientos (Windows)\nBaja al final de la ---\u003e [página](https://www.python.org/downloads/release/python-362/) \u003c--- e instala python3 (Windows Executable Installer)\n\nEjecuta en la terminal:\n```sh\npip3 install --upgrade tensorflow\npip3 install --upgrade tensorflow-gpu\n```\n\nPara ver si funciona ejecuta:\n```sh\npython\n```\n\nY en la consola interactiva escribe:\n```python3\n\u003e\u003e\u003e import tensorflow as tf\n\u003e\u003e\u003e hello = tf.constant('Hello, TensorFlow!')\n\u003e\u003e\u003e sess = tf.Session()\n\u003e\u003e\u003e print(sess.run(hello))\n```\n\nAsegurate de que sale (significaría que todo funciona correctamente):\n```txt\nHello, TensorFlow!\n```\n\n### Cómo ejecutar\nAhora podéis ejecutar los códigos del archivo `1layer.py` sin problema, así:\n```sh\npython 1layer.py 2\u003e /dev/null\n```\n\n### Cómo hacer un timing\nSi queréis saber cuánto tarda vuestro ordenador en ejecutar el código, tan solo ejecuta:\n```sh\ntime python 1layer.py \u003e /dev/null 2\u003e /dev/null\n```\n\n\u003e 1 layer --\u003e 39.804 total, 39.112 total, 40.261 total, 39.854 total\n\u003e\n\u003e 31,629 total (1), 31,645 total (1),\n\u003e\n\u003e 3 layer --\u003e 206.42 total, 189.27 total, 189.98 total, 190.19 total (4 ejecuciones)\n\u003e\n\u003e 180,64 total (3), 177.55 total (3)\n\u003e\n\u003e 5 layer --\u003e 436.96 total, 412.55 total, 486.97 total (5), 508.82 total (5)\n\u003e\n\u003e 432.21 total (5), 492.19 total (5)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Fpe-b7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrrobb%2Fpe-b7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Fpe-b7/lists"}