Skip to content

lfelipecas/perceptron-AND-gate-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perceptron AND Gate Exercise

Description

This project demonstrates how to train a simple perceptron to replicate the logic of an AND gate using Python 3.9.19, numpy and matplotlib. The notebook walks through data preparation, model definition, training, and visualization.

Project Structure

  • .gitignore: This file prevents temporary files, Python cache files, environment folders (venv), and other system-generated files from being included in your Git repository.
  • Basic_Perceptron_AND_Exercise.ipynb: The main notebook that contains all code for defining, training, and visualizing the perceptron.
  • LICENSE: Provides the legal terms under which your code can be used, modified, and distributed.
  • README.md: Overview of the project, its purpose, and how to use it.
  • requirements.txt: List of Python dependencies to install for running the notebook.

Requirements

This project requires basic knowledge of:

  • Machine Learning (Perceptron basics)
  • Python programming
  • Jupyter Notebook

Installation

  1. Clone the repository:
git clone https://github.com/lfelipecas/perceptron-AND-gate-project
  1. Install the dependencies:
pip install -r requirements.txt
  1. Launch Jupyter Notebook and open Basic_Perceptron_AND_Exercise.ipynb:

Author

  • L. Felipe Castañeda G.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published