This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import exp, array, random, dot | |
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) | |
ts_outputs = array([[0, 0, 0, 1, 1]]).T |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import exp, array, random, dot | |
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) | |
ts_outputs = array([[0, 0, 0, 1, 1]]).T | |
#unknown input | |
unk_input = array([1, 0, 0]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import exp, array, random, dot | |
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) | |
ts_outputs = array([[0, 0, 0, 1, 1]]).T | |
#unknown input | |
un_input = array([1, 0, 0]) | |
# initialize synapse_weights | |
random.seed(1) | |
sy_weights = 2 * random.random((3,1)) - 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import exp, array, random, dot | |
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) | |
ts_outputs = array([[0, 0, 0, 1, 1]]).T | |
#unknown input | |
un_input = array([1, 0, 0]) | |
# initialize synapse_weights | |
random.seed(1) | |
sy_weights = 2 * random.random((3,1)) - 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import exp, array, random, dot | |
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) | |
ts_outputs = array([[0, 0, 0, 1, 1]]).T | |
#unknown input | |
un_input = array([1, 0, 0]) | |
# initialize synapse_weights | |
random.seed(1) | |
sy_weights = 2 * random.random((3,1)) - 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import exp, array, random, dot | |
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) | |
ts_outputs = array([[0, 0, 0, 1, 1]]).T | |
#unknown input | |
un_input = array([1, 0, 0]) | |
# initialize synapse_weights | |
random.seed(1) | |
sy_weights = 2 * random.random((3,1)) - 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import exp, array, random, dot | |
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) | |
ts_outputs = array([[0, 0, 0, 1, 1]]).T | |
#unknown input | |
un_input = array([1, 0, 0]) | |
# initialize synapse_weights | |
random.seed(1) | |
sy_weights = 2 * random.random((3,1)) - 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mysqlCommandPath = 'to be filled'; | |
$mysqldumptCommandPath = 'to be filled'; | |
$remoteDbUnsername = 'to be filled'; | |
$remoteDbPassword = 'to be filled'; | |
$remotePort = 'to be filled'; | |
$remotHost = 'to be filled'; | |
$remoteDb = 'to be filled'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import choice | |
from numpy import array, dot, random | |
# Declare activation function | |
def stepFunction(value): | |
if value <= 0: | |
return 0 | |
else: | |
return 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""" | |
" Allan MacGregor Vimrc configuration | |
""""""""""""""""""""""""""""""""""""" | |
set nocompatible | |
syntax on | |
set nowrap | |
set encoding=utf8 | |
"""" START Vundle Configuration |