Skip to content

Instantly share code, notes, and snippets.

View Uiuran's full-sized avatar
💭
Focus and Flowers

Daniel Penalva Uiuran

💭
Focus and Flowers
View GitHub Profile
'''
@Fork by Uiuran 2013
@created on Jan 17, 2010
@author: mjbommar
'''
from GraphMovie import GraphMovie
import igraph
import numpy as np
@Uiuran
Uiuran / GraphMovie.py
Last active December 15, 2015 08:59 — forked from mjbommar/GraphMovie.py
'''
@Forked by Uiuran (c) 2013
@date Feb 21, 2011
@original author: mjbommar (c) 2011
@license Simplified BSD, (C) 2011.
Free to use for non-commerical purposes. Attribution appreciated :)
'''
import igraph
@Uiuran
Uiuran / neural_net.py
Created December 8, 2012 17:49
Minimum framework for simulation of neural networks evolution and computing
""" NeuralNetwork class to arrange neurons in a topology and do dynamics """
# MinimumBrain is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# MinimumBrain is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@Uiuran
Uiuran / neuron_logistic.py
Created December 6, 2012 04:02
Logistic Neuron class
""" NeuronLogistic class to logistic neurons with logit input """
# Field input receives a dictionaire where key = number of the input unit,
# element = length 2 list with signal and synaptic weights respectively
import numpy as np
class NeuronLogistic:
def __init__(self,presynaptics):
if type(presynaptics) != dict: