Skip to content

Instantly share code, notes, and snippets.

View coppeliaMLA's full-sized avatar

coppelia machine learning and analytics coppeliaMLA

View GitHub Profile
graph LR
    A[Tensorflow] --implements--> B[Deep neural nets]
    A --was developed by --> C[Google]
graph LR
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@coppeliaMLA
coppeliaMLA / indy_world.ipynb
Last active November 8, 2024 15:26
Indy World
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@coppeliaMLA
coppeliaMLA / python_deep_learning.md
Last active July 19, 2024 17:37
Python deep learning packages - a concept map
graph LR
    A((Keras 3)) --is a high level API for --> B((Tensorflow))
    B --was developed by-->H[Google]
    C((Pytorch)) --was developed by-->D[Meta]
    A --is a high level API for --> C
    A --is a high level API for --> F[JAX]
    F --was developed by-->H
    A --implements--> G[Deep neural nets]
 B --implements--> G
@coppeliaMLA
coppeliaMLA / middle_earth_survey.ipynb
Last active July 18, 2024 15:19
middle_earth_survey.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@coppeliaMLA
coppeliaMLA / bayesian_diff_prop.py
Last active May 24, 2024 14:10
Bayesian credible interval for the difference between two proportions
import numpy as np
import scipy.stats as stats
# Number of trials and successes for each group
n_1 = 100
x_1 = 6
n_2 = 125
x_2 = 5
# Parameters for the prior distributions
@coppeliaMLA
coppeliaMLA / bootstrap.ipynb
Last active March 15, 2022 13:08
bootstrap.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#Test imports
import urllib2, ssl, json, time, re
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.support.ui import Select
#Test urllib2
import urllib2
response = urllib2.urlopen('https://en.wikipedia.org/wiki/Test', context=ssl.SSLContext(ssl.PROTOCOL_TLSv1))
<head>
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.2.1/d3.min.js"></script>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.min.js"></script>
<style> #mapid {
height: 800px;
} </style>
</head>
<body>