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 sys | |
from PIL import Image, ImageDraw | |
try: | |
import cv | |
except ImportError: | |
print 'Could not import cv, trying opencv' | |
import opencv.cv as cv |
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
<!doctype html> | |
<html> | |
<script src="http://cdn.jsdelivr.net/sockjs/0.3.4/sockjs.min.js"></script> | |
<script src="http://cdn.jsdelivr.net/syncanojs/3.1.3beta/syncano.min.js"></script> | |
<script src="http://cdn.jsdelivr.net/jquery/2.1.1/jquery.min.js"></script> | |
<head></head> | |
<body> |
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
<p id="page_description" style="display:none;">Description goes here</p> |
I hereby claim:
- I am EricSchles on github.
- I am ericschles (https://keybase.io/ericschles) on keybase.
- I have a public key whose fingerprint is 1637 964C 97D6 CD68 1118 BB38 A52B 87D4 B9A7 1826
To claim this, I am signing this object:
#Data Science Courses
##Prequiste courses
- A lite introduction to Python: https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-189-a-gentle-introduction-to-programming-using-python-january-iap-2011/
- Intro to computer science (taught in Python): https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/
- Intro to algorithms: https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-fall-2011/
##Free Books to Support introductory courses
- How to Think Like a Computer Scientist: http://www.openbookproject.net/thinkcs/python/english2e/index.html
- Learn Python the Hard way: https://learnpythonthehardway.org/book/
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://chase-seibert.github.io/blog/2016/07/22/pygithub-examples.html | |
# https://stackoverflow.com/questions/41691327/ssl-sslerror-ssl-certificate-verify-failed-certificate-verify-failed-ssl-c | |
from github import Github | |
from github import UnknownObjectException | |
import pandas as pd | |
# creating your own Github token: | |
# https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/ | |
from config import GITHUB_API_TOKEN | |
import argparse | |
import time |
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
from numpy.random import random | |
from numpy import array, isclose, zeros_like, sign | |
from numpy.linalg import lstsq | |
def solve(func, values, atol=0.1): | |
while True: | |
result = func(values) | |
if isclose(result, 0, atol=atol): | |
break | |
values -= sign(result) * random(values.size) |
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.
OlderNewer