This gist has been moved to https://github.com/offchan42/machine-learning-curriculum
Please see that repository instead because you can make pull requests there and later updates will be pushed there too.
===
import cv2 | |
import numpy as np | |
from matplotlib import pyplot as plt | |
image = cv2.imread("building.jpg") | |
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) | |
horizontal_edges = cv2.filter2D(image, -1, np.array([ | |
[-1, -2, -1], | |
[ 0, 0, 0], |
===
Competitions:- | |
https://www.kaggle.com/ | |
https://www.hackerearth.com/ | |
Books:- | |
Introduction to Algorithms By Thomas H Cormen | |
Pattern Recognition and Machine Learning By Christopher M. Bishop | |
Freakonomics By Steven D. Levitt and Stephen J. Dubner |
import paramiko | |
k = paramiko.RSAKey.from_private_key_file("YOUR_PEM_FILE.pem") | |
c = paramiko.SSHClient() | |
c.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | |
c.connect( hostname = "ec2-1-1-1-1.us-west-2.compute.amazonaws.com", username = "ec2-user", pkey = k ) | |
stdin , stdout, stderr = c.exec_command("hostname") | |
print("stdout: " + stdout.read()) | |
print("stderr" + stderr.read()) |
Bigdata is like combination of bunch of subjects. Mainly require programming, analysis, nlp, MLP, mathematics. | |
To see links, Go : http://www.quora.com/What-are-some-good-sources-to-learn-big-data | |
Here are bunch of courses I came accross: | |
Introduction to CS Course | |
Notes: Introduction to Computer Science Course that provides instructions on coding. | |
Online Resources: | |
Udacity - intro to CS course, | |
Coursera - Computer Science 101 |
package main | |
import "fmt" | |
func swap(px, py *int) { | |
tempx := *px | |
tempy := *py | |
*px = tempy | |
*py = tempx | |
} |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
# pdfx usage: http://pdfx.cs.man.ac.uk/usage | |
# requests docs: http://docs.python-requests.org/en/latest/user/quickstart/#post-a-multipart-encoded-file | |
import requests # get it from http://python-requests.org or do 'pip install requests' | |
url = "http://pdfx.cs.man.ac.uk" | |
def pypdfx(filename): | |
''' | |
Filename is a name of a pdf file WITHOUT the extension | |
The function will print messages, including the status code, |
#!/usr/bin/env python | |
""" | |
Produces load on all available CPU cores | |
""" | |
from multiprocessing import Pool | |
from multiprocessing import cpu_count | |
def f(x): | |
while True: |