Git Product home page Git Product logo

adaline_madaline_network's Introduction

Adaline and Madaline Network for Classification ๐Ÿ”๐Ÿง 

Python Machine Learning

This repository contains implementations of the Adaline (Adaptive Linear Neuron) and Madaline (Multiple Adaptive Linear Neuron) networks, showcasing foundational neural network concepts through binary classification tasks.

Features ๐ŸŒŸ

  • Adaline network implementation for binary classification with visualization of decision boundaries.
  • Madaline network implementation with multiple neurons for enhanced pattern distinction.
  • Demonstrates the use of different activation functions and learning rates.
  • Includes detailed data generation, training processes, and visualization of model training and classification results.

Setup and Installation ๐Ÿ› ๏ธ

  1. Clone the repository.
  2. Install the required Python libraries specified in requirements.txt.

Adaline Network ๐Ÿ“ˆ

  • Adaline is a simple type of single-layer neural network with weights adjusted according to the difference between the actual and predicted outputs (delta rule).
  • The code provides functions to initialize the network, perform forward propagation, and apply weight updates.

Madaline Network ๐Ÿ“Š

  • Madaline extends the Adaline by introducing multiple layers of neurons, allowing for more complex decision boundary formation.
  • The code includes the mechanism for Madaline's forward propagation, decision making, and weight updates based on the training data.

Usage ๐Ÿš€

  • To run the Adaline network: execute the Adaline training function with the desired dataset and hyperparameters.
  • For the Madaline network: initialize and run the Madaline training function, specifying the network architecture and training parameters.

Results and Evaluation ๐Ÿ“Š

  • Both implementations output graphs showing the loss over training epochs, decision boundaries, and the classification's confusion matrix.
  • The effectiveness of each model is quantified through performance metrics like accuracy and the mean squared error.

Contributing ๐Ÿค

Contributions, bug reports, and feature requests are welcome! Feel free to fork the repository, make your changes, and submit a pull request.

License ๐Ÿ“œ

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

Acknowledgements ๐Ÿ™Œ

  • The AI and neural network community for foundational theories and practices that inspire these implementations.

For more information and to view the source code, visit the GitHub repository.

adaline_madaline_network's People

Contributors

mjahmadee avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.