Git Product home page Git Product logo

ripple_ratio_nn's Introduction

ripple_ratio_nn

This artificial neural network predicts the normalized ripple ratio, which is defined as the normalized ratio of ripple power to the low frequency power, for a network of neurons. The ripple power is the integral of power of the frequency at the peak of the power spectrum ±20 Hz. Low frequency power is the integral of power in the range [4,50] Hz.

The network of neurons from which the power spectrum was taken from Brunel and Wang (2003) and includes 4000 pyramidal neurons (p) and 1000 interneurons (i), biophysically modeled with the LIF model. Their code was modified to include DC current input to each neuron type.

This artificial neural network takes the amount of DC current as an input, and predicts the normalized ripple ratio as the output.

The code in ripple_ratio_nn.py takes normalized ripple ratio and DC current data from data/rippleratio_data.npz and uses it for both training and testing. Ripple frequencies are also used from data/additional_inputs.npz for training and testing. The ripple ratio data is randomly divided up accoring to the proprotion that the user defines to be used for training and testing (train_pct). Users can also edit the number of different training set sizes to try (dataset_sizes), for the creation of learning curves, and the number of learning iterations.

The output is a single number, which is a prediction of the normalized ripple ratio. This is then compared against the real ripple ratio (given the DC inputs to both types of neurons and the ripple frequency), plus or minus some permissable error (correct_threshold).

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.