https://statweb.stanford.edu/~tibs/ElemStatLearn/printings/ESLII_print10.pdf
http://greenteapress.com/thinkstats/
https://www.coursera.org/learn/machine-learning/home/welcome
http://as.wiley.com/WileyCDA/WileyTitle/productCd-111866146X.html
| APP_NAME='Pranah | Worlds No.1 AYUSH Network' | |
| APP_ENV=production | |
| APP_KEY=base64:MTvfSQxIUaSQ0WpMztUJiS8PQWNnuKeOG/TqD4MuNpk= | |
| APP_DEBUG=true | |
| APP_LOG_LEVEL=debug | |
| APP_URL=http://localhost | |
| DB_CONNECTION=pgsql | |
| DB_HOST=ec2-23-21-231-58.compute-1.amazonaws.com | |
| DB_PORT=5432 |
https://statweb.stanford.edu/~tibs/ElemStatLearn/printings/ESLII_print10.pdf
http://greenteapress.com/thinkstats/
https://www.coursera.org/learn/machine-learning/home/welcome
http://as.wiley.com/WileyCDA/WileyTitle/productCd-111866146X.html
| """ Simple Array Flatten """ | |
| import collections | |
| A = [[1, 2, [3]], 4] | |
| def flatten(elements): | |
| """ Return a list with all elements from sub list | |
| Parameter: | |
| ---------- | |
| elements: list |
| from __future__ import division | |
| import numpy as np | |
| ''' Spearman Correlation ''' | |
| x = [73, 76, 78, 65, 86, 82, 91] | |
| y = [77, 78, 79, 80, 86, 89, 95] | |
| col = [list(a) for a in zip(x, y)] | |
| xy = sorted(col, key=lambda x: x[0], reverse=True) | |
| for i, row in enumerate(xy): |
| { | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": 12, | |
| "metadata": { | |
| "collapsed": true | |
| }, | |
| "outputs": [], | |
| "source": [ |
| Statistics: | |
| https://statweb.stanford.edu/~tibs/ElemStatLearn/printings/ESLII_print10.pdf | |
| http://greenteapress.com/thinkstats/ | |
| Machine Learning | |
| https://www.coursera.org/learn/machine-learning/home/welcome | |
| http://as.wiley.com/WileyCDA/WileyTitle/productCd-111866146X.html | |
| http://shop.oreilly.com/product/0636920033400.do | |
| - Supervised |
| a = [ {name:'robin', ranking:10 }, { name: 'sam', ranking: 40 }, { name: 'binu', ranking: 12 } ]; | |
| // Using function | |
| function sort_by_key(array, key) { | |
| return array.sort(function(a, b) { | |
| var x = a[key]; var y = b[key]; | |
| return ((x < y) ? -1 : ((x > y) ? 1 : 0)); | |
| }); | |
| } |
| #! /usr/bin/env python | |
| """ | |
| Author: Bastin Robin | |
| """ | |
| import os | |
| import logging | |
| from urllib import urlencode | |
| import datetime | |
| import pandas as pd |
| people = [ | |
| { | |
| "name" : "bastinrobin", | |
| "age" : 28 | |
| }, | |
| { | |
| "name" : "samharvey", | |
| "age" : 34 | |
| }, | |
| { |