https://github.com/josgard94/perceptron-single-layer
Python implementation of the simple perceptron or also known as a single-layer neural network, is a binary classification algorithm by Frank Rosenblatt based on the neural model of Warren McCulloch and Walter Pitts developed in 1943.
https://github.com/josgard94/perceptron-single-layer
machine-learning machine-learning-algorithms neural-networks perceptron-learning-algorithm python3 single-layer-perceptron
Last synced: 3 months ago
JSON representation
Python implementation of the simple perceptron or also known as a single-layer neural network, is a binary classification algorithm by Frank Rosenblatt based on the neural model of Warren McCulloch and Walter Pitts developed in 1943.
- Host: GitHub
- URL: https://github.com/josgard94/perceptron-single-layer
- Owner: josgard94
- Created: 2020-07-13T02:54:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T07:14:22.000Z (7 months ago)
- Last Synced: 2025-04-14T04:36:27.105Z (7 months ago)
- Topics: machine-learning, machine-learning-algorithms, neural-networks, perceptron-learning-algorithm, python3, single-layer-perceptron
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 3
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.es.md
Awesome Lists containing this project
README
## 📄 `README.es.md` (versión en español)
> 🇬🇧 [Read in English](README.md)
# 🧠 Perceptrón de Capa Única
¡Bienvenido a este clásico proyecto de aprendizaje automático! Este repositorio contiene una implementación en **Python** del **Perceptrón de una sola capa**, también conocido como **Red Neuronal Simple**, propuesto por **Frank Rosenblatt** en 1958 e inspirado en el modelo de neuronas artificiales de **McCulloch y Pitts** (1943).
---
## 📘 Descripción
El perceptrón simula el funcionamiento básico de una neurona del cerebro:
- Recibe entradas 🧾 (`x`)
- Cada entrada se multiplica por un **peso** 📊 (`w`)
- Se aplica una **función de activación** (`z = w·x + b`)
- Si el resultado supera un cierto **umbral** (`θ`), la neurona se **activa** 🔥
Este algoritmo es un **clasificador lineal binario**, usado para **aprendizaje supervisado**.
---
## ⚙️ Características
- 🐍 Implementado en **Python**
- 🎯 Realiza **clasificación binaria**
- 📈 Entrenamiento paso a paso con actualización de pesos
- 🧪 Visualización de resultados
---
## 📸 Resultados
### 🔹 Ejemplo Frontera de Decisión 1

### 🔹 Ejemplo Fronter de Decisión 2

---
## 🚀 Cómo Ejecutar
Asegúrate de tener Python 3 y las dependencias necesarias:
```bash
pip install -r requirements.txt
```
Luego ejecutas el script principal:
```bash
python main.py
```
## 📚 Referencias
- Rosenblatt, F. (1958). The Perceptron: A Probabilistic Model for Information Storage and Organization in the Brain.
- McCulloch, W. S., & Pitts, W. (1943). A Logical Calculus of the Ideas Immanent in Nervous Activity.
## ⭐ ¡Dale una estrella!
Si este proyecto te resultó útil o interesante, ¡no olvides dejar una ⭐ en el repositorio!