This file contains 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
import numpy as np | |
# define the neural network architecture | |
# Input Data | |
a_0 = [1, 2] | |
inputs = a_0 | |
#Layer 1 | |
weights_1 = [[-2.0, 1.5], | |
[ 1.5, -1.0], |
This file contains 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
# http://bytefish.de/blog/first_steps_with_sqlalchemy/ | |
# https://docs.sqlalchemy.org/en/13/ | |
# https://www.sqlalchemy.org/library.html | |
# ^ if 1.3 is not current release | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy import create_engine | |
from datetime import datetime, timedelta | |
from sqlalchemy import Table, Column, Integer, String, DateTime, ForeignKey | |
from sqlalchemy.orm import relationship, backref |