Giter Club home page Giter Club logo

extension-neural-network's Introduction

Extension Neural Network (ENN)

EN / CN

1. Overview

This is an extension neural network (ENN) training and testing tool designed using Python. It is primarily used to solve linear classification problems. Compared to BP neural networks, its training requires significantly less data and time, and the inference speed is extremely fast, with low memory usage. The code mainly refers to the replication of this paper:

Wang M H, Hung C P. Extension neural network and its applications[J]. Neural Networks, 2003, 16(5-6): 779-784

2. Usage Steps

2.1 Preparing the Dataset

First, collect the data according to the principle of extension neural networks. The specific format can be referred to the files in the dataset folder. Note that each line is a sample data, and each feature data is separated by spaces. The last data on each line is the class of the sample data.

2.2 Starting Training & Testing

After organizing the data, put the dataset in the dataset folder, and modify the relevant parameters in ./cfg/dataset/yaml according to your own dataset and training needs. After completing the appropriate parameter adjustments, you can run main.py to perform ENN training and testing. The specific training and testing results will be presented in the form of charts and terminal output.

3. Remarks

There is also a testBP3.py file in the code folder. Users can run this program on the same dataset to compare the training speed and accuracy of ENN and BP neural networks (ps: remember to modify the parameters after if __name__ == "__main__": in testBP3.py).

extension-neural-network's People

Contributors

zinc676 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.