Skip to content

Instantly share code, notes, and snippets.

View QuantVI's full-sized avatar

QuantVI

View GitHub Profile
import numpy as np
from scipy.stats import norm
import matplotlib.pyplot as plt
import random as r
# Market Information
risk_free = 0.1
# Share Specific Information
S_0 = 100
@ih2502mk
ih2502mk / list.md
Last active July 17, 2024 10:13
Quantopian Lectures Saved
@kmclaugh
kmclaugh / Keras_Linear_Model.py
Last active February 4, 2021 15:13
Keras Model for a Simple Linear Function (ie Keras modeling a linear regression)
import pandas as pd
import numpy as np
import seaborn as sns
from keras.layers import Dense
from keras.models import Model, Sequential
from keras import initializers
## ---------- Create our linear dataset ---------------
## Set the mean, standard deviation, and size of the dataset, respectively